Re: 2 ip`s on one interface
:-> "Abraham" == Abraham vd Merwe <abz@debian.org> writes:
> Hi Consultoria!
>> How do i put 2 ip`s on a singlenet board????
> Use ip aliasing
> ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 up
> ifconfig eth0:0 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255 up
> ifconfig eth0:1 192.168.3.1 netmask 255.255.255.0 broadcast 192.168.3.255 up
or use the ip command from the iproute package:
ip addr add x.y.z.t dev eth0
Pf
--
-------------------------------------------------------------------------------
Pierfrancesco Caci | ik5pvx | mailto:p.caci@tin.it - http://gusp.dyndns.org
Firenze - Italia | Office for the Complication of Otherwise Simple Affairs
Linux penny 2.4.16 #1 Fri Nov 30 22:12:51 CET 2001 i686 unknown
Reply to: