1834689 Members
2046 Online
110069 Solutions
New Discussion

Re: netstat -in output

 
khilari
Regular Advisor

netstat -in output

Hi guys, i have mcservice guard running and i am getting this entry when i do a netstat -in. Now, i wanted to know does lan1:1 mean i have floating ip on it. And how many floating ips can i have on a single lancard. And with cmmodnet what will be the syntax to put or delete floating ip's
Thanks
lan1:1 1500 142.238.0.0 142.238.64.65 18786183 0 565 0 0
2 REPLIES 2
Sandman!
Honored Contributor

Re: netstat -in output

The lan1:1 IP means that you have a virtual IP. Whether that IP is part of an MC/SG environment is for you to look into each of the pkg control file and match the IP assigned to lan1:1 with it. Alternatively you could use the cmd below to make that determination:

# find /etc/cmcluster -type f | xargs -n1 grep "^IP\["

and it is not recommended to manually execute the cmmodnet cmd. You should let the MC/SG software handle that piece.
Ralph Grothe
Honored Contributor

Re: netstat -in output

Some hpux kernel/ip stack guru will soon tell you the upper limit of multi-homed ip addresses I am convinced.
For instance with most Linux kernels/modules they usually allow you to bind up to 255 ip addresses.
But I have no idea how this is with hpux, and if such a high figure is sensible anyway?
You can multi-home (or alias) by the ordinary ifconfig command as you would set up any ordinary "single-homed" nic.
If you want to know the syntax of cmmodnet (it's really easy) simply look at its manpage,
or better yet, take a dekko at any of your MC/SG packages' control script.
There are two functions define {add,remove}_ip_address().
As Sandman already warned you,
you should not invoke a cmmodnet -r command on a currently active package.
Madness, thy name is system administration