Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 1999 13:45:27 -0800 (PST)
From:      Dan <dan@expresscopy.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   PPP Dynamic, but not Static
Message-ID:  <Pine.BSF.4.05.9902111334260.3787-100000@caffeine.expresscopy.com>

next in thread | raw e-mail | index | archive | help
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


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