*BSD News Article 59465


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!yarrina.connect.com.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!news.cac.psu.edu!news.math.psu.edu!ra.nrl.navy.mil!news.nrl.navy.mil!talmage
From: talmage@cmf.nrl.navy.mil (David Talmage)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: router ppp
Date: 12 Jan 1996 16:33:57 GMT
Organization: Center for Computational Science, NRL
Lines: 40
Message-ID: <TALMAGE.96Jan12113357@riker.cmf.nrl.navy.mil>
References: <nicolas.scheffer-1201960122060001@scheffer.pobox.oleane.com>
NNTP-Posting-Host: riker.cmf.nrl.navy.mil
In-reply-to: nicolas.scheffer@csc.tfnet.org's message of Fri, 12 Jan 1996
	01:22:06 +0100


In <nicolas.scheffer-1201960122060001@scheffer.pobox.oleane.com>, 
nicolas.scheffer@csc.tfnet.org (Nicolas Scheffer) wrote:

>I would like to know if on NetBSD i can use the station to route ip via
>the modem to internet. I would like to go in the same time on Internet


Yes, you can.  I have a desktop network in which a NetBSD Amiga 3000
and a PowerBook Duo 230 are connected by Ethernet.  The Amiga is
connected to the Internet using PPP.  The Amiga acts as a gateway for
the Duo.

On your NetBSD machine, do these things:

	1. When you start pppd, make sure that you use the 'defaultroute'
	   option.  
	2. When you configure your ethernet interface, give it the same
	   IP address as your ppp interface.  

On your Ethernet-only Macs, do this:

	1. In the MacTCP control panel, set the gateway address to
	   that of the Ethernet interface on your NetBSD machine.

You may find that your Ethernet-only Macs hang when they try to access
the Internet when your NetBSD machine isn't connected to ppp.  If that
happens, see if your ISP will let your NetBSD machine be an unofficial
secondary DNS.  If you can do that, then use the MacTCP control panel
to set the DNS IP address to that of the gateway.

When I set up my desktop network, I needed to keep all of the machines
in the same domain.  My network admin allotted me a 3-bit subnet.
Yours may have to do the same.

Good luck!
-- 
David Talmage
Kaman Sciences Corporation
talmage@cmf.nrl.navy.mil, http://www.cmf.nrl.navy.mil/CCS/people/talmage/