On Sun, Dec 8, 2013 at 10:14 PM, Marios Makassikis
<[email protected]> wrote:
> Your /etc/mygate file can look like this :
>
> # cat /etc/mygate
> 202.249.25.1
> FE80::21B:2AFF:FEE2:A4C0%vio1
> Make sure you have net.inet6.ip6.forwarding=1 in /etc/sysctl.conf
same result with previous one.
# ndp -a
Neighbor Linklayer Address Netif Expire S Flags
2001:d30:101:624::64 0:16:3e:65:2b:b vio1 permanent R
fe80::216:3eff:fe1b:ac9c%vio0 0:16:3e:1b:ac:9c vio0 permanent R
fe80::216:3eff:fe65:2b0b%vio1 0:16:3e:65:2b:b vio1 permanent R
fe80::21b:2aff:fee2:a4c0%vio1 0:1b:2a:e2:a4:c0 vio1 23h58m10s S R
fe80::1%lo0 (incomplete) lo0 permanent R
# sysctl -a |grep forward
net.inet.ip.forwarding=1
net.inet.ip.mforwarding=0
net.inet6.ip6.forwarding=1
net.inet6.ip6.mforwarding=0
# route -n show -inet6
Routing tables
Internet6:
Destination Gateway
Flags Refs Use Mtu Prio Iface
::/104 ::1 UGRS
0 0 - 8 lo0
::/96 ::1 UGRS
0 0 - 8 lo0
default fe80::21b:2aff:fee2:a4c0%vio1 UGS
0 2 - 8 vio1
::1 ::1 UH
14 0 33144 4 lo0
::127.0.0.0/104 ::1 UGRS
0 0 - 8 lo0
::224.0.0.0/100 ::1 UGRS
0 0 - 8 lo0
::255.0.0.0/104 ::1 UGRS
0 0 - 8 lo0
::ffff:0.0.0.0/96 ::1 UGRS
0 0 - 8 lo0
2001:d30:101:624::/64 link#2 UC
0 0 - 4 vio1
# ifconfig vio0
vio0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:16:3e:1b:ac:9c
priority: 0
groups: egress
media: Ethernet autoselect
status: active
inet 202.249.25.29 netmask 0xffffffe0 broadcast 202.249.25.31
inet6 fe80::216:3eff:fe1b:ac9c%vio0 prefixlen 64 scopeid 0x1
# ifconfig vio1
vio1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:16:3e:65:2b:0b
priority: 0
groups: egress
media: Ethernet autoselect
status: active
inet6 2001:d30:101:624::64 prefixlen 64
inet6 fe80::216:3eff:fe65:2b0b%vio1 prefixlen 64 scopeid 0x2
# traceroute6 -n www.google.com
traceroute6 to www.google.com (2404:6800:4001:c01::6a) from
2001:d30:101:624::64, 64 hops max, 12 byte packets
1 * * *
2 * * *
^C
#
thanks!