Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Apr 2002 20:48:20 +0200
From:      Wijnand Wiersma <freebsd@wiersma.be>
To:        Philip Pereira <info@wintellect.co.uk>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Gateway setup problem - need a bit more help
Message-ID:  <3CA8AB74.20305@wiersma.be>
References:  <LPBBIGIAAKKEOEJOLEGOMEKJCMAA.barbish@a1poweruser.com> <001401c1d9aa$6e840ca0$0301a8c0@me01>

next in thread | previous in thread | raw e-mail | index | archive | help
Well, can you ping the DNS server?


Philip Pereira wrote:

>Thanks for all the help so far - am still having trouble.
>
>The machines can ping eachother and can ping their network cards
>respectively.
>"Can box1 ping ip address of ISP's DNS?" - How on earth do I check this? Or
>how can I find the ISP's DNS once connected?
>
>'ppp -ddial -nat papchap' allowed my server box (Box1) to connect to the
>internet, but didn't seem to do any routing for Box2.
>
>Attached are my 'ppp.conf' and 'rc.conf' files on my server box - hope they
>give you the info you need.
>
>PLEASE continue to help me!!!
>
>With much thanks in advance
>Phil.
>
>----- Original Message -----
>From: "Joe & Fhe Barbish" <barbish@a1poweruser.com>
>To: "Philip Pereira" <info@wintellect.co.uk>
>Sent: Sunday, March 31, 2002 11:37 PM
>Subject: RE: Gateway setup problem
>
>
>>I'm taking a shot in the dark, Do you have gateway_enable="YES" in
>>
>rc.conf?
>
>>Posting some key files would help a lot.
>>
>>/etc/rc.conf     /etc/ppp/ppp.conf
>>
>>Can box1 ping ip address of box2?
>>Can box1 ping ip address of ISP's DNS?
>>
>>Can box2 ping ip address of box1?
>>Can box2 ping ip address of ISP's DNS?
>>
>>
>>By the way entering   ppp -ddial -nat papchap
>>
>>Will do it all with one command
>>
>>
>>-----Original Message-----
>>From: owner-freebsd-questions@FreeBSD.ORG
>>[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Philip Pereira
>>Sent: Sunday, March 31, 2002 3:58 PM
>>To: freebsd-questions@FreeBSD.ORG
>>Subject: Gateway setup problem
>>
>>Hey brainy people of FreeBSD,
>>
>>I am having great trouble setting up a gateway. Here's what I have and how
>>it's set up:
>>
>>Box 1 (The server - and the one I want as the gateway)
>>hostname : freeserver.wintellect.com
>>IP address : 192.168.1.1
>>OS : FreeBSD
>>
>>Box 2 (The working box)
>>hostname : freework.wintellect.com
>>IP address : 192.168.1.2
>>OS : FreeBSD
>>
>>I can connect to the Internet on Box1 using:
>>
>>bash> ppp -nat
>>ppp> dial papchap
>>
>>which gives me a tunnel connection (tun0) by default, and then I use
>>netscape navigator. Box2 has a line in the /etc/rc.conf file to define the
>>default router as follows:
>>defaultrouter="192.168.1.1"
>>
>>The problem is that Box2 can't connect to the internet via Box1 - where am
>>
>I
>
>>going wrong?
>>
>>The 'netstat -r' command from Box1 when it is connected to the internet is
>>as follows:
>>
>>Internet:
>>Destination        Gateway                       Flags      Refs     Use
>>Netif     Expire
>>default               10.0.0.2                        UGSc      0
>>
>0
>
>>tun0
>>10.0.0.2             213-48-248-201.cro    UH          2         0
>>tun0
>>localhost             localhost                       UH          1
>>26       lo0
>>192.168.1           link#1                           UC          2
>>
>0
>
>>de0
>>freework              <network card no.>     UHLW     32       32
>>
>de0
>
>>1087
>>192.168.1.255     ff:ff:ff:ff:ff:ff                    UHLWb   1         5
>>de0
>>
>>PLEASE HELP ME!!!!!  AM GOING MAD!!!
>>
>>Many thanks in advance
>>
>>Phil.
>>
>>
>>
>>To Unsubscribe: send mail to majordomo@FreeBSD.org
>>with "unsubscribe freebsd-questions" in the body of the message
>>
>>



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?3CA8AB74.20305>