[pptp-server] help, vpn error, boss is gonna kill me if i don't fix

Neale Banks neale at lowendale.com.au
Wed Oct 25 17:36:05 CDT 2000


On Wed, 25 Oct 2000, Jason Osborne wrote:

> Please help. Keep getting a "could not determine local ip address" error and
> a "no network protocols running" error. what could be going wrong. if you
> have any ideas or know where i can find the information i need, please
> reply. u have searched this mailing list and found someone else with a
> similar problem but his problem was never resolved.

Looking at the pppd logs, it appears that "could not determine local ip
address" is due to a caller/server disagreement about IP address (then the
"no network protocols running" is a consequent error).

Perhaps the server is trying to assign addresses from the pools you have
defined in  pptpd.conf but the caller is insisting on choosing its own
addresses for the PPP link?  I'd start with a review of IP addressing and
who's supposed to be choosing what addreses for whom.

Some comments/questions inline...

[...]
> my pptpd.conf file
> ----------------------------------------
[...]
> # TAG: localip
> # TAG: remoteip
> localip 192.168.0.50-80
> remoteip 192.168.1.50-80
[...]
> 
> ok, here is what i get in pptpd.log
> ----------------------------------------------------------------------------
> ----------------------------------------
[...]
> Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CHAP Challenge id=0x1
> <e1cad76f28ba06bb11ddedf7c18a058d21110a179f93b983874dcc6479d48515>, name =
> "server"]
> Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [CHAP Response id=0x1
> <60af5cae9da6328bea5b20500e1eaa32>, name = "rage"]
> Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CHAP Success id=0x1
> "Welcome to server."]
> Oct 25 10:10:05 legacycarpets pppd[15290]: sent [IPCP ConfReq id=0x1 <addr
> 0.0.0.0> <compress VJ 0f 01>]
> Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CCP ConfReq id=0x1 <deflate
> 15> <deflate(old#) 15> <bsd v1 15>]
> Oct 25 10:10:05 legacycarpets pppd[15290]: CHAP peer authentication
> succeeded for rage

Cool: we have passed CHAP authentication.  Now we get to do things like
negotiating IP parameters....

> Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [IPCP ConfReq id=0x1
> <compress VJ 0f 01> <addr 192.168.1.200> <ms-dns1 209.30.0.9> <ms-wins
> 192.168.0.1> <ms-dns3 209.30.0.100> <ms-wins 0.0.0.0>]

Looks like the caller wants to have 192.168.1.200?

> Oct 25 10:10:05 legacycarpets pppd[15290]: sent [IPCP ConfNak id=0x1 <addr
> 192.168.1.50> <ms-dns1 192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins
> 192.168.0.1>]

Now the server NACKs and proposes 192.168.1.50?

[...]
> Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [IPCP ConfAck id=0x1 <addr
> 0.0.0.0> <compress VJ 0f 01>]
[...]
> Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CCP ConfReq id=0x2]
> Oct 25 10:10:06 legacycarpets pppd[15290]: rcvd [IPCP ConfReq id=0x2
> <compress VJ 0f 01> <addr 192.168.1.50> <ms-dns1 192.168.0.1> <ms-wins
> 192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins 192.168.0.1>]

Caller requests 192.168.1.50?

> Oct 25 10:10:06 legacycarpets pppd[15290]: sent [IPCP ConfAck id=0x2
> <compress VJ 0f 01> <addr 192.168.1.50> <ms-dns1 192.168.0.1> <ms-wins
> 192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins 192.168.0.1>]

The server is agreeing to 192.168.1.50?

> Oct 25 10:10:06 legacycarpets pppd[15290]: Could not determine local IP
> address

This is getting confusing, perhaps someone else can clarify?  It appears
that now the server can't figure out what address it should be using for
it's end of the PPP link?

> Oct 25 10:10:06 legacycarpets pppd[15290]: sent [IPCP TermReq id=0x2 "Could
> not determine local IP address"]
> Oct 25 10:10:06 legacycarpets pppd[15290]: rcvd [CCP ConfAck id=0x2]
> Oct 25 10:10:06 legacycarpets pppd[15290]: rcvd [IPCP TermAck id=0x2]

Server's given up in trying to configure IP and brought down IPCP.

> Oct 25 10:10:06 legacycarpets pppd[15290]: sent [LCP TermReq id=0x2 "No
> network protocols running"]
[...]

PPP has decided this is futile and is asking to tear down the connction.

HTH,
Neale.




More information about the pptp-server mailing list