routing is messed up by reassignment of address

Pierre Abbat phma at bezitopo.org
Sat Nov 30 20:28:56 PST 2013


A couple of days ago my connection went down for unknown reasons. I picked up 
the satellite modem, of which one light was dark; it rebooted itself and I got 
a new range of addresses on both IPv4 and IPv6. I was able to ssh into 
zyxomma, but I could not ping anything outside this room on 4 or 6. I tried 
restarting netif, but that didn't fix it. I finally rebooted and had to manually 
change the default route in IPv6 (it was pointing to em1, which is the LAN 
side but has nothing connected), and had to do a traceroute on the laptop to 
find the next hop.

I don't have enough time to characterize it well enough to file a bug report, 
and zyxomma is not in its normal environment anyway. It's supposed to have a 
public IPv4 address on em0 and a LAN on em1 and run my he.net tunnel. Instead 
it has a shared-address-space IPv4 address and a public IPv6 address on em0 
and nothing on em1, and the boxes that are normally behind it are next to it. 
I'm compiling world in preparation for testing iwn0 tomorrow. Hopefully I'll 
move zyxomma and leopard to their usual configuration on Monday.

I ran "netstat -rn" before and after rebooting. I think the first was after I 
restarted netif; the second was after manually changing the IPv6 route.

Pierre
-- 
loi mintu se ckaji danlu cu jmaji
-------------- next part --------------
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            100.116.27.41      UGSc        1       17    em0       
100.116.27.40/29   link#1             UC          1        0    em0       
100.116.27.41      00:80:ae:25:61:ce  UHLW        3     2461    em0   1164
127.0.0.1          127.0.0.1          UH          0       27    lo0       
192.168.7          link#2             UC          1        0    em1       
192.168.7.10       link#2             UHLW        1        4    em1       

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::/96                             ::1                           UGRSc       lo0        =>
default                           fe80::222:4dff:fe84:bb20%em1  UGc         em1       
::1                               ::1                           UH          lo0       
::ffff:0.0.0.0/96                 ::1                           UGRSc       lo0       
2001:470:7:42::1                  2001:470:7:42::2              UH         gif0       
2001:470:7:42::2                  link#8                        UHL         lo0       
2001:470:8:42::/64                link#2                        UC          em1       
2001:470:8:42::2                  00:22:4d:84:bb:20             UHL         lo0       
2001:5b0:2144:3650::/64           link#1                        UC          em0       
2001:5b0:2144:3650:222:4dff:fe84:bb1d 00:22:4d:84:bb:1d             UHL         lo0       
2001:5b0:2144:3650:226:9eff:fec5:d505 00:26:9e:c5:d5:05             UHLW        em0       
2001:5b0:2144:3650:4e72:b9ff:fe7b:8dbf 4c:72:b9:7b:8d:bf             UHLW        em0       
fd0d:edc3:e12a::/64               link#1                        UC          em0       
fd0d:edc3:e12a:0:222:4dff:fe84:bb1d 00:22:4d:84:bb:1d             UHL         lo0       
fe80::/10                         ::1                           UGRSc       lo0       
fe80::%em0/64                     link#1                        UC          em0       
fe80::222:4dff:fe84:bb1d%em0      00:22:4d:84:bb:1d             UHL         lo0       
fe80::226:9eff:fec5:d505%em0      00:26:9e:c5:d5:05             UHLW        em0       
fe80::280:aeff:fe25:61ce%em0      00:80:ae:25:61:ce             UHLW        em0       
fe80::4e72:b9ff:fe7b:8dbf%em0     4c:72:b9:7b:8d:bf             UHLW        em0       
fe80::%em1/64                     link#2                        UC          em1       
fe80::222:4dff:fe84:bb20%em1      00:22:4d:84:bb:20             UHL         lo0       
fe80::%lo0/64                     fe80::1%lo0                   Uc          lo0       
fe80::1%lo0                       link#5                        UHL         lo0       
fe80::%gif0/64                    link#8                        UC         gif0       
fe80::222:4dff:fe84:bb1d%gif0     link#8                        UHL         lo0       
ff01::/32                         ::1                           U           lo0       
ff02::/16                         ::1                           UGRS        lo0       
ff02::%em0/32                     link#1                        UC          em0       
ff02::%em1/32                     link#2                        UC          em1       
ff02::%lo0/32                     ::1                           UC          lo0       
ff02::%gif0/32                    link#8                        UC         gif0       
-------------- next part --------------
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            100.116.27.41      UGSc       18        3    em0       
100.116.27.40/29   link#1             UC          1        0    em0       
100.116.27.41      00:80:ae:25:61:ce  UHLW       20       30    em0   1156
127.0.0.1          127.0.0.1          UH          0       27    lo0       
192.168.7          link#2             UC          1        0    em1       
192.168.7.10       link#2             UHLW        0        2    em1       

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::/96                             ::1                           UGRSc       lo0        =>
default                           2001:5b0:2144:3650:280:aeff:fe25:61ce UGc         em0       
::1                               ::1                           UH          lo0       
::ffff:0.0.0.0/96                 ::1                           UGRSc       lo0       
2001:470:7:42::1                  2001:470:7:42::2              UH         gif0       
2001:470:7:42::2                  link#8                        UHL         lo0       
2001:470:8:42::/64                link#2                        UC          em1       
2001:470:8:42::2                  00:22:4d:84:bb:20             UHL         lo0       
2001:5b0:2144:3650::/64           link#1                        UC          em0       
2001:5b0:2144:3650:222:4dff:fe84:bb1d 00:22:4d:84:bb:1d             UHL         lo0       
2001:5b0:2144:3650:280:aeff:fe25:61ce 00:80:ae:25:61:ce             UHLW        em0       
2001:5b0:2144:3650:4e72:b9ff:fe7b:8dbf 4c:72:b9:7b:8d:bf             UHLW        em0       
fd0d:edc3:e12a::/64               link#1                        UC          em0       
fd0d:edc3:e12a:0:222:4dff:fe84:bb1d 00:22:4d:84:bb:1d             UHL         lo0       
fe80::/10                         ::1                           UGRSc       lo0       
fe80::%em0/64                     link#1                        UC          em0       
fe80::222:4dff:fe84:bb1d%em0      00:22:4d:84:bb:1d             UHL         lo0       
fe80::280:aeff:fe25:61ce%em0      00:80:ae:25:61:ce             UHLW        em0       
fe80::4e72:b9ff:fe7b:8dbf%em0     4c:72:b9:7b:8d:bf             UHLW        em0       
fe80::%em1/64                     link#2                        UC          em1       
fe80::222:4dff:fe84:bb20%em1      00:22:4d:84:bb:20             UHL         lo0       
fe80::%lo0/64                     fe80::1%lo0                   Uc          lo0       
fe80::1%lo0                       link#5                        UHL         lo0       
fe80::%gif0/64                    link#8                        UC         gif0       
fe80::222:4dff:fe84:bb1d%gif0     link#8                        UHL         lo0       
ff01::/32                         ::1                           U           lo0       
ff02::/16                         ::1                           UGRS        lo0       
ff02::%em0/32                     link#1                        UC          em0       
ff02::%em1/32                     link#2                        UC          em1       
ff02::%lo0/32                     ::1                           UC          lo0       
ff02::%gif0/32                    link#8                        UC         gif0       


More information about the Users mailing list