On Thu, 21 Jun 2007, L M wrote:

Dear All,

in the folowing command and options what is the mean of local IP and remote IP, How can i set them and where?

 pppd -detach crtscts lock <local IP>:<remote IP> /dev/ttyS3 38400

 Regards,

The local/remote IP addresses in this command are the IP addresses that will be assigned to the ppp network interfaces (i.e. ppp0) on the local and remote machine. On a machine, the ppp network interface requires an IP address. There are various ways of assigning that address. One way is to specifically assigned the IP address, which is what the above command is doing. You would replace "<local IP>" with the IP address that the interface should have, such as "192.168.1.1". PPP also allows one side of the connection to provide the IP address to the other side of the connection, this is the <remote IP> in your command. So this would be an IP address, such as "192.168.1.2" that would be provided to the remote machine (the machine on the other end of the serial cable/modem connection).

There is a LOT of PPP configuration information available on the web. I'd probably start with the PPP HOWTO that can be found at <http://tldp.org/HOWTO/PPP-HOWTO/index.html>. There are many, many ways to configure a PPP connection depending upon what you are trying to do, and this HOWTO explains an awful lot of that.


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to