Date: Sun, 5 Oct 1997 22:28:09 -0700 (PDT) From: Kwoody <kwoody@citytel.net> To: nick@imperial.org Cc: questions@FreeBSD.ORG Subject: Re: help Message-ID: <Pine.BSF.3.91.971005182534.3740A-100000@mybsd.net> In-Reply-To: <199710052139.QAA02614@imperial.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.91.971005182534.3740A-100000>