From owner-freebsd-questions Tue May 19 23:34:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA26188 for freebsd-questions-outgoing; Tue, 19 May 1998 23:34:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from segr.ml.org (cs111809-a.cgno1.ab.wave.home.com [24.64.10.238]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA26141 for ; Tue, 19 May 1998 23:33:57 -0700 (PDT) (envelope-from segr@segr.ml.org) Received: from localhost (segr@localhost) by segr.ml.org (8.8.8/8.8.8) with SMTP id AAA00210; Wed, 20 May 1998 00:34:41 GMT (envelope-from segr@segr.ml.org) Date: Wed, 20 May 1998 00:34:40 +0000 (GMT) From: Stephane Raimbault To: Dale Chase cc: freebsd-questions@FreeBSD.ORG Subject: Re: Access to FBSD via LAN In-Reply-To: <3561F548.E52BBC54@isi.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I gave these a try with no success :-(. I was also suggested to change my LAN IP's to something else like 192.168.1.1 so I did (actually I ended up changing it to 192.168.126.1) I have included some snips once again: $ ifconfig -a ed0: flags=8843 mtu 1500 inet 24.64.10.238 netmask 0xffffff00 broadcast 24.64.10.255 ether 00:20:a9:0c:9f:53 ed1: flags=8843 mtu 1500 inet 192.168.126.1 netmask 0xffffff00 broadcast 192.168.126.255 ether ff:ff:a9:0c:a0:01 lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 $ $ netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 24.64.10.1 UGSc 3 2 ed0 24.64.10/24 link#1 UC 0 0 24.64.10.1 8:0:3e:0:14:3c UHLW 4 0 ed0 1009 localhost localhost UH 0 0 lo0 192.168.126 link#2 UC 0 0 192.168.126.2 0:60:97:7c:a4:16 UHLW 0 8 ed1 884 $ Also note that in the Routing tables I did see something like 192.168.126.1 and the Netif was set to lo0 rather than what I would of guessed of ed1. Perhaps that is where my problem is. Thank you, Stephane R. PS - Boy if we get this solved I will make a damn good page so that no-one else suffers like I am (ok, it's not that bad but, arghhh!) :-) On Tue, 19 May 1998, Dale Chase wrote: > Stephane Raimbault wrote: > [snip] > > freud# route add -net 192.168.0 -interface 192.168.0.1 > > writing to routing socket: File exists > > add net 192.168.0: gateway 192.168.0.1: File exists > > Stephane- > > Hmmm, that seems to say the route is already there. Yet the only thing > your system sends to the LAN is ping replies. Hmmm. > > On reviewing your earlier messages in the archive, I see you are running > natd. Try adding the -v flag to natd in order to see if it is diverting > the packets destined to your FBSD system. I don't have experience with > natd, so I can't give any better ideas there. You may need to play with > the rules there. > > Some other things to try, independent of each other: > > A. > > route delete -net 192.168 > route add -net 192.168.0 -interface 192.168.0.1 > > B. > > route add 192.168.0.2 -interface 192.168.0.1 > > C. > > In /etc/rc.conf, try router_enable="YES". This will start routed when > you > reboot, and he will manage the route table. > > Good luck. > <>Dale > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message