* martedì 18 febbraio 2003, alle 10:48, Enzo scrive:
>
> Come si può fare in modo che l'interfaccia eth0
> (una sola scheda di rete) risponda a due indirizzi IP?
> (poi tramite il routing indirizzi i pacchetti
> in una rete oppure un altra).
ifconfig eth0:0 <altro_ip> netmask <tua_netmask> up
a regola, al routing ci pensa lui, nel caso:
route add -net <tua_rete> netmask <tua_netmask> dev eth0:0
man ifconfig, man route, eventually NET-HOWTO.
--
Maurizio - Tannoiser - Lemmo
Founder Member of ERLUG http://erlug.linux.it
-------------------------------------------------------------------------------
Xander: "One day I'll have money, prestige, power...and on that day they'll
still
have more."
--Buffy the Vampire Slayer: Reptile Boy
|