RE: [Xen-devel] RE: new /etc/xen/network script

Zhai, Edwin
2005-08-17T13:30:15Z

*********  my log for "ifdown eth0"************
[root@vt-edwin ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0C:F1:FE:4C:5B
          inet addr:172.16.219.40  Bcast:172.16.219.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:549 errors:0 dropped:0 overruns:0 frame:0
          TX packets:609 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:45029 (43.9 KiB)  TX bytes:439428 (429.1 KiB)
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1168 (1.1 KiB)  TX bytes:1168 (1.1 KiB)
veth0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@vt-edwin ~]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.16.219.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         0 0          0 eth0
0.0.0.0         172.16.219.241  0.0.0.0         UG        0 0          0 eth0

[root@vt-edwin ~]# ifdown eth0

[root@vt-edwin ~]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface

[root@vt-edwin ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0C:F1:FE:4C:5B
          inet addr:172.16.219.40  Bcast:172.16.219.255  Mask:255.255.255.0
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:771 errors:0 dropped:0 overruns:0 frame:0
          TX packets:651 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:68492 (66.8 KiB)  TX bytes:444728 (434.3 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1168 (1.1 KiB)  TX bytes:1168 (1.1 KiB)

veth0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

****info after xend start******
xend.log pls. see attachent file.

[root@vt-edwin log]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.16.219.0    0.0.0.0         255.255.255.0   U         0 0          0 peth0
172.16.219.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         0 0          0 eth0
0.0.0.0         172.16.219.241  0.0.0.0         UG        0 0          0 peth0

peth0 shold not in the route table.

Nivedita Singhvi <mailto:nsnix@comcast.net> scribbled on 2005年8月17日 20:35:

> Zhai, Edwin wrote:
>> mylog as your request
>> ifconfig
>> netstat -rn
>> ifdown eth0
>> netstat -rn
>> ifconfig
>>
>
> Edwin, could you post your ifconfig -a output
> (which displays *all* interfaces, even those currently
>  in DOWN state)?
>
> Also, if you are able to test on a xen box, could
> you run through the xend start and see the output
> of network-bridge in xend.log and also check netstat -rn
> at the end?
>
> thanks,
> Nivedita