Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Network settings on card

807567Oct 29 2001
I need help with this:
When doing the following script:
while (true); do
ndd /dev/qfe instance 1
Param='ndd /dev/qfe link_status'
if [$Param == 0 ]; then
ifconfig qfe1 down
fi
sleep 10;
done

After I do ifconfig qfe1 down, then the link_status of the ndd command always return 0, even if the link is restored. Is there another way to disable tcp/ip prosessing untill the interface is up? I need to make sure that when the link_status is 0(not ok) then I need to drop ip packets going to the interface address. When the link_status is 1 (link ok) I need to restore IP processing to the interface. Why don't link_status give the actual link_status ?

Hoping anybody can help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2001
Added on Oct 29 2001
0 comments
88 views