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!corolla.OntheNet.com.au!news From: Tony Griffiths <tonyg@OntheNet.com.au> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: annoying route problem Date: Sat, 14 Sep 1996 18:03:01 +1000 Organization: On the Net (ISP on the Gold Coast, Australia) Lines: 60 Message-ID: <323A66B5.405E@OntheNet.com.au> References: <517a1b$aoc@cayman.priconet.de> 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: Marc Zimmermann <marc@cayman.priconet.de> Marc Zimmermann wrote: > > Hiya! > > I have a FreeBSD box with an ethernet interface and a slip interface. > I use the slip interface for my (analog) leased line (USR courier). > My FreeBSD box uses IP nums 172.16.16.1 (sl0) and 172.16.16.2 (ed0). > > I have a SparcStation, which has an officially assigned IP number, > which is 194.195.236.98. > Therein lies your problem... The SS and your FreeBSD box are NOT in the same network! It doesn't matter that they are on the same piece of Ethernet wire (or hub or whatever), they can't talk directly without some kludging!!! > All I want to do is > > route add -host -interface 194.195.236.98 172.16.16.2 > > on the FreeBSD box. However, It complains with: > > <date> haiti /kernel: arp_rtrequest: bad gateway value > > (I also sometimes get a message complaining about arp llookup or so) > Yep, the ARP protocol isn't working between BSD and SS because of <above>. To get you FreeBSD box talking to the SS, you need to put a permanent ARP entry into your ARP dB. Eg. # Add static arp entry and route for ... /usr/sbin/arp -s 203.63.215.251 8:0:20:71:76:22 /sbin/route add 192.189.54.65 203.63.215.251 [DON'T use these IP addresses and Ethernet address, substitute your own where appropriate] # arp -a dumps the current dB > I do not think I'm missing something obvious here, since it all goes > well on the SS :-( > Well it's not TOO obvious unless you have digested the tome TCP/IP Illustrated, Vol 1. (Stevens) ;-)) > Am I the only one who wants a setup like this? > Probably not. > ... ceterum censeo MSDOS esse delendam ... > > M: Shit! -- U: What? -- M: MS-DOS! -- U: No! -- M: Yes! -- U: Shit! Hmm... My 8th and 9th grade Latin isn't up to it, but I do give a hint to my age given that I was actually taught Latin at school!!! -) Regardless, I do echo your sentiments re MS-DOS... Tony