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

Ulli Horlacher framstag at rus.uni-stuttgart.de
Tue Apr 12 13:44:07 UTC 2011


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




-- 
Ullrich Horlacher              Server- und Arbeitsplatzsysteme
Rechenzentrum                  E-Mail: horlacher at rus.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/




More information about the lxc-users mailing list