Re: [Xen-users] Newbie network configuration
On 12/10/2009 9:39 AM, jonas kellens wrote:
that would depend on how you want to use the host and whether or not
your ISP will allow you two IP addresses. if you don't want the host to
be accessible from that network then you don't want an IP address on it.
Question : does my physical eth0 need an IP-address ??
Initially my physical eth0 has an IP-address, but the
bridge xenbr0 does not !
this due to how older version of xen did their default networking. (i
am making the assumption it is an older version or a distro modified
one that maintains older behaviour). see
http://wiki.xensource.com/xenwiki/XenNetworking . the default is that
the physical device is renamed to peth0 and attached to a bridge,
xenbr0. that bridge is just a layer 2 switch. on the other end of the
switch, vif0.0 gets attached which is just the other end of a virtual
wire for veth0. veth0 is then renamed to eth0.
I always do :
this might not be needed but again depends on how you want to use the
host and whether you can use multiple IP addresses from your ISP. the
networking is getting set up so that there is a switch attached to eth0
and so multiple things can have IP addresses on it just like on any
other layer 2 switch.
[root@xen ~]# ifconfig eth0
so that the endian-vm can achieve an IP address from the ISP in stead
of the physical interface eth0 (and so dom0).
I have changed the configuration :
vif = [ 'type=ioemu,
This is the result :
[root@xen ~]# xm create
Using config file
Started domain endian
This is good !
anything in `xm dmesg` or have you tried doing `xm create -c
/etc/xen/endian.cfg`. the second command will immediately connect to
the console of the vm after it is started. hopefully you will find some
clues there. this part is probably unrelated to the networking issues.
[root@xen ~]# xm list
ID Mem(MiB) VCPUs State Time(s)
0 3465 2 r----- 432.5
Endian is not listed here ?!
Xen-users mailing list