From owner-freebsd-isp@FreeBSD.ORG Sun Oct 16 15:18:07 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B06D16A41F for ; Sun, 16 Oct 2005 15:18:07 +0000 (GMT) (envelope-from tscrum@aaawebsolution.com) Received: from server1.aaawebsolution.com (server1.aaawebsolution.com [72.3.131.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 247D243D48 for ; Sun, 16 Oct 2005 15:18:07 +0000 (GMT) (envelope-from tscrum@aaawebsolution.com) Received: from wolf (c-67-187-58-171.hsd1.tx.comcast.net [67.187.58.171]) (authenticated bits=0) by server1.aaawebsolution.com (8.12.11/8.12.11) with ESMTP id j9GFIuAO037790; Sun, 16 Oct 2005 10:19:04 -0500 (CDT) (envelope-from tscrum@aaawebsolution.com) From: "Thomas S. Crum - AAA Web Solution, Inc." To: "'Thomas S. Crum - AAA Web Solution, Inc.'" , Date: Sun, 16 Oct 2005 10:16:21 -0500 Message-ID: <001001c5d264$93df3a90$0601a8c0@wolf> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 In-Reply-To: <000a01c5d253$2bb2bde0$0601a8c0@wolf> Importance: Normal Cc: Subject: RE: Loading permanent ARP entries at boot time X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 15:18:07 -0000 If I am missing an easier way to do this with rc.conf, etc. please let me know. Otherwise, here is the only way I could come up with adding arp entries on boot. HOW TO ADD STATIC ARP ENTRIES ON BOOT // CREATE THE ARP FILE ee /root/ARP_TABLE.txt // ADD THE ARP ENTRIES (Note you must use ips within your subnet. You may remove perm, if needed) 192.168.1.10 00:04:23:bd:c9:44 perm 192.168.1.11 00:04:23:bd:c9:45 perm // CREATE THE STARTUP SCRIPT ee /usr/local/etc/rc.d/arpstatic.sh // ADD THE FOLLOWING TO STARTUP SCRIPT #!/bin/sh arp -f /root/ARP_TABLE.txt // CHMOD THE NEW STARTUP SCRIPT chmod 555 /usr/local/etc/rc.d/arpstatic.sh // Will now load arp entries on boot -Tom > -----Original Message----- > From: owner-freebsd-isp@freebsd.org > [mailto:owner-freebsd-isp@freebsd.org] On Behalf Of Thomas S. > Crum - AAA Web Solution, Inc. > Sent: Sunday, October 16, 2005 8:12 AM > To: freebsd-isp@freebsd.org > Subject: Loading permanent ARP entries at boot time > > > Hi all, > > I am having a terrible time answering this silly question. > > I am trying to load arp entries from a file at boot time. > > I can add the individual permanent arp entries with: > arp -S hostname ether_addr > > But, when I reboot the system the arp entries are lost. > > I understand that I can load arp entries from a file with: > > arp -f file.txt > > file.txt = hostname ether_addr [temp] [pub] > > But, how can I make arp read this file at boot time? > > Thank you, > > -Tom > > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > >