FreeBSD stopped routing to Internet
Shadow Hawkins on Monday, 19 January 2009 15:47:13
I rebooted my router over the weekend so I could add a third interface. When it came back online, I found that I could no longer access the IPv6 internet from connected clients. I backed out what I had done over the weekend, but nothing changed. I'm sure it's something small I'm overlooking, but I think I've just been looking at it too long.
I can ping the IPv6 internet from my router, and it is routing internally between subnets, which leads me to believe that I have a missing/incorrect line in my routing table.
From the router:
[carl@ipv6router ~]$ ping6 ipv6.google.com
PING6(56=40+8+8 bytes) 2001:4978:f:22e::2 --> 2001:4860:b002::68
16 bytes from 2001:4860:b002::68, icmp_seq=0 hlim=58 time=63.970 ms
16 bytes from 2001:4860:b002::68, icmp_seq=1 hlim=58 time=67.814 ms
16 bytes from 2001:4860:b002::68, icmp_seq=2 hlim=58 time=65.755 ms
^C
--- ipv6.l.google.com ping6 statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 63.970/65.846/67.814/1.571 ms
Does not work from my PC:
C:\Users\cholzhauer>ping -6 ipv6.google.com
Pinging ipv6.l.google.com [2001:4860:b002::68] from 2001:4978:1d8:f000:c883:5609
:1aaf:a32f with 32 bytes of data:
Request timed out.
Request timed out.
Here is the output of ipconfig on my machine:
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2001:4978:1d8:f000:2501:5c0b:3927:f082
Temporary IPv6 Address. . . . . . : 2001:4978:1d8:f000:c883:5609:1aaf:a32f
Link-local IPv6 Address . . . . . : fe80::2501:5c0b:3927:f082%10
IPv4 Address. . . . . . . . . . . : 192.168.100.192
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : fe80::20e:cff:feda:59db%10
192.168.100.1
Here is ifconfig on the router
[carl@ipv6router ~]$ ifconfig
fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:e0:18:06:fc:23
ch 1 dma -1
fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
lladdr 0.e0.18.0.0.6.fc.23.a.2.ff.fe.0.0.0.0
fxp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:e0:18:9e:55:66
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:1b:21:2e:0f:ca
inet6 fe80::21b:21ff:fe2e:fca%em0 prefixlen 64 scopeid 0x4
inet 192.168.102.46 netmask 0xfffffe00 broadcast 192.168.103.255
inet6 2001:4978:1d8:e000:21b:21ff:fe2e:fca prefixlen 64
inet6 2001:4978:1d8:e000:: prefixlen 64 anycast
inet6 2001:4978:1d8:e000::9 prefixlen 64
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:0e:0c:da:59:db
inet6 fe80::20e:cff:feda:59db%em1 prefixlen 64 scopeid 0x5
inet 192.168.100.10 netmask 0xfffffe00 broadcast 192.168.101.255
inet6 2001:4978:1d8:f000:20e:cff:feda:59db prefixlen 64
inet6 2001:4978:1d8:f000:: prefixlen 64 anycast
inet6 2001:4978:1d8:f000::9 prefixlen 64
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
inet 127.0.0.1 netmask 0xff000000
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
inet6 fe80::2e0:1800:6:fc23%tun0 prefixlen 64 scopeid 0x8
inet6 fe80::4878:f:22e:2%tun0 prefixlen 64 scopeid 0x8
inet6 2001:4978:f:22e::2 --> 2001:4978:f:22e::1 prefixlen 128
Opened by PID 926
Here is part of the output of netstat -nr:
Internet6:
Destination Gateway Flags Netif Expire
::/96 ::1 UGRS lo0 =>
default 2001:4978:f:22e::1 UGS tun0
::1 ::1 UHL lo0
::ffff:0.0.0.0/96 ::1 UGRS lo0
2001:4978:f:22e::1 link#8 UHL tun0
2001:4978:f:22e::2 link#8 UHL lo0
2001:4978:1d8:e000:: 00:1b:21:2e:0f:ca UHL lo0 =>
2001:4978:1d8:e000::/64 link#4 UC em0
2001:4978:1d8:e000::9 00:1b:21:2e:0f:ca UHL lo0
2001:4978:1d8:e000:20c:29ff:fe00:48b5 00:0c:29:00:48:b5 UHLW em0
2001:4978:1d8:e000:216:e6ff:fe8d:d8f4 00:16:e6:8d:d8:f4 UHLW em0
2001:4978:1d8:e000:216:e6ff:fe8d:d8f5 00:16:e6:8d:d8:f5 UHLW em0
2001:4978:1d8:e000:21b:21ff:fe2e:fca 00:1b:21:2e:0f:ca UHL lo0
2001:4978:1d8:e000:2e0:81ff:fe48:f8de 00:e0:81:48:f8:de UHLW em0
2001:4978:1d8:e000:2e0:81ff:fe48:f8df 00:e0:81:48:f8:df UHLW em0
2001:4978:1d8:e000:2e0:81ff:fe48:f940 00:e0:81:48:f9:40 UHLW em0
2001:4978:1d8:e000:2e0:81ff:fe48:f941 00:e0:81:48:f9:41 UHLW em0
2001:4978:1d8:e000:41bd:d9bf:9b66:9b95 00:e0:81:75:28:26 UHLW em0
2001:4978:1d8:e000:88cb:fe1b:c4b0:92a1 00:e0:81:79:f4:c4 UHLW em0
2001:4978:1d8:f000:: 00:0e:0c:da:59:db UHL lo0 =>
2001:4978:1d8:f000::/64 link#5 UC em1
2001:4978:1d8:f000::9 00:0e:0c:da:59:db UHL lo0
2001:4978:1d8:f000:20e:cff:feda:59db 00:0e:0c:da:59:db UHL lo0
Relevant part of /etc/rc.conf:
ipv6_enable="YES"
ipv6_defaultrouter="2001:4978:f:22e::1"
ipv6_network_interfaces="em1 em0"
ipv6_gateway_enable="YES"
ipv6_ifconfig_em1="2001:4978:1d8:f000::9"
ipv6_ifconfig_em0="2001:4978:1d8:e000::9"
ipv6_prefix_em1="2001:4978:1d8:f000"
ipv6_prefix_em0="2001:4978:1d8:e000"
rtadvd_enable="YES"
rtadvd_interfaces="em1 em0"
sixxs_aiccu_enable="YES"
Even though I don't think it's needed, here's /etc/rtadvd.conf:
[carl@ipv6router ~]$ cat /etc/rtadvd.conf
em1:\
:addrs#1:addr="2001:4978:1d8:f000::":prefixlen#64:tc=ether:
em0:\
:addrs#1:addr="2001:4978:1d8:e000::":prefixlen#64:tc=ether:
FreeBSD stopped routing to Internet
Shadow Hawkins on Friday, 23 January 2009 19:37:46
I take it the variable defining the defaultrouter is wrong. You don't need a defaultrouter. Your FreeBSD system actually IS the router. AICCU should be setting the routes to your POP.
Cheers
FreeBSD stopped routing to Internet
Shadow Hawkins on Friday, 23 January 2009 21:19:24
Everything is working now...I seriously didn't do anything and it started working.
Thanks anyway
Posting is only allowed when you are logged in. |