Date: Wed, 20 May 1998 00:34:40 +0000 (GMT) From: Stephane Raimbault <segr@segr.ml.org> To: Dale Chase <chase@ISI.EDU> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Access to FBSD via LAN Message-ID: <Pine.BSF.3.96.980520003001.188A-100000@segr.ml.org> In-Reply-To: <3561F548.E52BBC54@isi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 24.64.10.238 netmask 0xffffff00 broadcast 24.64.10.255 ether 00:20:a9:0c:9f:53 ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.126.1 netmask 0xffffff00 broadcast 192.168.126.255 ether ff:ff:a9:0c:a0:01 lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980520003001.188A-100000>