On Tue, Aug 01, 2006 at 09:53:37AM +0200, Lajber Zoltan wrote:
> > Mit kellene beirni a /etc/network/interfaces file-ba?
> > Az "auto eth2" melle.
> 
> Az nagyon csunya, ha pl az eth0-hoz olyant irsz, hogy
> "pre-up  ifconfig eth2 up" ?

:) Hat az azert gaz mert akkor osszefugges lesz a ket iface kozott.
En pl azt csinalnam, hogy megadok egy IP cimet (1.2.3.4, akarmi)
aztan egy up utan torlom az interface-rol:

auto eth2
iface eth2 inet static
        address 1.2.3.4
        netmask 255.255.255.0
        up /sbin/ip addr del 1.2.3.4 dev eth2

Ez se sokkal szebb, de legalabb "kulon" van es nincs osszehazasitva
ket NIC-re vonatkozo bejegyzes, pl le lehet nyomni es felhuzni
kulon oket ...

-- 
- Gábor
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

Reply via email to