Nivis Versa Router 1100 Titan - User Guide
v1.2
Page 103 of 111
6.1.3.3
Setup Linux/NMS IPv6 communication VPN-based
1.
Prepare to connect to NMS from Windows PC:
a.
Use
ipconfig
command to get the local VPN IPv4 address: <
client_VPN_IPv4
>, for example
10.185.0.38
b.
The server (NMS) VPN IPv4 address <
server_VPN_IPv4
> is known, configured by default as:
10.185.0.1
c.
Compute the IPv6 address <
client_VPN_IPv6
> based on client VPN
IPv4 address, using FD00 as
prefix, and <
client_VPN_IPv4
>
converted to hex as postfix. For example:
i.
Computed IPv6: FD00::
0AB9:0026
1.
FD00 is a MUST
2.
0AB9:000E
is
10.185.0.38
converted to hex
2.
Connect to NMS:
a.
On
client
Linux PC
: create 6in4 tunnel
i.
sudo ip tunnel add remote_user_tunn mode sit local <
client_VPN_IPv4
> remote
<
server_VPN_IPv4
>
ii.
sudo ip addr add <
client_VPN_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_VPN_IPv6
>/128 via ::<
client_VPN_IPv4
>
Example
using the variables chosen above:
b.
On
client Linux PC
(on administrator console): create 6in4 tunnel
i.
sudo ip tunnel add remote_user_tunn mode sit local 10.185.0.38 remote 10.185.0.1
ii.
sudo ip addr add FD00::0AB9:0026/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
a.
O
n NMS:
create route to remote user machine
i.
sudo ip route add FD00::0AB9:0026/128 via ::10.185.0.38
NOTE
All configurations are preserved if the OpenVPN Client is restarted
6.1.3.4
Test Linux PC/NMS IPv6 communication
1.
Select an address of an already connected Edge Router or Smart Object as destination (ex.
2012:0:0:2::00fa:0162):
a.
ping6 2012:0:0:2::00fa:0162