You do this with
ifconfig eth0:0 ipaddress netmask 255.x.x.x broadcast x.x.x.255 up
then do ifconfig
You should see three devices
lo eth0 and eth0:0
you can then add more continuing in the same thread i.e eth0:1 eth0:2 etc
But you must have ip alias configured in the kernel but most likely it
will be there.
On Sun, 13 Aug 2000, Ken Jansons wrote:
> Date: Sun, 13 Aug 2000 14:04:55 -0600
> From: Ken Jansons <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Adding multiple IP addresses to eth0
>
> Hello,
>
> I have a question that I think would be easy to answer, but can't seem to find an
>answer on - how do I add another IP address to eth0? I am running Slackware 7.0. I
>have tried it with ifconfig eth0 xxx.xxx.xxx.xxx broadcast xxx.xxx.xxx netmask
>xxx.xxx.xxx, replacing the x's with their appropriate values, but have had no luck,
>it will add the ip address, overriding the one I had before, whereas I would like to
>stick both on the same device (eth0)
>
> Any help would be greatly appreciated!
>
> Ken Jansons
> [EMAIL PROTECTED]
>
>
Noah
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]