Baiju Mathew forced the electrons to say:
> 0.0.0.0 is a loopback address.

Huh?

> route add default gw your_alloted_IP

Well, that should either be

route add -net default gw your_ppp_peer_ip dev ppp0

or

route add -net default netmask 255.255.255.255 dev ppp0

> your_allotted_IP can be found by running the command 'ifconfig ppp0'.

True, but the two IP addresses of the ppp link is also passed to the ip-up
script as parameters 4 and 5 respectively. You can refer to them as $4 and $5
in the script.

Also, pass the option defaultroute to pppd to achieve the same result.

Binand

-- 
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])

--------------------------------------------------------------------------
LI is all for free speech, but this list was created for a purpose --
to help popularise Linux in India. If your messages are counterproductive
to that purpose, your privileges to submit messages can and will be revoked.

Reply via email to