WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Multiple physical interfaces problems

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Multiple physical interfaces problems
From: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Date: Sat, 12 Mar 2011 17:47:52 +0000
Delivery-date: Sat, 12 Mar 2011 09:49:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D7BACC6.8000705@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4D7BACC6.8000705@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>