|       After I dailed 8888 in Linux, the PPP connecting was established.
| I see the ppp0 interface is up, and I can ping the server at
| shtel.net.cn 
| successfully. But, I cannot ping to any other IP. So the network is no
| use 
| at all.
|       When I bring up a eth0 interface , I can ping to any computers in
| local network, but ppp seems to be diffrent. What should I do to
| access other 
| computers in internet via a ppp connection? I know you are network
| masters. Please
| explain the mechanism to me.

Sounds like ppp has not established itself as the default route.

There is a routing table you can view with the command:

        netstat -rn

which defines how the IP subsystem dispatches packets.

For most dialup scenarios PPP should establish the ppp interface as the
default route (i.e.  the interface to which to send a packet if there
is nothing more specific in the routing table), because it is the route
to the outside world.

The typical dialin scenario has
        - a route to the ppp server on ppp0
        - a route to your local LAN's network on eth0 (if you have a LAN)
        - a default route on ppp0

It may be that
        - your pppd config has the "defaultroute" option off
        - your LAN has been set up as the default route (usually
          not what you want)

We can;t tell you much more without seeing the results of "netstat -rn"
and/or the contents of your ppp config. The ppp daemon can be mode to
do plenty of logging, too, which is also very useful for tracking these
things. Pppd is pretty good as logging useful things.

Cheers,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

The simple pleasures a man has to give up, just because he's President.
        - Lyndon B. Johnson, upon his prohibition by the Secret Service from
          urinating off the back porch of his Pedernales ranch house, 1965.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to