*BSD News Article 91423


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!fjholden.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.bsd.bsdi.misc
Subject: Re: 2nd Class C
Date: Thu, 20 Mar 1997 11:16:29 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 42
Message-ID: <33308FED.1494@OntheNet.com.au>
References: <Pine.BSF.3.96.970317002404.1094A-100000@zeus.xtalwind.net>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: jack <jack@diamond.xtalwind.net>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37324 comp.unix.bsd.bsdi.misc:6373

jack wrote:
> 
> Two days ago I added an address from our second class C to a FreeBSD box
> with `ifconfig ed0 inet xxx.xxx.xxx.xxx alias' and everything is fine.
> The same command on three different BSDi boxes (with the appropriate
> interface designation :)) results in them losing the MAC address of the
> router after about 5 to 20 minutes.  Netstat -ran shows the Gateway to the
> router IP as the correct MAC address at first then changes to link#1.
> 
> Any suggestions on how to keep the BSDi boxes in contact with the outside
> world?

Looks like the BSDi os is removing the router's ARP entry that should be
in the ARP dB (IP->MAC conversion).  You could try using the 'arp'
command to force a 'permanent' entry that doesn't timeout!

eg.

fjholden: {2} netstat -in
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs 
Coll
ed0   1500  <Link>00.c0.6c.48.66.35        6512803     0  6401998     7
313400
ed0   1500  203.63.215    203.63.215.xxx   6512803     0  6401998     7
313400
ed0   1500  203.10.89     203.10.89.yyy    6512803     0  6401998     7
313400

fjholden: {1} arp -a
gw-gc-1 (203.10.89.zzz) at 0:0:c:f6:97:c1             <- default router
cedric1 (203.63.215.aaa) at 8:0:20:b:96:e4 permanent  <- for the alias


> 
> --------------------------------------------------------------------------
> Jack O'Neill                    Finger jacko@diamond.xtalwind.net or
> jack@xtalwind.net               http://www.xtalwind.net/~jacko/pubpgp.html
> #include <std_disclaimers.h>    for my PGP key.
>  PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67   FD 09 E9 3C 5F CC EB CD
> --------------------------------------------------------------------------

Tony