 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] eth0 on dom0 not working on a bridged conf
 Here I'll paste some output that explains the problem in command line language (my English is not better than my cli): 172.30.1.16 is the IP for my dom0 172.30.1.81 is the IP for a domU 172.30.1.11 is the IP of an outer machine Thanks ----------------------- blade06:~/debug# echo blade06 is dom0 with ip 172.30.1.16 blade06 is dom0 with ip 172.30.1.16 blade06:~/debug# uname -aLinux blade06 2.6.18-6-xen-686 #1 SMP Mon Aug 18 12:56:50 UTC 2008 i686 GNU/Linu 
x
blade06:~/debug# ethtool peth0
Settings for peth0:
       Supported ports: [ FIBRE ]
       Supported link modes:   1000baseT/Full
       Supports auto-negotiation: Yes
       Advertised link modes:  1000baseT/Full
       Advertised auto-negotiation: Yes
       Speed: 1000Mb/s
       Duplex: Full
       Port: FIBRE
       PHYAD: 2
       Transceiver: internal
       Auto-negotiation: on
       Supports Wake-on: d
       Wake-on: d
       Link detected: yes
blade06:~/debug# ethtool eth0
Settings for eth0:
       Link detected: yes
blade06:~/debug# echo test is domU with ip 172.30.1.81
test is domU with ip 172.30.1.81
blade06:~/debug# xm create /etc/xen/test.cfg
Using config file "/etc/xen/test.cfg".
Started domain test
blade06:~/debug#
blade06:~/debug# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:5E:DA:3A:A2 
         inet addr:172.30.1.16  Bcast:172.30.1.255  Mask:255.255.255.0
         inet6 addr: fe80::214:5eff:feda:3aa2/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:131000 errors:0 dropped:0 overruns:0 frame:0
         TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:24570068 (23.4 MiB)  TX bytes:7006 (6.8 KiB)
lo        Link encap:Local Loopback 
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:19 errors:0 dropped:0 overruns:0 frame:0
         TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:1888 (1.8 KiB)  TX bytes:1888 (1.8 KiB)
peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF 
         inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
         UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
         RX packets:131859 errors:0 dropped:175 overruns:0 frame:0
         TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:25159976 (23.9 MiB)  TX bytes:9718 (9.4 KiB)
         Interrupt:19 Memory:da000000-da011100
vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF 
         inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
         UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
         RX packets:107 errors:0 dropped:0 overruns:0 frame:0
         TX packets:131000 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:7006 (6.8 KiB)  TX bytes:24570068 (23.4 MiB)
vif3.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF 
         inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
         UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
         RX packets:7 errors:0 dropped:0 overruns:0 frame:0
         TX packets:155 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:412 (412.0 b)  TX bytes:27862 (27.2 KiB)
xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF 
         inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
         UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
         RX packets:108269 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:11043361 (10.5 MiB)  TX bytes:0 (0.0 b)
blade06:~/debug# /etc/xen/scripts/network-bridge status
============================================================
6: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc noqueue
   link/ether 00:14:5e:da:3a:a2 brd ff:ff:ff:ff:ff:ff
   inet 172.30.1.16/24 brd 172.30.1.255 scope global eth0
   inet6 fe80::214:5eff:feda:3aa2/64 scope link
      valid_lft forever preferred_lft forever
13: xenbr0: <BROADCAST,NOARP,UP,10000> mtu 1500 qdisc noqueue
   link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff
   inet6 fe80::200:ff:fe00:0/64 scope link
      valid_lft forever preferred_lft forever
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif0.0
                                                       peth0
                                                       vif3.0
172.30.1.0/24 dev eth0  proto kernel  scope link  src 172.30.1.16
default via 172.30.1.1 dev eth0
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface172.30.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 172.30.1.1 0.0.0.0 UG 0 0 0 eth0 ============================================================ blade06:~/debug# ping 172.30.1.81 PING 172.30.1.81 (172.30.1.81) 56(84) bytes of data. 64 bytes from 172.30.1.81: icmp_seq=1 ttl=64 time=4.01 ms 64 bytes from 172.30.1.81: icmp_seq=2 ttl=64 time=0.058 ms 64 bytes from 172.30.1.81: icmp_seq=3 ttl=64 time=0.055 ms 64 bytes from 172.30.1.81: icmp_seq=4 ttl=64 time=0.045 ms --- 172.30.1.81 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3000ms rtt min/avg/max/mdev = 0.045/1.043/4.014/1.715 ms blade06:~/debug# echo 172.30.1.11 is a working machine 172.30.1.11 is a working machine blade06:~/debug# ping 172.30.1.11 PING 172.30.1.11 (172.30.1.11) 56(84) bytes of data. From 172.30.1.16 icmp_seq=2 Destination Host Unreachable From 172.30.1.16 icmp_seq=3 Destination Host Unreachable From 172.30.1.16 icmp_seq=4 Destination Host Unreachable From 172.30.1.16 icmp_seq=6 Destination Host Unreachable From 172.30.1.16 icmp_seq=7 Destination Host Unreachable From 172.30.1.16 icmp_seq=8 Destination Host Unreachable --- 172.30.1.11 ping statistics --- 8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7000ms , pipe 3 blade06:~/debug# xm console testLinux version 2.6.18-6-xen-686 (Debian 2.6.18.dfsg.1-22etch2) (dannf@xxxxxxxxxx) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Mon Aug 18 1 2:56:50 UTC 2008 [... cut ...] Debian GNU/Linux 4.0 test tty1 test login: root Password: Last login: Wed Sep 3 22:48:23 2008 on tty1 Linux test 2.6.18-6-xen-686 #1 SMP Mon Aug 18 12:56:50 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. test:~# ifconfigeth0 Link encap:Ethernet HWaddr 00:16:3E:A4:65:F2 inet addr:172.30.1.81 Bcast:172.30.1.255 Mask:255.255.255.0 
         inet6 addr: fe80::216:3eff:fea4:65f2/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:1350 errors:0 dropped:0 overruns:0 frame:0
         TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:246689 (240.9 KiB)  TX bytes:986 (986.0 b)
