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

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 192.168.5.2)
> >
> > 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:192.168.5.2  Bcast:192.168.5.255  Mask:255.255.255.0

> # ifconfig vif1.0 192.168.5.1 pointopoint 192.168.5.2 up

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


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

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.


Try 
ifconfig eth0 addr:192.168.1.100

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 192.168.5.2' and 'ifconfig vif1.0 192.168.5.1' would
probably be sufficent. Nicholas


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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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