Date: Tue, 24 Aug 1999 11:30:18 -0400 (EDT) From: Barrett Richardson <barrett@phoenix.aye.net> To: Keith Hutchison <keith.hutchison@canberra.evermore.com.au> Cc: freebsd-questions@FreeBSD.ORG, greg@safetyweb.com.au Subject: Re: Using a second FreeBSD box to piggy back through a first FreeBSD box to see the internet Message-ID: <Pine.BSF.4.01.9908241108230.19567-100000@phoenix.aye.net> In-Reply-To: <199908241734210370.058927E8@192.168.0.254>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Aug 1999, Keith Hutchison wrote: > Hi, > > We are looking for a method to enable a second network to talk through our first network to our isp. > > The first network works fine. We have been able to get the two unix boxes to talk to each other and the second unix box can see the internet. We are just having trouble with the second network talking. > > Gut feel is a routing problem, can anyone send examples of how they did it and what programs they used. We are using ppp -alias -auto. Do we need to use natd instead of ppp -alias? > > Keith Hutchison > > Line breaks, please, I beg of you. On the "second" unix box. It should have two IP addresses. Say the problematic network is network y.y.y.0 and the network that works is x.x.x.0 and the second box has IP addresses x.x.x.a and y.y.y.b. On the second unix box Try a 'ping -S x.x.x.a ip_of_ppp_box' it should work for obvious reasons. Next try 'ping -S y.y.y.b ip_of_ppp_box'. If that does not work, then the box running ppp does not have a route to network y.y.y.0. Add it by route add -net y.y.y.0 x.x.x.a If the networks are subnets of the same class C I would ensure the the netmasks are set correctly. - Barrett 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.4.01.9908241108230.19567-100000>
