multiple IPs on same NIC

Paul_Melson@keykertusa.com Paul_Melson@keykertusa.com
Wed, 9 May 2001 10:19:39 -0400


> Greetings group,
>      On a recent Mandrake 7.2 install, I've been trying to configure two 
IP addresses on my 3com PCI card. One of the IPs will be assigned to me  > 
via dhcp by my provider, but the second IP I want to use would be for my 
home LAN (private IP space). I can get one of them to work at a time, but 
> not both (by shutting one and bring the other up). Am I missing 
something here? Is this possible to do with one NIC? TIA...


Should just be:

ifconfig eth0 10.0.0.2 netmask 255.0.0.0 broadcast 10.255.255.255
ifconfig eth0 10.0.0.3 netmask 255.255.255.255 alias

Unless things have changed since I last did this (2.0.38).


PaulM