[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] BUG? domu network interface configuration



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.
> 
> Hien Nguyen
> 
> 
>> 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,

 Hien Nguyen
 Linux Technology Center             AUSTIN
 Phone: (512) 838-4140            Tie Line: 678-4140
 e-mail: hien1@xxxxxxxxxx



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.