Date: Mon, 6 Oct 1997 17:47:57 -0500 (CDT) From: Nick Thompson <nick@imperial.org> To: Kwoody <kwoody@citytel.net> Cc: questions@FreeBSD.ORG Subject: Re: help Message-ID: <Pine.BSF.3.96.971006174722.1378A-100000@imperial.org> In-Reply-To: <Pine.BSF.3.91.971005182534.3740A-100000@mybsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
when i do that... it runs fine, but when i try to go out onto the net, it goes to my FreeBSD box instead of the net.. and the default route is set to localhost.. and when i try to change it to what it is supposed to be, it just goes right back. ----------------------------------------------------------------------------- - Nick Thompson Systems Administrator, Imperial.org - - nick@imperial.org admin@imperial.org - - http://nick.imperial.org http://www.imperial.org - ----------------------------------------------------------------------------- On Sun, 5 Oct 1997, Kwoody wrote: > On Sun, 5 Oct 1997 nick@imperial.org wrote: > > > Here is my problem... I have my modem connected to my FreeBSD machine, and > i have a sparc connected to my fBSD box over the ethernet. What would i have > to do so that the sparc can go over the ethernet straight to the internet if > it wanted, for use of ssh, etc.. instead of having to telnet to the freebsd > box and then out onto the net? > > I have a small network consisting of a Sun 3/60, a 95 box and my 2.1.7 > Fbsd machine. I installed a newer version of PPP so it supports aliasing. > > I sometimes use my Sun to access the internet. Only thing I have to do is > telnet to my bsd machine from the sun, type ppp -alias -auto <myisp> then > exit the telnet session. Once the connection is up I can telnet and ftp > from the sun quite nicely. > > apocalypse# netstat -rn > Routing tables > Destination Gateway Flags Refcnt Use > Interface > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 192.168.0.0 192.168.0.3 U 1 447 le0 > default 192.168.0.2 UG 0 340 le0 > > The above is the routing table from the sun...I mostly guessed on how to set > it up but it seems to work ok. > > Routing table on my FreeBSD machine when the connection is up: > > bash# netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 10.0.0.2 UGSc 2 334 tun0 > 10.0.0.2 10.0.0.1 UH 0 0 tun0 > 127.0.0.1 127.0.0.1 UH 0 494 lo0 > 192.168 link#1 UC 0 0 > 192.168.0.1 0:c0:f0:b:8f:e4 UHLW 0 3056 ed0 816 > 192.168.0.2 0:c0:f0:b:8f:9b UHLW 1 18 lo0 > 192.168.0.3 8:0:20:6:99:e9 UHLW 4 15183 ed0 871 > 204.244.99.76 204.244.99.124 UH 0 0 tun0 > > .0.3 is my sun3 machine, .0.2 is my Freebsd machine. .0.1 is my Win95 box. > > Everything seems to work ok. > > I dont know if this is the right way to do it or not but this is a way I > managed to get all the boxes on my little lan working and the BSD machine > to route packets for them. > > Hope this might help.... > kwoody@citytel.net >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971006174722.1378A-100000>