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] xen network problen domU

On Tue, Dec 22, 2009 at 8:57 PM, 박은병 <peb1611@xxxxxxxxx> wrote:
> #ifconfig -a (dom0)
> eth0      Link encap:Ethernet  HWaddr 00:16:cb:a5:dd:66
>           inet addr:147.46.125.xx Bcast:147.46.125.255  Mask:255.255.255.0

> # ifconfig -a (domU)
> eth0      Link encap:Ethernet  HWaddr 00:16:3e:1f:4f:46
>           inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0

> and my domU configuration file

>       vif = [ 'bridge=eth0' ]
>       ip = "192.168.0.101"
>       netmask= "255.255.255.0"
>       gateway = "192.168.0.1"

> I can found similar problem on internet, but I don't understand why does
> hoster's bridged setup is problematic.

First of all, are you using bridged setup or routed setup? If you use
bridge, you wouldn't need to specify ip, netmask, or gateway on domU
config file. Also, if using bridges setup, dom0 bridge IP address (in
your case it's called eth0) should be on the same segment as domU's
network interface. You're using two different segments.

-- 
Fajar

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

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