14 messages in com.xensource.lists.xen-develRE: [Xen-devel] BUG? domu network in...
FromSent OnAttachments
Michal OstrowskiAug 30, 2005 5:23 pm 
Keir FraserAug 31, 2005 1:00 am 
Ted KaczmarekAug 31, 2005 4:44 am 
Ian PrattAug 31, 2005 5:01 am 
Michal OstrowskiAug 31, 2005 5:42 am 
Ted KaczmarekAug 31, 2005 6:11 am 
Christian LimpachAug 31, 2005 6:53 am 
Hien NguyenAug 31, 2005 7:59 am 
Ted KaczmarekAug 31, 2005 8:09 am 
Michal OstrowskiAug 31, 2005 8:23 am 
Nivedita SinghviAug 31, 2005 9:03 am 
Hien NguyenAug 31, 2005 9:56 am 
Hien NguyenAug 31, 2005 3:07 pm 
Michal OstrowskiSep 1, 2005 7:26 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [Xen-devel] BUG? domu network interface configurationActions...
From:Hien Nguyen (hie@us.ibm.com)
Date:Aug 31, 2005 3:07:17 pm
List:com.xensource.lists.xen-devel

On Wed, 2005-08-31 at 10:00 -0500, Hien Nguyen wrote:

Ian, I had the same problem, and the things worked OK when it went back to vif-bridge.

Can you elaborate on that for the less versed?

Regards, Ted

I startded dom0 with the default of bridge using. Then I created domU using filebacked VBD and static ip address. Network communication between dom0 and domU worked fine. It also worked with outside world.

But if I started dom0 using route, dom0 can communicate with outside world. Then I created the same domU above with the same static ip address. domU couldn't talk to anyone.

Here are network info on dom0 and domU:

dom0: ====

x335-hien2:/etc/sysconfig/network # ip addr list 1: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:11:25:3e:0c:66 brd ff:ff:ff:ff:ff:ff inet 9.3.189.226/24 brd 9.3.189.255 scope global eth0 inet6 fe80::211:25ff:fe3e:c66/64 scope link valid_lft forever preferred_lft forever 2: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000 link/ether 00:11:25:3e:0c:67 brd ff:ff:ff:ff:ff:ff 3: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 4: vif0.0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff 5: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 6: sit0: <NOARP> mtu 1480 qdisc noqueue link/sit 0.0.0.0 brd 0.0.0.0 7: vif1.0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff inet 169.254.1.0/32 brd 169.254.255.255 scope global vif1.0 inet6 fe80::fcff:ffff:feff:ffff/64 scope link valid_lft forever preferred_lft forever x335-hien2:/etc/sysconfig/network # ip route list 9.3.189.241 dev vif1.0 scope link src 9.3.189.226 9.3.189.0/24 dev eth0 proto kernel scope link src 9.3.189.226 169.254.0.0/16 dev eth0 scope link 127.0.0.0/8 dev lo scope link default via 9.3.189.1 dev eth0

x335-hien2:/etc/sysconfig/network # ifconfig eth0 Link encap:Ethernet HWaddr 00:11:25:3E:0C:66 inet addr:9.3.189.226 Bcast:9.3.189.255 Mask:255.255.255.0 inet6 addr: fe80::211:25ff:fe3e:c66/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15504 errors:0 dropped:0 overruns:0 frame:0 TX packets:2787 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1715230 (1.6 Mb) TX bytes:493255 (481.6 Kb) Interrupt:24

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:174 errors:0 dropped:0 overruns:0 frame:0 TX packets:174 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:17926 (17.5 Kb) TX bytes:17926 (17.5 Kb)

vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet addr:169.254.1.0 Bcast:169.254.255.255 Mask:255.255.255.255 inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:68 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:5 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5128 (5.0 Kb) TX bytes:420 (420.0 b)

x335-hien2:/etc/sysconfig/network # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 9.3.189.241 0.0.0.0 255.255.255.255 UH 0 0 0 vif1.0 9.3.189.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 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 9.3.189.1 0.0.0.0 UG 0 0 0 eth0

------------

domU: ==== x335-sles9-vm1:/etc/sysconfig/network # ip addr list 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: vif0.0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff 3: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether aa:00:00:17:12:6e brd ff:ff:ff:ff:ff:ff inet 9.3.189.241/24 brd 9.3.189.255 scope global eth0 inet6 fe80::a800:ff:fe17:126e/64 scope link valid_lft forever preferred_lft forever 5: sit0: <NOARP> mtu 1480 qdisc noqueue link/sit 0.0.0.0 brd 0.0.0.0 x335-sles9-vm1:/etc/sysconfig/network # ip route list 9.3.189.0/24 dev eth0 proto kernel scope link src 9.3.189.241 169.254.0.0/16 dev eth0 scope link 127.0.0.0/8 dev lo scope link default via 9.3.189.1 dev eth0

x335-sles9-vm1:/etc/sysconfig/network # ifconfig eth0 Link encap:Ethernet HWaddr AA:00:00:17:12:6E inet addr:9.3.189.241 Bcast:9.3.189.255 Mask:255.255.255.0 inet6 addr: fe80::a800:ff:fe17:126e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2 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:84 (84.0 b) TX bytes:914 (914.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:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:658 (658.0 b) TX bytes:658 (658.0 b)

x335-sles9-vm1:/etc/sysconfig/network # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 9.3.189.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 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 9.3.189.1 0.0.0.0 UG 0 0 0 eth0

Regards,