Read IP Alias.

cd /etc/sysconfig/network-scripts/
cp ifcfg-eth0 ifcfg-eth0:0 

open the file ifcfg-eth0:0 using any editor.
Change the following lines:
DEVICE=eth0:0
IPADDR=what_ever_u_like

restart your m/c

Thats it!!!

test it by ifconfig


regards
Pinku


--- Amit Gupta <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I am a newbie to Linux. Can anybody tell me if it is
> possible to
> configure one network card for 2 seperate IPs on
> different subnet mask.
> 
> Thanks in advance
> Amit.
> 
> 
>
-----------------------------------------------------------------------
> LIH is all for free speech.  But it was created for
> a purpose - to help
> people discuss issues about installing and running
> Linux.  If your
> messages are counterproductive to this purpose, your
> privileges to
> submit messages can and will be revoked.


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to