Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 1995 16:49:14 -0400
From:      Andrew Solberg <asolberg@success.net>
To:        "'FreeBSD Questions'" <freebsd-questions@freebsd.org>
Subject:   small subnet, PPP, and Internet
Message-ID:  <01BA91B0.363933A0@apollo>

next in thread | raw e-mail | index | archive | help
I am having problems getting my FreeBSD box connected.  I have a fulltime PPP
dialup to my ISP and he has given me a 30 IPs on a subnet.  They are
198.51.81.225 -> 198.51.81.254.  In my office I have 4 machines,
besides my FreeBSD box that I would like to setup so that the other 4 can
get out of our local (office) ethernet through the FreeBSD box (running PPP).

I am running 2.1.0-950928-SNAP.  I am using pppd.  My problem is with setting
up routing, and DNS.  I have pppd running, that is it dials, connects, logs in, and
runs fine.  

1st.  I am not able to get access anything on Internet with the FreeBSD machine.
I can ping the PPP remote IP (198.51.79.14).  But I cannot ping any outside
of 198.51.81.xxx.  I have read through several Linux How-To's and FAQs, but I do not know
how to set up the route.

If i do a netstat -rn, It tells me:
Routing tables

Internet:
Destination	Gateway	Flags     Refs     Use     Netif Expire
default		198.51.79.14	UGc         1        0      ppp0
127.0.0.1	127.0.0.1	UH          1        0       lo0
198.51.79.14	198.51.81.225	UH          2        0      ppp0
198.51.81.224	link#1		UC          0        0 
198.51.81.226	127.0.0.1	UGHS        0        0       lo0
198.51.81.230	0:20:af:e9:4c:80	UHLW        1       54       ed1   1150
198.51.81.255	link#1		UHLW        1       14 
224		link#1		UCS         0        0 

Will I have to add anything with route?
For my, local ethernet setup, will I have to set up a nameserver?  I do know two of my ISP's DNS
machines.  Should the other machines on the net use the FreeBSD box as their gateway?  And
if so, which IP would they use, the ppp0 IP or the ed1 IP???

Any help will be great...
---
	Andrew Solberg
	asolberg@success.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BA91B0.363933A0>