Re:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Firstly your kernel should be compiled with config_ip_alias
This is probably the default. Then simply do
ifconfig eth0:0 inet ip.address netmask [netmask] up
this shoudl set up an alias eth0:0 with the second ip. Put this in the startup
scripts for your system network. probably /etc/rc.d/init.d/network in redhat 
and /sbin/init.d/network in SuSE to make it a permanent change since ifconfig 
changes are lost after rebooting.
Quoting Dhananjay Kelkar <dmk@pspl.co.in>:

> Hi,
> 
> Could you please tell me the procedure of settting up 2 IP addresses 
> for one physical host (one ethernet card) ? Is such a thing possible?
> 
> Thanks and Regards,
> Dhananjay Kelkar
> 
> -
> : send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org
> 
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux