Shutdown bge0 interface at link level

Hello!

I have a SUN Fire V210 connected directly to Cisco router and I would like to Shutdown the interface at link level when the Services hosted in the machine go down, so the Cisco router realizes when the SUN interface is down and re-enrute the traffic to other interface.

That is, I would like to Shutdown the bge0 interface in order the interface don't have LINK. I have tested with 'ifconfig bge0 down' and 'ifconfig bge0 unplumb' but in both cases the interface is UP at LINK level.

If somebody knows how can I shutdown the link, please tell me how.

Thanks in advance!

David

[624 byte] By [DAVGONa] at [2007-11-26 14:48:45]
# 1

Only thing I can think of is to force the link to an operating mode that is not supported by the remote side (like 10mb/s or something).

While the driver could take the link down, I don't know of any obvious interface for requesting that it do so. Even unplumbing won't do that. I would suppose that even unloading the driver (if possible) would still leave the hardware in a link-up mode.

I would suggest that the router should work off information other than solely the link for routing decisions. For instance, a cluster would normally make sure that a shared IP address was moved to the other host as part of the service mobility.

--

Darren

Darren_Dunhama at 2007-7-8 8:36:36 > top of Java-index,General,Network Configurations...
# 2

If you are trying to fall over to another interface on the same server you should look at using IPMP (IP multipathing).

If you are trying to fall over to another interface on another server you should look at setting up a cluster using something like Sun Cluster or Veritas Cluster Server.

Regards,

jsuchea at 2007-7-8 8:36:36 > top of Java-index,General,Network Configurations...