Strange IPCP-Negotiation??

Strange IPCP-Negotiation??

Post by Wolfgang Pedo » Sat, 20 May 2000 04:00:00



Hi,

ive got a microcontroller which is ment to be a ppp-server. When i try
to connect over a direct line everything works until IPCP-Negotiation.
Here is the part of syslog (client-side):

Remote message: Welcome
sent [IPCP ConfReq id=0x1 <addr 10.10.2.163>]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x1 <addr 10.10.2.163>]
sent [IPCP ConfReq id=0x2 <addrs 10.10.2.163 0.0.0.0>]
rcvd [IPCP ConfReq id=0x2]
sent [IPCP ConfAck id=0x2]
rcvd [IPCP ConfNak id=0x2 <addrs 10.10.2.1 10.10.2.250>]
sent [IPCP ConfReq id=0x3 <addrs 10.10.2.1 10.10.2.250>]
rcvd [IPCP ConfAck id=0x3 <addrs 10.10.2.1 10.10.2.250>]
sent [IPCP TermReq id=0x4 "Could not determine remote IP address"]
rcvd [IPCP TermAck id=0x4]

after that lcp goes down and the connection is terminated....
My local machine (ppp-client) has 10.10.2.163 on eth0, the options file
locks like this:

-vj
user dialin
debug
refuse-chap
ipcp-accept-local
ipcp-accept-remote

The server should give me both IPs....
Can anyone explain me whats happening? I dont understand this IPCP-
Negotiation....

mfG
Wolfgang

 
 
 

Strange IPCP-Negotiation??

Post by James Carlso » Sat, 20 May 2000 04:00:00



> ive got a microcontroller which is ment to be a ppp-server. When i try
> to connect over a direct line everything works until IPCP-Negotiation.
> Here is the part of syslog (client-side):

> Remote message: Welcome
> sent [IPCP ConfReq id=0x1 <addr 10.10.2.163>]
> rcvd [IPCP ConfReq id=0x1]

What is this peer device?  It's failing to reveal its IP address.
That's really broken.

Quote:> sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
> rcvd [IPCP ConfRej id=0x1 <addr 10.10.2.163>]
> sent [IPCP ConfReq id=0x2 <addrs 10.10.2.163 0.0.0.0>]
> rcvd [IPCP ConfReq id=0x2]
> sent [IPCP ConfAck id=0x2]
> rcvd [IPCP ConfNak id=0x2 <addrs 10.10.2.1 10.10.2.250>]
> sent [IPCP ConfReq id=0x3 <addrs 10.10.2.1 10.10.2.250>]
> rcvd [IPCP ConfAck id=0x3 <addrs 10.10.2.1 10.10.2.250>]
> sent [IPCP TermReq id=0x4 "Could not determine remote IP address"]
> rcvd [IPCP TermAck id=0x4]

You should be able to do something like "10.10.2.1:10.10.2.2" (pick
something meaningful at your site) to specify addresses even though
the peer isn't doing it.

Quote:> The server should give me both IPs....
> Can anyone explain me whats happening? I dont understand this IPCP-
> Negotiation....

The peer is simply broken.  You might try "noipdefault" as a
last-ditch attempt, but I think the problem is that the peer system
needs to be replaced with a working implementation.

--

SUN Microsystems / 1 Network Drive         71.234W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.497N   Fax +1 781 442 1677
"PPP Design and Debugging" --- http://people.ne.mediaone.net/carlson/ppp

 
 
 

Strange IPCP-Negotiation??

Post by Wolfgang Pedo » Sat, 20 May 2000 04:00:00




> > ive got a microcontroller which is ment to be a ppp-server. When i try
> > to connect over a direct line everything works until IPCP-Negotiation.
> > Here is the part of syslog (client-side):

> > Remote message: Welcome
> > sent [IPCP ConfReq id=0x1 <addr 10.10.2.163>]
> > rcvd [IPCP ConfReq id=0x1]

> What is this peer device?  It's failing to reveal its IP address.
> That's really broken.

Hi, the peer is a Siemens 161 Microcontroller (16Bit) with RT-OS and TCP-
IP Stack. Thanks for your answer, you really helped me to find the point
of the problem :)

greetings
Wolfgang

 
 
 

Strange IPCP-Negotiation??

Post by Wolfgang Pedo » Wed, 24 May 2000 04:00:00


Hi again,

We solved the Problem now! After changing the stack and recompiling the
whole thing works now. Thank you very much, you showed me the problem!

greetings
Wolfgang