On Tue, Jan 28, 2003 at 11:25:47PM +0530, R. S. Patil wrote:
> I want to write a generic ip-up.local in which i want to add Route to Remote
> Network. the Command is as Follows
> 
> route add -net <base IP for Remote network>  netmask <NM for Remote Net> gw
> <IP assigned in options.ttyS0>
> 
> so I must know 1> Remote IP of Dialed in M/C and Netmask for that IP

The remote IP address (and a host of other parameters) are passed to
the ip-up script as command line arguments.

If you want the LAN side network numbers of your peer, unfortunately
that is not possible (without writing custom software, that is).

Read pppd(8) man page for details.

Binand

-- 
Russian Roulette with Unix:
while :; do kill $RANDOM &> /dev/null && break || sleep 1; done


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to