[Pkg-xen-devel] Xen status in lenny?
Paul van der Vlis
paul at vandervlis.nl
Mon Oct 13 12:09:38 UTC 2008
Paul van der Vlis schreef:
> 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
An answer on my own questions:
I removed eth1 from my /etc/network/interfaces, and gave the xenbr0 the
IP what I normally gave to eth1. I rebooted and it works. My domU's are
now reachable from outside.
With regards,
Paul van der Vlis.
xen:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:30:48:93:50:3d
inet6 addr: fe80::230:48ff:fe93:503d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:517 errors:0 dropped:0 overruns:0 frame:0
TX packets:232 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:44049 (43.0 KiB) TX bytes:25499 (24.9 KiB)
Memory:e8200000-e8220000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1045 (1.0 KiB) TX bytes:1045 (1.0 KiB)
vif1.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:347 errors:0 dropped:4 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:6629 (6.4 KiB) TX bytes:27559 (26.9 KiB)
xenbr0 Link encap:Ethernet HWaddr 00:30:48:93:50:3d
inet addr:91.198.178.10 Bcast:91.198.178.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fe93:503d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:484 errors:0 dropped:0 overruns:0 frame:0
TX packets:221 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34008 (33.2 KiB) TX bytes:23082 (22.5 KiB)
xen:~# 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
0.0.0.0 91.198.178.1 0.0.0.0 UG 0 0 0
xenbr0
xen:~#
--
http://www.vandervlis.nl/
More information about the Pkg-xen-devel
mailing list