Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

You will do some basic configuration of routing on computer A and of the tun interface on computer B.

Image Added

On computer A

Configure the IPv4 and IPv6 routes to the networks handled by the tun interface of computer B:

Code Block
# add IPv4 route to 10.2.0.0/255.255.0.0 network
route ADD 10.2.0.0 MASK 255.255.0.0 10.1.0.2

# add IPv6 route to bbbb::/64 network
netsh interface ipv6 add route bbbb::/64 "IEEE802.3" aaaa::2

On computer B

Use the netsh command to set the IPv4 and IPv6 addresses of your tun interface.

...

Code Block
netsh interface ipv6 delete route bbbb::/64 OpenWSN
netsh interface ipv6 add    route bbbb::/64 OpenWSN fe80::8

 

Finally, configure routing on computer A:

Code Block
# add IPv4 route to 10.2.0.0/255.255.0.0 network
route ADD 10.2.0.0 MASK 255.255.0.0 10.1.0.2

# add IPv6 route to bbbb::/64 network
netsh interface ipv6 add route bbbb::/64 "IEEE802.3" aaaa::2