This is my
/etc/xen/xend-config.sxp file:
(xend-http-server yes)
(xend-relocation-server yes)
(xend-port 8000)
(xend-address localhost)
(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')
(network-script network-bridge)
(vif-script vif-bridge)
(dom0-min-mem 196)
(enable-dom0-ballooning yes)
(dom0-cpus 0)
(vncpasswd '')
I tried comment out the (vif-script vif-bridge) and the
(network-script network-bridge) rows, even though
I don't understand why, since, I configure a bridge in the net config file...
But let me understand what to modify exactly.
The /etc/conf.d/net is the corresponding /etc/network/interfaces file on Gentoo.
At the moment this is the content of that file:
config_eth0=( "null" )
bridge_xenbr0="eth0"
brctl_xenbr0=(
"setfd 0"
"stp off"
)
config_xenbr0=(
"dhcp"
)
If I understand
correctly, you want me to correct the net file:
>
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> # The loopback network interface
> auto lo
> iface lo inet loopback
Ok, this is not necessary in Gentoo..
> # The primary network interface
> auto eth1
> iface eth1 inet dhcp
#eth0 is the primary network interface
config_eth0=( "dhcp" )
> # Bridge definied
> auto xenbr0
> iface xenbr0 inet static
> address 192.168.1.45
> network 192.168.0.0
> netmask 255.255.255.0
> broadcast 192.168.1.255
> gateway 192.168.1.1
config_xenbr0=( "192.168.1.105 netmask 255.255.255.0 brd 192.168.1.255" )
routes_xenbr0=( "default via 192.168.1.254" )
> bridge_ports eth1
bridge_xenbr0="eth0"
> bridge_fd 9
> bridge_hello 2
>
bridge_maxage 12
> bridge_stp off
brctl_xenbr0=(
"sethello 2"
"setfd 9"
"stp off"
)
So the (new) resulting config file is:
config_eth0=( "dhcp" )
config_xenbr0=( "192.168.1.105 netmask 255.255.255.0 brd 192.168.1.255" )
routes_xenbr0=( "default via 192.168.1.254" )
bridge_xenbr0="eth0"
brctl_xenbr0=(
"sethello 2"
"setfd 9"
"stp off"
)
But the only interface that is automatically coming up is eth0.
Once i start the VM, I get the following error:
Error: Device 0 (vif) could not be connected. Could not find bridge
device xenbr0
(Of course!)
But if I start the xenbr0 interface
(/etc/init.d/xenbr0 start)
and start the VM again, it still freezes on:
"[ 4.438022] Sending DHCP requests ..."
And the Internet connection is not longer working (need to stop xenbr0).
Still the same problem...
I don't really understand why
to change the network configuration, since it
worked up to few weeks ago. I didn't change anything and I didn't update any
package. The only new installation is virt-manager, but it was warking
too, before.
Thank you,
Flavio
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxhttp://lists.xensource.com/xen-users