cancel
Showing results for 
Search instead for 
Did you mean: 

Vitrual IPs

RAC_1
Honored Contributor

Vitrual IPs

I am adding a virtual ip to a lan card, but I am not able to ping it any other server.

Can anyone give me exact steps for adding virtual ips(Including route adds etc)

Thanks in advance
There is no substitute to HARDWORK
4 REPLIES
V. V. Ravi Kumar_1
Respected Contributor

Re: Vitrual IPs

hi,

try this through SAM, and ensure that it is enabled, also ensure that there is no other machine has same ip address.

regds
Never Say No
Jeffrey S. Sims
Trusted Contributor

Re: Vitrual IPs

you can also use the ifalias command. The Syntax for it is:

ifalias lan0 addmask 255.255.255.0 192.168.1.12 (where 192.166.1.12 is the ip you want to add and 255.255.255.0 is the netmask)and append the new virtual host ip address to the end of the /etc/rc.config.d/ipalias file so it is valid after a reboot.

Hope it helps
Steve Post
Trusted Contributor

Re: Vitrual IPs

For hpux11.00....go to sam

click networking and comunications
click network interface cards

Highlight a card listed.
Click actions
Click "Add IP Logical Interface"
Put in another ip address withint the same subnet.
Click ok.
Sebastian Galeski_1
Trusted Contributor

Re: Vitrual IPs

hi
use next command:
#ifconfig lan0:1 virtul_ip_address netmask your_netmask up

i.e.
#ifconfig lan0:1 192.168.0.12 netmask 255.255.255.0 up

regards seba