|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Re: Debian domU on Gentoo dom0
Andy Smith schrieb:
> Hi Jens,
>
> On Mon, Sep 24, 2007 at 03:49:58PM +0200, Jens Kleikamp wrote:
>> Debian domU /etc/network/interfaces (does not work)
>> --------------------
>> auto lo
>> iface lo inet loopback
>>
>> auto eth0
>> iface eth0 inet static
>> address 78.47.*.213
>> broadcast 78.255.255.255
>> netmask 255.255.255.255
>> gateway 213.239.*.45
>> --------------------
>
> This network setup is completely wrong. 213.239.x.45 is not
> reachable from 78.47.x.213, also your netmask and broadcast do not
> match.
>
> 78.47.*.210 - 78.47.*.215 is not any kind of sensible IP allocation
> I have ever heard of if you really mean that * can be anything. If
> you are just trying to obscure your IP addresses then DON'T - it
> only makes debugging harder.
>
> Assuming you mean that * is some fixed value then 78.47.1.210 ->
> 78.47.1.215 would probably correspond to an 8 IP allocation, or
> /28. That would make your network address 78.47.1.208, your
> brodcast address 78.47.1.215, and your netmask 255.255.255.252.
>
> Give dom0 an IP in 78.47.1.209 -> 78.47.1.214 inclusive, then your
> domUs can use that as their default gateway.
>
> Cheers,
> Andy
>
>
Hello Andy,
thank you very much for taking the time to read my mail.
Sorry, I used the * just for not making my ip address public when I post
to the mailinglist. It has fixed value.
I am wonder why this setup does work properly on gentoo domUs but not on
debian.
Here is my gentoo domU ifconfig+route
--------
eth0 Protokoll:Ethernet Hardware Adresse 00:16:3E:2F:62:C2
inet Adresse:78.47.*.210 Bcast:78.255.255.255
Maske:255.255.255.255
inet6 Adresse: fe80::216:3eff:fe2f:62c2/64
Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:282 errors:0 dropped:0 overruns:0 frame:0
TX packets:375 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:24045 (23.4 Kb) TX bytes:45080 (44.0 Kb)
lo Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
--------
route -n
Iface
213.239.*.45 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 213.239.*.45 0.0.0.0 UG 0 0 0 eth0
-----------------------------
My mission seems to be to get just that on debian too.
I must admit that the network setup looks crazy, but why the hell does
it working on gentoo domUs.
Sorry for my bad english
and thanks again
Jens
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|