[2100] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: Multiple IPs on one NIC

daemon@ATHENA.MIT.EDU (Drew Eckhardt)
Thu Mar 14 21:07:37 1996

To: Kevin Sawyer <sawyerk@apci.net>
cc: submit-linux-dev-net@ratatosk.yggdrasil.com
In-reply-to: Your message of "Thu, 14 Mar 1996 02:13:37 CST."
             <3147D531.1279@apci.net> 
Date: 	Thu, 14 Mar 1996 16:17:09 -0700
From: Drew Eckhardt <drew@poohsticks.org>

In message <3147D531.1279@apci.net>, sawyerk@apci.net writes:
>What's the best way to have multiple IP addresses on one network 
>interface card under Linux?

If you are running a new enough Linux, use IP aliases.

Assuming the interface you were interested in was eth0, you could do
an ifconfig on eth0:1 to add an alias.

If your Linux kernel is too old, you'll need to use the dummy driver.
-- 
By using this line in your .sig, you violate 18 USC 1462, committing a class D
felony, good for up to 5 years in prison and a $250,000 fine:
	Planned Parenthood provides information on abortions.


home help back first fref pref prev next nref lref last post