WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: Debian domU on Gentoo dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Debian domU on Gentoo dom0
From: Jens Kleikamp <jens@xxxxxxxxxxxxxxxxxx>
Date: Mon, 24 Sep 2007 21:38:34 +0200
Delivery-date: Mon, 24 Sep 2007 12:48:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070924181849.GO18805@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <fd8fbb$pjl$1@xxxxxxxxxxxxx> <20070924181849.GO18805@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
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

<Prev in Thread] Current Thread [Next in Thread>