Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Setting up the network interface on Linux domU
2009/1/30 Manuel Bouyer <bouyer%antioche.eu.org@localhost>:
> On Fri, Jan 30, 2009 at 09:26:51PM +0100, Damian Sobczak wrote:
>> On my Debian installation I have the network interface specified
>>
>>
>> iface eth2 inet dhcp
>>
>>
>> but on the Debian domU it's eth16, after each reboot or shutdown it's
>> a different interface number.
>>
>>
>> Can I specify e.g on the xen configuration file the right eth interface?
>
> It's the linux kernel which decide the if's name in this case. I don't
> know what rules it uses for this but I find it strange that it doesn't
> always pick up the same name.
> I don't know what debian did to their kernel, but with scientific linux 5
> domUs the interface always shows up as eth0.
>
>>
>> I don't understand, on NetBSD domU works DHCP with bridge, on Linux not.
>
> is it dhclient which doens't work, or is it just that it tries to
> run on a nonexistent interface ?
>
> --
> Manuel Bouyer <bouyer%antioche.eu.org@localhost>
> NetBSD: 26 ans d'experience feront toujours la difference
> --
>
It's try to run on nonexistent interface, because each time it's
different. I can define the interface e.g. eth10 and it's works on
domU, but on next reboot is the interface number eth11 and the eth10
not found.
Home |
Main Index |
Thread Index |
Old Index