Operating System - HP-UX
1833692 Members
4995 Online
110062 Solutions
New Discussion

setting arp table on boot

 
SOLVED
Go to solution
Timothy P. Jackson
Valued Contributor

setting arp table on boot

Hello Everyone,

I am having a problem with a driver that must communicate with my SQL server with out hesitation. The problem I have is that the SQL server has two NIC's and is using network adapter teaming. So, some times it doesn't reply to a ARP request.

To solve this problem I permanently set the arp table. It worked great! Now for the real problem. If I reboot the system I need to manualy set the arp table again. Is there any way to set this table on boot?

Any help would be greatly appreciated!

Tim
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: setting arp table on boot

Hi Tim:

You can easily setup a startup script in the '/sbin/init.d' directory to start at boot at the appropriate point when networking services are available. A template is available as '/sbin/init.d/template'. See the manpages for 'rc(1M)' and/or the whitepaper below for a complete understanding of how to achieve this:

http://www.docs.hp.com/en/934/startup.pdf

Although the whitepaper includes "10.x" in its title is is applicable for all release since then.

Regards!

...JRF...
Timothy P. Jackson
Valued Contributor

Re: setting arp table on boot

Thanks James,

I was thinking way to hard at this! Sometimes the easiest solutions aren't the most obvious. I will just setup a startup script to take care of the arp table.

Thanks again.
rick jones
Honored Contributor

Re: setting arp table on boot

While James' suggestion is a very good one, mightn't it be an equally good idea to drill-down on root cause and figure-out why your SQL server and its network adapter teaming is broken and not always responding to ARP requests? If ARPs are occasionally dropped/missed, other sorts of traffic could be occasionally dropped/missed as well...
there is no rest for the wicked yet the virtuous have no pillows
Timothy P. Jackson
Valued Contributor

Re: setting arp table on boot

Thanks for the response Rick,

We have a pretty good idea that it is the software doing the network teaming. We are currently looking for another solution.

Thanks again!

Tim