[Pkg-xen-devel] Xen status in lenny?

Paul van der Vlis paul at vandervlis.nl
Fri Oct 10 12:10:05 UTC 2008


Laurent Léonard schreef:

>>> # Add the physical interface to the bridge
>>> brctl addif xenbr0 eth1
>> xen:/etc/network# brctl addif xenbr0 eth1brctl addif xenbr0 eth1
>> interface eth1brctl does not exist!
> 
> I think you copied/pasted the line two times... Obviously the 
> interface "eth1brctl" doesn't exist ! The correct command is : 
> brctl addif xenbr0 eth1

You are right, sorry. When I did it again, I do not get errors after the
first error.
And after destroying my domU and creating it again, it works now!
Many thanks!

Next step is to create this situation again after a reboot, is this OK
for a /etc/network/interfaces or do I need to remove eth1?
If I have to remove eth1, where do I put the IP then?
------
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet static
   address 91.198.178.10
   netmask 255.255.255.0

auto xenbr0
iface xenbr0 inet static
   bridge_ports eth1
   address 91.198.178.3
   netmask 255.255.255.0
   broadcast 91.198.178.255
   gateway 91.198.178.1
------

This is my route now, is it correct?
xen:/dev# route -n
Kernel IP routing table
Destination   Gateway       Genmask         Flags Metric Ref  Use Iface
91.198.178.0  0.0.0.0       255.255.255.0   U     0      0    0   xenbr0
91.198.178.0  0.0.0.0       255.255.255.0   U     0      0    0   eth1
0.0.0.0       91.198.178.1  0.0.0.0         UG    0      0    0   xenbr0

With regards,
Paul van der Vlis.




-- 
http://www.vandervlis.nl/




More information about the Pkg-xen-devel mailing list