From owner-freebsd-questions Tue Jan 12 18:04:03 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA08893 for freebsd-questions-outgoing; Tue, 12 Jan 1999 18:03:40 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA08885 for ; Tue, 12 Jan 1999 18:03:37 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id BAA07354; Wed, 13 Jan 1999 01:12:36 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.1/8.9.1) with ESMTP id BAA20501; Wed, 13 Jan 1999 01:05:00 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199901130105.BAA20501@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Stan Brown" cc: freebsd-questions@FreeBSD.ORG (Free BSD Questions list) Subject: Re: PPP setup question (non-default route) In-reply-to: Your message of "Sat, 19 Dec 1998 14:47:59 EST." <199812191948.LAA10569@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Jan 1999 01:04:59 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have used my FreeBSD machine, and userland ppp for3 yaers as my > primary internaet gateway for my local network. > > Now I have a cable moem. I wish to change the ppp setup so that it is > no longer the default route. I do wish to still do dial on demand to > the exisitng ISP for all machines at his site. He assingns dynamic IP's > on connection. > > Can some kind soul give me some advice on how to change my ppp > configuration files, and routing for this? > > Thanks. Assuming you want to route to 10.0.2.0/24: Instead of the ``add 0 0 HISADDR'' or ``add default HISADDR'', you can simply ``add 10.0.2.0 255.255.255.0 HISADDR'', or if you're running the latest version, ``add 10.0.2.0/24 HISADDR''. > -- > Stan Brown stanb@netcom.com 770-996-6955 > Factory Automation Systems > Atlanta Ga. > -- > Windows 98: n. > minor patch release for 32-bit extensions and a graphical shell for a > 16-bit patch to an 8-bit operating system originally coded for a 4-bit > microprocessor, written by a 2-bit company that can't stand for 1 bit > of competition. > - > (c) 1998 Stan Brown. Redistribution via the Microsoft Network is prohibited. It's a while since I've seen a posting from you - was it marriage or children ? ;-P -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message