Operating System - HP-UX
1823204 Members
3838 Online
109648 Solutions
New Discussion юеВ

lan-x is UP when cable is unplugged. Is it possible?

 
SOLVED
Go to solution
ViS_2
Frequent Advisor

lan-x is UP when cable is unplugged. Is it possible?

Hi!

uname -srm
HP-UX B.11.23 ia64

Is it possible to compel the hp-ux do not bring down the interface when the network cable is unplugged?

Thanks.
4 REPLIES 4
Luk Vandenbussche
Honored Contributor
Solution

Re: lan-x is UP when cable is unplugged. Is it possible?

This an issue that you can not modify.

A Lan card goes always down when a lan cable is unplugged.
Steven E. Protter
Exalted Contributor

Re: lan-x is UP when cable is unplugged. Is it possible?

Shalom,

No this is not possible.

There may be some confusion as to which interface is connected and active.

When the interface is unplugged it goes down, network connectivity is lost, but you usually still can ping the interface.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
ViS_2
Frequent Advisor

Re: lan-x is UP when cable is unplugged. Is it possible?

A quite interesting results...

unplug the network cable
netstat -in - the interface is DOWN
lanadmin -g - Operation Status - down

ifconfig lanX down
ifconfig lanX up

netstat -in - the interface is UP(!)
lanadmin -g - Operation Status - is still down

ViS_2
Frequent Advisor

Re: lan-x is UP when cable is unplugged. Is it possible?

Quite an interesting results...

unplug the network cable
lanadmin -g - Operation Status - down
netstat -in - the interface is DOWN

ifconfig lanX down
ifconfig lanX up

lanadmin -g - Operation Status - is still down
netstat -in - the interface is UP(!)