Re: come forzare l'assegnazione ethX--NIC_che_voglio_io ?

2005-10-20 Per discussione Matteo Mazzoni
Alle 16:49, lunedì 10 ottobre 2005, Premoli, Roberto ha scritto:
 Salve.

 SITUAZIONE
 Sarge 3.1r0a, 3 schede di rete: una integrata e due su PCI, (chiamiamo
 le schede INTEGRATA, PCI1 e PCI2) tutte con chipset 3com.
 Io ho configurato, in /etc/network/interfaces
 Eth0=dhcp
 Eth1=static
 Eth2=static

 PROBLEMA
 Il problema e' che sarge assegna
 eth0=PC1
 eth1=integrata
 eth2=PCI2.
 Mentre io vorrei che l'assegnamento fosse questo:
 eth0=INTEGRATA
 eth1=PCI2
 eth2=PCI1.

 DOMANDA
 C'e' un modo per dire a sarge prendi la scheda tal dei tali e usala
 come ethX?

puoi usare udev e settare il nome (qualunque nome vuoi) in base all'indirizzo 
mac della scheda
Il tutto e' spiegato in /usr/share/doc/udev/writing_udev_rules/index.html

Saluti

Matteo

 Grazie,
 Roberto


pgpovA7qkymOe.pgp
Description: PGP signature


come forzare l'assegnazione ethX--NIC_che_voglio_io ?

2005-10-10 Per discussione Premoli, Roberto

Salve.

SITUAZIONE
Sarge 3.1r0a, 3 schede di rete: una integrata e due su PCI, (chiamiamo
le schede INTEGRATA, PCI1 e PCI2) tutte con chipset 3com.
Io ho configurato, in /etc/network/interfaces 
Eth0=dhcp
Eth1=static
Eth2=static

PROBLEMA
Il problema e' che sarge assegna 
eth0=PC1
eth1=integrata
eth2=PCI2.
Mentre io vorrei che l'assegnamento fosse questo: 
eth0=INTEGRATA
eth1=PCI2
eth2=PCI1.

DOMANDA
C'e' un modo per dire a sarge prendi la scheda tal dei tali e usala
come ethX?

Grazie,
Roberto



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: come forzare l'assegnazione ethX--NIC_che_voglio_io ?

2005-10-10 Per discussione Leonardo Canducci
On Mon, Oct 10, 2005 at 10:49:52AM -0400, Premoli, Roberto wrote:
 DOMANDA
 C'e' un modo per dire a sarge prendi la scheda tal dei tali e usala
 come ethX?
l'assegnazione dipende dall'ordine con cui sono caricati i moduli (in
/etc/modules per esempio).
altrimenti - meglio - usi hwaddress. vedi man interfaces.
-- 
Leonardo Canducci 
GPG Key ID: AC0F8801


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: come forzare l'assegnazione ethX--NIC_che_voglio_io ?

2005-10-10 Per discussione Valerio Felici
Alle 16:49, lunedì 10 ottobre 2005, Premoli, Roberto ha scritto:
...
 DOMANDA
 C'e' un modo per dire a sarge prendi la scheda tal dei tali e usala
 come ethX?

protesti usare ifrename

$apt-cache show ifrename

-- 
A presto
-Valerio-