[Lxc-users] lxc-start "eats" eth1

Daniel Lezcano dlezcano at fr.ibm.com
Tue Apr 12 13:47:08 UTC 2011


On 04/12/2011 03:44 PM, Ulli Horlacher wrote:
> On Tue 2011-04-12 (15:37), Daniel Lezcano wrote:
>
>>> Shouldn't I see it under another name then?
>>>
>>> I see only:
>>>
>>> root at zoo:~# ll /proc/sys/net/ipv4/conf/
>>> dr-xr-xr-x root     root                   - 2011-04-12 13:33:12 /proc/sys/net/ipv4/conf/all
>>> dr-xr-xr-x root     root                   - 2011-04-12 15:30:22 /proc/sys/net/ipv4/conf/br0
>>> dr-xr-xr-x root     root                   - 2011-04-12 13:33:12 /proc/sys/net/ipv4/conf/default
>>> dr-xr-xr-x root     root                   - 2011-04-12 15:31:17 /proc/sys/net/ipv4/conf/dev3
>>
>> I think it is dev3. You can check with the index.
>
> You are right!
>
> root at zoo:~# ethtool dev3
> Settings for dev3:
>          Supported ports: [ TP ]
>          Supported link modes:   10baseT/Half 10baseT/Full
>                                  100baseT/Half 100baseT/Full
>                                  1000baseT/Full
>          Supports auto-negotiation: Yes
>          Advertised link modes:  10baseT/Half 10baseT/Full
>                                  100baseT/Half 100baseT/Full
>                                  1000baseT/Full
>          Advertised pause frame use: No
>          Advertised auto-negotiation: Yes
>          Link partner advertised link modes:  Not reported
>          Link partner advertised pause frame use: No
>          Link partner advertised auto-negotiation: No
>          Speed: 1000Mb/s
>          Duplex: Full
>          Port: Twisted Pair
>          PHYAD: 0
>          Transceiver: internal
>          Auto-negotiation: on
>          MDI-X: Unknown
>          Supports Wake-on: d
>          Wake-on: d
>          Current message level: 0x00000007 (7)
>          Link detected: yes
>
>
> Is there a hack to rename it?
> Or to tell lxc to use this interface name instead?
>
> root at zoo:~# mv /proc/sys/net/ipv4/conf/dev3 /proc/sys/net/ipv4/conf/eth1
> mv: cannot move `/proc/sys/net/ipv4/conf/dev3' to `/proc/sys/net/ipv4/conf/eth1': No such file or directory


Can't you upgrade to lxc-0.7.4.1 ?

http://lxc.sourceforge.net/download/lxc/lxc-0.7.4.1.tar.gz






















































Sauf indication contraire ci-dessus:
Compagnie IBM France
Siège Social : Tour Descartes, 2, avenue Gambetta, La Défense 5, 92400
Courbevoie
RCS Nanterre 552 118 465
Forme Sociale : S.A.S.
Capital Social : 542.737.118 ?
SIREN/SIRET : 552 118 465 02430




More information about the lxc-users mailing list