Nivis Versa Router 1100 Titan - User Guide
v1.2
Page 105 of 111
6.1.4
PC-to-device IPv6 communication for Linux user, non-VPN based
The non-VPN based connectivity will only work if the PC can communicate directly via IPv4 with the NMS (the
NMS IPv4 is visible to the PC)
6.1.4.1
Setup Linux/NMS IPv6 communication non-VPN-based
1.
Test IPv4 connection with NMS
a.
On
NMS
, use
ifconfig
to get the remote(NMS) IPv4 address (<
server_IPv4
>), for example
10.32.4.233
b.
On
Windows PC
, test the connectivity with NMS:
i.
ping <
server_IPv4
>
2.
Prepare to connect to NMS from remote user machine:
a.
On PC client, use
ipconfig
command to get the local IPv4 address: <
client_IPv4
>, for example
10.32.4.17
b.
Compute the IPv6 address <
client_IPv6
> based on client IPv4 address, using FD00 as prefix, and
<
client_IPv4
>
converted to hex as postfix. For example:
i.
Computed IPv6: FD00::
0A20:0411
1.
FD00 is a MUST
2.
0A20:0483
is
10.32.4.17
converted to hex
3.
Connect to NMS:
a.
On
client
Linux PC
: create 6in4 tunnel
i.
sudo ip tunnel add remote_user_tunn mode sit local <
client_IPv4
> remote
<
server_IPv4
>
ii.
sudo ip addr add <
client_IPv6
>/128 dev remote_user_tunn
iii.
sudo ip route add ::/0 dev remote_user_tunn
iv.
sudo ip link set dev remote_user_tunn up
b.
O
n NMS:
create route to remote user machine
i.
sudo ip route add <
client_ IPv6
>/128 via ::<
client_ IPv4
>
Example
using the variables chosen above:
a.
On
client Linux PC
(on administrator console): create 6in4 tunnel
i.
sudo ip tunnel add remote_user_tunn mode sit local 10.185.0.17 remote 10.185.0.1
ii.
sudo ip addr add FD00::0A20:0411/128 dev remote_user_tunn
iii.
sudo ip route add ::/0 dev remote_user_tunn
iv.
sudo ip link set dev remote_user_tunn up
b.
O
n NMS:
create route to remote user machine
i.
sudo ip route add FD00::0A20:0411/128 via ::10.185.0.17