Re: could not determine remote ip address
Kostas Sfakiotakis <[email protected]> Wed, 10 Aug 2005 01:22:28 +0300
| Newsgroups | gmane.linux.redhat.ppp |
|---|---|
| Message-ID | <[email protected]> |
Greetings Michael , [email protected] wrote: > who knows about the IPCP negotiation of ppp? > I've searched in this and other newsgroups for this error message: > Could not determine remote IP Address, > but did not find a solution. Got this message when trying to start pppd. > > Just before this message it gives in the debug log: > rcvd [IPCP ConfAck id=0x2 <addr 62.59.16.49> <compress VJ 0f 01> Would i be asking too much if i would ask you to sent the entire negotiation ? OR at least all the lines of the negotiation of ppp that speak about IPCP . Observe for a while one of my negotiations Aug 10 00:37:42 Magellan pppd[2378]: sent [IPCP ConfReq id=0x1 <addr 10.0.0.2> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns 3 0.0.0.0>] Observer the non-routable IP 10.0.0.2 , when my dialin server sees an non-routable IP , he understands that he must assign a new routable IP Aug 10 00:37:42 Magellan kernel: PPP BSD Compression module registered Aug 10 00:37:42 Magellan kernel: PPP Deflate Compression module registered Aug 10 00:37:42 Magellan pppd[2378]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] CCP is the compression control protocol , which we are not intrested in right now . Aug 10 00:37:42 Magellan pppd[2378]: rcvd [IPCP ConfReq id=0x1 <addr Remote.IP>] Here with the ConfReq , my dialin server says that he will configure my IP Address and the remote IP ( that will provide my with my new IP is addr Remote.IP ) Aug 10 00:37:42 Magellan pppd[2378]: sent [IPCP ConfAck id=0x1 <addr Remote.IP>] now when the PPP Daemon on my computer receives that he ACKnowledges with the above line , saying that he will ACCEPT the configuration provided by addr Remote.IP Aug 10 00:37:42 Magellan pppd[2378]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>] Aug 10 00:37:42 Magellan pppd[2378]: sent [IPCP ConfReq id=0x2 <addr 10.0.0.2> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] Now with this line my PPP Daemon says to my Dialin Server i want 3 IPs 1. My new IP 2. The IP of the Primary DNS Server 3. The IP of the Secondary DNS Server Aug 10 00:37:42 Magellan pppd[2378]: rcvd [LCP ProtRej id=0x45 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] Aug 10 00:37:42 Magellan pppd[2378]: rcvd [IPCP ConfNak id=0x2 <addr Local.IP> <ms-dns1 IP.of.DNS.Server.1> <ms-dns3 IP.of. DNS.Server.2>] Here the configuration with id=0x2 get's rejected because it contained my initial non routable IP Address , among with the rejection though , the Dialin Server provides me the correct values. Aug 10 00:37:42 Magellan pppd[2378]: sent [IPCP ConfReq id=0x3 <addr Local.IP> <ms-dns1 IP.of.DNS.Server.1> <ms-dns3 IP.of.DNS. Server.2>] Now i make a new request to my Dialin Server providing the IP's that were just received . Aug 10 00:37:42 Magellan pppd[2378]: rcvd [IPCP ConfAck id=0x3 <addr Local.IP> <ms-dns1 IP.of.DNS.Server.1> <ms-dns3 IP.of.DNS. Server.2>] Now observe that i receive a ConfAck with the id=0x3 , which says that my Dialin Server ACKnowledges, agrees to my request and so i have the IP Address that i will use during this internet session , the IP of the Primary DNS Server and the IP of the Secondary IP Server . Aug 10 00:37:42 Magellan pppd[2378]: local IP address Local.IP Aug 10 00:37:42 Magellan pppd[2378]: remote IP address Remote.IP Aug 10 00:37:42 Magellan pppd[2378]: primary DNS address IP.of.DNS.Server.1 Aug 10 00:37:42 Magellan pppd[2378]: secondary DNS address IP.of.DNS.Server.2 The above is just the printout of the configuration that was just received . All the above are valid for my dialup connection ( i use a software modem ) . My IP is assigned dynamically each time i connect . Compare the lines i just gave you and sent back yours Kind Regards, Kostas