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/
Home Products Support Community News


Re: [Xen-devel] Networking problems with debian packages

On Thu, Mar 03, 2005 at 10:14:44PM +0100, Christian Wicke wrote:
> > > But I still cannot ping to the domU. After
> > > # xm create -f speedyU.conf
> > > ifconfig shows an interface vif1.0, but nowhere anything with 192.168.5.
> > > (I configured my domU to
> >
> > vif1.0 is just the p-t-p link for the tun device on the host side.
> >
> > Set the ip address in the guest on eth0.
> I think I did:
> speedyU:~# ifconfig
> eth0      Link encap:Ethernet  HWaddr AA:00:00:75:E8:9F
>           inet addr:  Bcast:  Mask:

> # ifconfig vif1.0 pointopoint up

> xen-br0   Link encap:Ethernet  HWaddr 00:00:E2:7D:84:FA
>           inet addr:  Bcast:  Mask:

I think you are confused. Trying to use a routed setup with a bridged

Please send though 'brctl show xen-br0'. However I suspect you need to
think like this.

In the bridged setup xen-br0 acts in two ways. As a virtual interface on
the host machine taking over the eth? role of provide an NIC interface
to the application layer. Second, as a virtual switch which other
interfaces on the host can plug into.

vif1.0 should have no IP in a bridged setup. It should only be connected
to the xen-br0 bridge. Packets from eth0 in domU go though the tun p-t-p
tunnel and hit the xen-br0 bridge. So eth0 on domU should be on the same
sbunet as xen-br0 on domO.

ifconfig eth0 addr:

on domU.

I haven't tested this myself, but I assume in a routed setup vif1.0 and
eth0 are more like two networks cards with a crossover. In this case
you'd ignore the 'pointopoint' part of the configuration for vif1.0.

'ifconfig eth0' and 'ifconfig vif1.0' would
probably be sufficent. Nicholas


SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Xen-devel mailing list