[Swan-dev] gdb in test suite's virtual machines

Paul Wouters paul at nohats.ca
Wed Feb 26 15:04:40 EET 2014


On Wed, 26 Feb 2014, D. Hugh Redelmeier wrote:

> Unfortunately NIC itself doesn't seem to have internet access:
>
>    [root at nic ~]# route -n
>    Kernel IP routing table
>    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>    1.2.3.0         0.0.0.0         255.255.255.0   U     0      0        0 eth0
>    169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
>    169.254.0.0     0.0.0.0         255.255.0.0     U     1003   0        0 eth1
>    169.254.0.0     0.0.0.0         255.255.0.0     U     1004   0        0 eth2
>    169.254.0.0     0.0.0.0         255.255.0.0     U     1005   0        0 eth3
>    192.0.1.0       192.1.2.45      255.255.255.0   UG    0      0        0 eth0
>    192.0.2.0       192.1.2.23      255.255.255.0   UG    0      0        0 eth0
>    192.1.2.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
>    192.1.3.0       0.0.0.0         255.255.255.0   U     0      0        0 eth1
>    192.1.4.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
>    192.9.4.0       0.0.0.0         255.255.255.0   U     0      0        0 eth2
>    192.168.234.0   0.0.0.0         255.255.255.0   U     0      0        0 eth3
>    [root at nic ~]#

It looks like it is missing a default route from the dhcp on eth3?
Weird....

route add default gw 192.168.234.1 will fix that. Perhaps the dhcp info
on the "swandefault" network is supposed to contain a default gw option?

Paul


More information about the Swan-dev mailing list