Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 1998 07:47:51 -0400
From:      Stephen Derdau <sderdau@bit-net.com>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Frank Griffith <frankg@idfw.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Static vs Dynamic IP address setups in ppp.conf
Message-ID:  <35977EE7.F428D0F9@bit-net.com>
References:  <199806290712.IAA25579@awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Somers wrote:
> 
> > Tomorrow is a big day. I finally get my static IP address assigned to
> > me from my ISP.  I just have one question. What changes do I need to
> > make in the /etc/ppp/ppp.conf file in order to hook up statically instead
> > of dynamically?

You probably won't have to change anything   Your number should
be assigned to you from your username and password when you log on.
It will assign your static ip address to the port you'll log into 
do a netstat -rn when you log in . You'll see the route 
the default gateway has . That should be your static ip address.
If you have to change anything in ppp.conf it would be the
set ifaddress 111.111.111.111  222.222.222.222 255.255.255.0
111.111.111.111 being your ip address and 222.222.222.222 the gateway
address of your isp

Here is my ppp.conf file...
<snip>
set authname USERNAME HERE
 set authkey PASSWORD HERE
 set phone !!!!!!!!
 set timeout 0
 set openmode active
 accept pap 
 set ifaddr 208.146.12.123/0 208.146.12.64/0 255.255.255.0
 delete ALL
 add 0 0 208.146.12.64

*** I still have the /0 after my ip and my isp's gateway addresses 

I'm new to all this stuff my terminology may not be correct.
However, I believe this info is pretty accurate.
Have fun 

O by the way make sure you have the newest ppp software
downloadable from http://www.awfulhak.org/ppp.html

Have fun
/SD
FreeBSD 2.2.6-STABLE #0: Sat Jun 27 15:11:12 EDT 1998
"If it's not one thing it's something else"




> None.  You can remove some stuff if you like, but it's not necessary.
> There's loads of documentation around on this.
> 
> --
> Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
>       <http://www.Awfulhak.org>;
> 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

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?35977EE7.F428D0F9>