View Single Post

  #2 (permalink)  
Old 12-23-2005, 05:49 PM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

This error comes when you try to setup 2 IP address for single (1) network card. All you need to do is use diffrent netmask to avoid this error. For example if your NIC card netmaks is 255.255.255.0 then use 255.255.255.255 as netmask for alias

Real lnc0 - IP : 192.168.1.2/255.255.255.0

lnc0 alias - IP : 192.168.1.115/255.255.255.255

And then type command
Code:
ifconfig lnc0 192.168.1.115 netmask 255.255.255.255 alias
Verify it with ifconfig command or ping command
Code:
ifconfig -a
ping 192.168.1.115
ping 192.168.1.2
sure replace lnc0 with your actual network interface card
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote