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

Re: [Xen-users] Multiple physical interfaces problems



Andrew McGlashan wrote:

A long and detailed description of the setup, but not what the problem is !

What am I missing here?

What isn't working ?

I have spotted one fundamental error, which is one I've made in the past :-/ And I recall scratching my head for ages until I took a tea break, and when I came back the penny dropped.


Dom0

Destination  Gateway       Genmask       Flags  MSS Window irtt Iface
192.168.1.0  0.0.0.0       255.255.255.0 U        0 0         0 eth0
192.168.2.0  0.0.0.0       255.255.255.0 U        0 0         0 eth1
192.168.3.0  192.168.2.1   255.255.255.0 UG       0 0         0 eth0
0.0.0.0      192.168.1.254 0.0.0.0       UG       0 0         0 eth1

I'm guessing that Dom0 can communicate with devices in the 192.168.1.0/24 and 192.168.2.0/24 networks, but not those on the wider internet or 192.168.3.0/24 ?
The routes for the latter are on the wrong interfaces :
The default gateway of 192.168.1.254 is reachable via eth0, not eth1.
The router 192.168.2.1 is reachable via eth1, not eth0.

DomU

Destination  Gateway       Genmask       Flags  MSS Window irtt Iface
192.168.1.0  0.0.0.0       255.255.255.0 U        0 0         0 eth1
192.168.2.0  0.0.0.0       255.255.255.0 U        0 0         0 eth0
192.168.3.0  192.168.2.1   255.255.255.0 UG       0 0         0 eth1
0.0.0.0      192.168.1.254 0.0.0.0       UG       0 0         0 eth0

Ditto except eth0 and eth1 appear to be swapped round.
But this is inconsistent with other information provided :
vif         = [
                  'mac=00:16:3E:24:79:D6, bridge=eth0',
                  'mac=00:16:3E:24:79:D7, bridge=eth1',
              ]
This suggests that DomU eth0 should be connected to the eth0 host bridge, and similarly for eth1.

DomU

eth0  Link encap:Ethernet  HWaddr 00:16:3e:24:79:d6
      inet addr:192.168.1.201  Bcast:192.168.1.255  Mask:255.255.255.0
      inet6 addr: fe80::216:3eff:fe24:79d6/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth1  Link encap:Ethernet  HWaddr 00:16:3e:24:79:d7
      inet addr:192.168.2.201  Bcast:192.168.2.255  Mask:255.255.255.0
      inet6 addr: fe80::216:3eff:fe24:79d7/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
This backs that up.

So both of those are inconsistent with the DomU routing table shown.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

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


 


Rackspace

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