|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Problem with bridged network
Hi,
Am Donnerstag, den 01.10.2009, 01:12 +0400 schrieb Andrey Ovcharov:
> dom0:
>
> # ifconfig
> et...
Do not publish your ips ;-)
......
> # cat centos
> bootloader = "/usr/bin/pygrub"
> memory = 256
> name = "centos"
> vif = [ 'bridge=xenbr0' ]
> disk = ['file:/srv/vm/centos.5-3.x86-64.img,sda1,w',
> 'file:/srv/vm/swap512.img,sda2,w']
> root = "/dev/sda1"
> extra = "fastboot"
Looks good
>
> And on domU:
>
> # cat /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> #BOOTPROTO=dhcp
> BOOTPROTO=static
> ONBOOT=yes
> TYPE=Ethernet
> IPADDR=188.40.117.56
> NETMASK=255.255.255.255
This Netmask is /32 which consists of only ONE Host.
>
> # netstat -rn
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt Iface
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
route add.... and ping will work :-)
>
> With best wishes, Andrew Ovcharov
> (andrew.ovcharov@xxxxxxxxx)
>
Best Regards,
Thomas
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|