|No. 1692||Re: Re: Re: Re: EZP-250 send IP Address to peer||2019-08-30|
I have tried to assign the Peer IP Address by PA command according your suggestion, but it didn't work.
See all the commands I sent and the messages received from EZP-250 below:
~ÿ}#€ý}!Ð} }$Ôê~~ÿ}#€ý}!Ð} }$Ôê~
![0:0:5:21.37] ipcp: sent: Configure-Request
![0:0:5:21.40] ipcp: rcvd: Configure-Request id=199
![0:0:5:21.43] ipcp: sent: Configure-Ack
![0:0:5:21.45] ipcp: rcvd: Configure-Ack id=2
![0:0:5:21.48] ipcp: IPCP negotiation complete.
![0:0:5:21.50] local ip: 192.168.0.2
![0:0:5:21.51] peer ip: 0.0.0.0
Do you have another suggestion?
> Sollae Systems wrote:
> Dear Marcelo,
> We would like to make it clearer regarding your inquiry.
> First, about initializing TCP connection on EZP-250, after modem dialing process is completed, the "UP" command needs to be sent to EZP-250, followed by "TO" command.
> For more detail, you can refer to page 11, 43 and 39 of EZP-250 User Manual https://www.eztcp.com/en/download/pds_files/ezp250aen.pdf.
> The "SO command" is used to change the IPCP parameters between EZP-250 and PPP server.
> It can not be used to make the EZP-250 to send IP configuration to the equipment as in your case.
> If you want to set the remote host IP address of EZP-250, you may use "PA" (Peer Host Address) command (page 26, EZP-250 User Manual).
> The command would probably be: !PA 192.168.30.2
> Please feel free to contact us if you have any inquiries.
> Thank you very much.
> Best Regards,
> > Marcelo Medici wrote:
> > ------------------------------------
> > I want to connect the EZP to an equipment that has the following requirements:
> > -The data link layer (Layer 2 of the OSI model) shall use the PPP, as specified in Internet RFC 1661. This equipment shall initiate communications. No authentication shall be used, and no compression shall be used. The IP address is assigned to this equipment by EZP-250 by use of Internet Protocol Control Protocol (IPCP).
> > -The network layer (Layer 3 of the OSI model) shall use IP, as specified in Internet RFC 1332 and Internet RFC 791 for IP v4.
> > -The transport layer (Layer 4 of the OSI model) shall use TCP, as specified in Internet RFC 793.
> > So, as the IPCP is a Network Control Protocol (NCP) for establishing and configuring Internet Protocol over a Point-to-Point Protocol link and it is responsible for configuring the IP addresses, I guess the "SO Command" could be used for it.
> > Is there a way to make the EZP-250 to send the IP address and NetMask for this equipment by IPCP?
> > This is the log of IPCP (Flag 0004 of L1/L0 debug flags):
> > ![0:1:4:22.27] ipcp: sent: Configure-Request
> > ![0:1:4:22.28] >>
> > ![0:1:4:22.30] ipcp: rcvd: Configure-Request id=204
> > ![0:1:4:22.31] >>
> > ![0:1:4:22.33] ipcp: sent: Configure-Ack
> > ![0:1:4:22.35] ipcp: rcvd: Configure-Ack id=2
> > ![0:1:4:22.37]
> > ![0:1:4:22.38] ipcp: IPCP negotiation complete.
> > ![0:1:4:22.40] local ip: 192.168.30.1
> > ![0:1:4:22.41] peer ip: 0.0.0.0
> > I want to configure the Peer IP to 192.168.30.2.
> > If you need further information, let me know.
> > Kind regards,
> > Marcelo Medici
> > > Sollae Systems wrote:
> > > ------------------------------------
> > > Dear Marcelo,
> > >
> > > Thank you for choosing our products.
> > >
> > > Regarding your inquiry, we would like to ask for more information.
> > > Could you please let us know more detail about your working case?
> > > What IP configuration data do you need the EZP-250 to send to another device?
> > >
> > > For your information, the "SO command - IPCP" is for the communication between EZP-250 and PPP servers, so probably it can not be used in this case.
> > >
> > > Thank you very much.
> > > Best Regards,
> > >
> > >
> > > > Marcelo Medici wrote:
> > > > ------------------------------------
> > > > Hello,
> > > >
> > > > I'sm trying to connect the EZP-250 with a device(peer), but I need that EZP-250 sends the IP configuration to the device.
> > > > I saw on the document "ezTCP/PPP Special Commands Ver. 1.1" something related with "SO Command - IPCP". Is this option could be used to do it? Are there another option to do this?
> > > >
> > > > Many thanks
> > > >
> > > > Marcelo