This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Subject: pppd supposed to get dynamic IP, getting private local IP instead From: romain@icp.siemens.com (Romain Kang) Date: Mon, 14 Feb 2000 12:37:44 -0800 (PST) When I logged into the NT gateway, I used to get: > Aug 18 22:23:59 fud pppd[1249]: sent [IPCP ConfReq id=0x1 <addr 192.168.11.13> <compress VJ 0f 01>] > Aug 18 22:23:59 fud pppd[1249]: rcvd [IPCP ConfNak id=0x1 <addr 129.214.35.131>] So the correct address (129.214.35.131) was assigned to my ppp interface. 192.168.11.13 is the address on my home ethernet. Starting this morning, I started to get: > Feb 14 12:22:05 fud pppd[4957]: sent [IPCP ConfReq id=0x1 <addr 192.168.11.13> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] > Feb 14 12:22:05 fud pppd[4957]: rcvd [IPCP ConfNak id=0x1 <ms-dns1 129.214.251.140> <ms-dns3 129.214.251.141>] > Feb 14 12:22:05 fud pppd[4957]: sent [IPCP ConfReq id=0x2 <addr 192.168.11.13> <compress VJ 0f 01> <ms-dns1 129.214.251.140> <ms-dns3 129.214.251.141>] > Feb 14 12:22:06 fud pppd[4957]: rcvd [IPCP ConfAck id=0x2 <addr 192.168.11.13> <compress VJ 0f 01> <ms-dns1 129.214.251.140> <ms-dns3 129.214.251.141>] This doesn't work, at least because of routing issues. How do I get pppd not to insist on the local IP? For the time being, I am unconfiguring the ethernet and commenting the line out of /etc/hosts, but this isn't viable in the long term... Thanks, Romain Kang Siemens Info/Comm Products, San Jose R&D romain@icp.siemens.com formerly Pyramid Technology Corporation Disclaimer: I represent myself alone, except where otherwise indicated. === Subject: Re: pppd supposed to get dynamic IP, getting private local IP instead From: romain@icp.siemens.com (Romain Kang) Date: Mon, 14 Feb 2000 22:00:47 -0800 (PST) Duh, the answer was on the man page for pppd: noipdefault Disables the default behaviour when no local IP address is specified, which is to determine (if possible) the local IP address from the hostname. With this option, the peer will have to supply the local IP address during IPCP negotiation (unless it specified explicitly on the command line or in an options file). ===