[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ipv6 routes



Did something change in the way you set a default ipv6 route between nov 19th and now?

After upgrading to the dec 5 snapshot, i'm getting this:
# route -n add -inet6 default 3FFE:1200:3028:FF01::4b14
writing to routing socket: No such process
add net default: gateway 3FFE:1200:3028:FF01::4b14: not in table

i'm using hurricane electric's ipv6 tunnel, and have this in /etc/hostname.gif0:
$ cat /etc/hostname.gif0
giftunnel 208.156.63.20 64.71.128.26
inet6 3FFE:1200:3028:FF01::4b15 3FFE:1200:3028:FF01::4b14 prefixlen /127
!/sbin/route -n add -inet6 default 3FFE:1200:3028:FF01::4b14


this worked properly before. now, it just configures the gif0 interface, but the route command fails.

any other information i can provide? did the syntax change in some subtle way? thanks in advance.

output of route -n show:

$ route -n show
Routing tables

Internet:
Destination      Gateway            Flags
default          208.156.63.1       UG
10.0.0.0         link#2             U
10.0.0.2         0:30:65:53:21:6e   UH
127.0.0.0        127.0.0.1          UG
127.0.0.1        127.0.0.1          UH
208.156.63.0     link#1             U
208.156.63.1     0:6:d7:42:f5:50    UH
208.156.63.20    127.0.0.1          UGH
224.0.0.0        127.0.0.1          U

Internet6:
Destination      Gateway            Flags
default          ::1                UG
default          ::1                UG
::1              ::1                UH
::127.0.0.0      ::1                UG
::224.0.0.0      ::1                UG
::255.0.0.0      ::1                UG
::ffff:0.0.0.0   ::1                UG
2002::           ::1                UG
2002:7f00::      ::1                UG
2002:e000::      ::1                UG
2002:ff00::      ::1                UG
3ffe:1200:3028:ff01::4b15 ::1                UH
fe80::           ::1                UG
fe80::%fxp0      link#1             U
fe80::%fxp1      link#2             U
fe80::%lo0       fe80::1%lo0        U
fe80::%gif0      link#18            U
fe80::2e0:81ff:fe01:b50%gif0 ::1                UH
fe80::%gif1      link#19            U
fe80::2e0:81ff:fe01:b50%gif1 ::1                UH
fec0::           ::1                UG
ff01::           ::1                U
ff02::%fxp0      link#1             U
ff02::%fxp1      link#2             U
ff02::%lo0       fe80::1%lo0        U
ff02::%gif0      link#18            U
ff02::%gif1      link#19            U


entries in /etc/sysctl.conf:
net.inet.ip.forwarding=1 # 1=Permit forwarding (routing) of packets
net.inet6.ip6.forwarding=1 # 1=Permit forwarding (routing) of packets
net.inet6.ip6.accept_rtadv=0 # 1=Permit IPv6 autoconf (forwarding must be 0)
net.inet.esp.enable=0 # 0=Disable the ESP IPsec protocol
net.inet.ah.enable=0 # 0=Disable the AH IPsec protocol


--
Clay Caviness
mailto:clay_(_at_)_boobah_(_dot_)_com
http://boobah.com/clay/



Visit your host, monkey.org