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

[Xen-devel] veth0 problems and network-route



Hi,

After working on something else for a while, it is the time that I have to
solve the network problem wrt dom0 and domU.

I posted some emails about this problem before but it got overwhelmed. So
I re-post it here:
I am using AS4 linux with broadcom tg3 gigabit ethernet.

1) I am using the newest code in xen-unstable. Everything works smoothly
until I call 'xend start'. After that the network traffic just dies. I've
looked at the ifconfig before and after xend start, every seems normal:
veth0 gets the ip and mac address from eth0. And eth0's Mac is set to
fe:ff:ff:ff:ff:ff. xen-br0 is created and vif0.0 and veth0 is attached to
it. Actually I should say that it is exactly the same sympton as bug 62 in
your bugzilla. Is that problem solved? Am I miss something?


2) I stuck it there for some while. Then I find there is another path in
the network script:
else
        transfer_addrs ${netdev} ${bridge}
        transfer_routes ${netdev} ${bridge}
fi
I believe this is the old way to setup network in xen-2.0 (are they?).
Anyway, I try to go through that path and things seem going fine. I can
start domU and domU even gets its ip address from dhcp. Both domU and dom0
can connect outside. But domU and dom0 just cannot talk to each other!
They can ping each other but ssh and socket doesn't work...
Following is ifconfig of domU (to save space, I only copy the address
lines):
eth0      Link encap:Ethernet  HWaddr AA:00:00:00:00:11
          inet addr:9.2.72.107  Bcast:9.2.72.127  Mask:255.255.255.128
lo        Link encap:Local Loopback
          inet addr:1 overr27.0.0.1  Mask:255.0.0.0
And the dom0:
eth0      Link encap:Ethernet  HWaddr 00:0D:60:9A:15:60
          inet addr:9.2.72.112  Bcast:9.2.72.127  Mask:255.255.255.128
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
xen-br0   Link encap:Ethernet  HWaddr 00:0D:60:9A:15:60
          inet addr:9.2.72.112  Bcast:9.2.72.127  Mask:255.255.255.128
And the output of 'netstat -nr' in dom0:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt  Iface
9.2.72.0        0.0.0.0         255.255.255.128 U         0 0          0 xen-br0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
0.0.0.0         9.2.72.1        0.0.0.0         UG        0 0          0 xen-br0

Do you have any idea what is happening? And if you need more information
please suggest me.

Thank you very much!

Regards,
Wei Huang

774 Dreese Lab, 2015 Neil Ave,
Dept. of Computer Science and Engineering
Ohio State University
OH 43210
Tel: (614)292-8501




_______________________________________________
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®.