[ILUG] Re: IP masq

Conor Daly conor.daly at oceanfree.net
Thu Dec 21 15:35:26 GMT 2000


On Thu, Dec 21, 2000 at 11:35:11AM +0000 or so it is rumoured hereabouts, 
Colm Buckley thought:
> 
> Damian writes:
> 
> > I assume its ifconfig thats used to set up virtual eth0:[0-??]  How
> > many can be set up? Are there any issues with doing this? Also what
> > is the exact syntax to do this?
> 
> 
> To add a virtual interface, add the lines:
> 
> auto eth0:0
>     address 1.2.3.5
>     netmask 255.255.255.0
>     broadcast 1.2.3.255
> 
> ... replacing 1.2.3.5 with the IP of the address you want to use, and
> adjusting the other parameters accordingly.  There then should be a
> command to bring up all the interfaces in this file (on Debian, it's
> "ifup -a").
> 
> If your system doesn't have this file, it's likely that it has a
> similar one to set up the interfaces.  If it doesn't seem to have
> anything at all, you can add extra interfaces 'manually' using the
> ifconfig command:
> 
> ifconfig eth0:0 1.2.3.5 netmask 255.255.255.0 broadcast 1.2.3.255
> 

Does this mean that one can present a number of IP addresses to the world
using eth0:0, eth0:1 etc?

-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
 12:42pm  up 3 days, 30 min,  1 user,  load average: 0.04, 0.14, 0.09




More information about the ILUG mailing list