Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2001 17:53:55 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        FBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: IP addressing problem maybe?
Message-ID:  <Pine.BSF.4.21.0112071745240.16851-100000@java2.dpcsys.com>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOGEOACIAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 7, Joe & Fhe Barbish wrote:
> Can not ping from Win98 box through FBSD to internet.
> 
> Nic card is not attached to LAN.
> Tun0 is user ppp dial out to Isp.
> Tun1 is user ppp dial in from win98 box.
> Ifconfig shows status of connection after
> user ppp modem dial out to ISP and Win98 box
> Modem Dial in to FBSD box.
> Who command shows barbish logged in from win98 box.
> PING 63.162.62.2 from FBSD to internet is working.
> PING 10.0.0.24   from FBSD to win98 box is not working.

I don't think you'll have much luck getting to the Internet from
win98 until you FBSD box can ping it.  Not sure why you can't
with an interface that is up.  Do a netstat -rn to see what
the routing table really is.

> FBSD ps ax command shows what is running at time of test.
> netstat -I command shows routing at time of test.
> Win98 can Ping 10.0.0.1  FBSD box, but can not
> Ping 63.162.62.1 internet through FBSD box.

Make sure you have packet forwarding enabled.  In rc.conf
gateway_enable="YES"

> Have tried -nat on ppp direct command that starts dialin,
> And enable proxy and enable proxyall, with no change in
> Test results.

You need to run -nat on the ppp going to the ISP.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


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.21.0112071745240.16851-100000>