lo        Link encap:Local Loopback 
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  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)
test:~# ping 172.30.1.16
PING 172.30.1.16 (172.30.1.16) 56(84) bytes of data.
64 bytes from 172.30.1.16: icmp_seq=1 ttl=64 time=0.161 ms
64 bytes from 172.30.1.16: icmp_seq=2 ttl=64 time=0.047 ms
64 bytes from 172.30.1.16: icmp_seq=3 ttl=64 time=0.048 ms
--- 172.30.1.16 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.047/0.085/0.161/0.054 ms
test:~# ping 172.30.1.11
PING 172.30.1.11 (172.30.1.11) 56(84) bytes of data.
64 bytes from 172.30.1.11: icmp_seq=1 ttl=64 time=1.75 ms
64 bytes from 172.30.1.11: icmp_seq=2 ttl=64 time=0.190 ms
64 bytes from 172.30.1.11: icmp_seq=3 ttl=64 time=0.181 ms
64 bytes from 172.30.1.11: icmp_seq=4 ttl=64 time=0.191 ms
64 bytes from 172.30.1.11: icmp_seq=5 ttl=64 time=0.182 ms
--- 172.30.1.11 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.181/0.499/1.755/0.628 ms
test:~# echo ctrl-5 back to dom0
ctrl-5 back to dom0
test:~# blade06:~/debug#
blade06:~/debug# tshark -i eth0 ether host 00:14:5e:da:3a:a2 &
[1] 5312
blade06:~/debug# Capturing on eth0
blade06:~/debug# ping 172.30.1.11
PING 172.30.1.11 (172.30.1.11) 56(84) bytes of data.
0.000000 Ibm_da:3a:a2 -> Broadcast    ARP Who has 172.30.1.11?  Tell 
172.30.1.16
 1.000052 Ibm_da:3a:a2 -> Broadcast    ARP Who has 172.30.1.11?  Tell 
172.30.1.16
 2.000115 Ibm_da:3a:a2 -> Broadcast    ARP Who has 172.30.1.11?  Tell 
172.30.1.162.275367 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 2.275379 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 2.275381 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 3.008186 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 4.008247 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 5.008311 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 6.008372 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 7.008435 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request --- 172.30.1.11 ping statistics --- 8 packets transmitted, 0 received, 100% packet loss, time 7011ms blade06:~/debug# echo now I ping from 172.30.1.11 now I ping from 172.30.1.11blade06:~/debug# 51.857666 Ibm_da:3a:a2 -> Ibm_b5:0d:90 ARP 172.30.1.16 is at 0 0:14:5e:da:3a:a299.859600 Ibm_da:3a:a2 -> Ibm_b5:0d:90 ARP 172.30.1.16 is at 00:14:5e:da:3a:a2 blade06:~/debug# fg tshark -i eth0 ether host 00:14:5e:da:3a:a2 13 packets captured )blade06:~/debug# tshark -i eth0 ether host 00:14:5e:da:3a:a2 & [1] 5319 blade06:~/debug# Capturing on peth0 blade06:~/debug# ping 172.30.1.11 PING 172.30.1.11 (172.30.1.11) 56(84) bytes of data. 0.000000 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request0.008605 Ibm_da:3a:a2 -> Ibm_b5:0d:90 ARP 172.30.1.16 is at 00:14:5e:da:3a:a2 1.010570 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 2.010635 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 3.010700 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 4.010759 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 5.010824 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request 6.010886 172.30.1.16 -> 172.30.1.11 ICMP Echo (ping) request --- 172.30.1.11 ping statistics --- 7 packets transmitted, 0 received, 100% packet loss, time 6010ms blade06:~/debug# echo now I ping from 172.30.1.11 now I ping from 172.30.1.11blade06:~/debug# 32.170000 Ibm_da:3a:a2 -> Ibm_b5:0d:90 ARP 172.30.1.16 is at 00:14:5e:da:3a:a2 blade06:~/debug# fg tshark -i peth0 ether host 00:14:5e:da:3a:a2 9 packets captured _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |