From owner-freebsd-questions Fri Feb 12 13:05:22 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06034 for freebsd-questions-outgoing; Fri, 12 Feb 1999 13:05:22 -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 NAA06002 for ; Fri, 12 Feb 1999 13:05:15 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id UAA25026; Fri, 12 Feb 1999 20:58:03 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.2) with ESMTP id SAA55093; Fri, 12 Feb 1999 18:59:22 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199902121859.SAA55093@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Dan cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP Dynamic, but not Static In-reply-to: Your message of "Thu, 11 Feb 1999 13:45:27 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 12 Feb 1999 18:59:21 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please read the FAQ at http://www.FreeBSD.org/FAQ/userppp.html. If it doesn't help, please post the relevant logs. > In setting up a static IP address for my home machine to dial into, > I ran into the following problem. When dialing up to the static > entry in ppp.conf, I get the 'no route to host' when ftping > and HDLC errors in /etc/ppp.log. > > > static: > set phone 1234567 > set login2 > set log chat phase > set authname MyName > set authkey MyKey > set timeout 300 > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 > add default HISADDR > enable dns > > I've tried replacing the numbers in there with the ip assigned to > me by the server, I've tried changing the 255.255.255.255 to > 255.255.255.0. > > Dialing up to get a dynamic IP with the following entry works fine: > > dynamic: > set phone 1234567 > set login1 > set log chat phase > set authname MyName > set authkey MyKey > set timeout 300 > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add 0 0 HISADDR > enable dns > > > Thanks, > > Dan Herrera -- 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