LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-12-2007, 02:04 PM   #1
awreneau
Member
 
Registered: Aug 2003
Location: GA
Distribution: Ubuntu
Posts: 32

Rep: Reputation: 15
static arp entry - how to survive reboot


Reverse Proxy is in the DMZ, real server is in protected network. Reverse Proxy can connect to protected server sporadically.

I've found the problem to be that the PIX is advertising itself when the ARP is made to identify the protected server and on some occassions the protected server responds correctly.

I can put a static arp entry arp -s <IP> <MAC> and it works. However rebooting clears the arp table.

Is there a way to assign a static to survive a reboot?
 
Old 12-12-2007, 02:12 PM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,286

Rep: Reputation: 62
You could place an entry in the rc.local file, I don't use ubuntu myself but I would say it probably somewhere like /etc/rc.d or /etc/init.d/rc.d. may need to search around a bit for it. The rc.local is the last bootup file that is executed.
 
Old 12-12-2007, 03:01 PM   #3
awreneau
Member
 
Registered: Aug 2003
Location: GA
Distribution: Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
That did it!

Thanks for your help.
 
Old 12-12-2007, 03:39 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,397
Blog Entries: 55

Rep: Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568
AFAIK static ARP settings should be in /etc/ethers and whatever handles network ups/downs should execute 'arp -f /etc/ethers'.
 
Old 12-12-2007, 03:57 PM   #5
awreneau
Member
 
Registered: Aug 2003
Location: GA
Distribution: Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
I created the file /etc/ethers and have the following in it:
02:00:00:00:00:00 111.111.111.111 (obviously bogus info)

Not sure if I know is going to call it. your post says
"whatever handles network ups/downs should execute 'arp -f /etc/ethers'"

is this a startup script I'll have to edit or should something call this automatically?
 
Old 12-12-2007, 04:27 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,397
Blog Entries: 55

Rep: Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568
I'm hoping it would be automagical but let's assert it's not and that you would have to edit say /etc/init.d/network or equivalent and only add a line where things go "up"?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
arp cache entry............. shrishailnk Linux - Networking 2 04-22-2006 02:44 PM
mdadm changes do not survive reboot blackdragonblood Linux - Software 4 02-12-2006 09:58 PM
Is there any static ARP for static IP network? linux_lover2005 Linux - Networking 2 05-18-2005 12:01 PM
Squid doesn't survive reboot james.farrow Linux - Networking 1 10-21-2004 01:58 PM
How to create an proxyarp entry in arp table by using arp command? himalayas Linux - Networking 0 06-04-2003 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration