-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20-May-2002/13:13 -0500, "Henning, Brian" <[EMAIL PROTECTED]> wrote: >Thanks for your help and your patients. I contiune to have problems with >this ppp connection. >For this command i don't think i have the correct xxx.xxx.xxx.xxx . > >route add -net xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy ppp0
The easiest way to figure out your office subnet is to ask a sysadmin. There may be a series of subnets, which makes it easier to just use a default route. The easiest way to add a default route is to add defaultroute to the pppd options file /etc/ppp/options. Just remember to add a command to /etc/ppp/ip-down.local to reset the default route to eth0: route add default gw REMOTE_IP eth0 The problem is that you have to hard-code the IP address of the remote gateway. Either that, or stop and restart the interface to allow DHCP to specify the gateway address: ifdown eth0 sleep 1 ifup eth0 That should reestablish that route as it was before the PPP session. >i can dial into my isp just fine from windows. It automatically gives a >dns servers and gateway info. it appears to me that the ip and the >gateway are the same when i am using windows. Windows assumes it's a PPP client. PP is actually a peer-to-peer protocol, and pppd does not make any assumptions about whether it is acting as a client or a server. The result is that you have to tell it more than you'd have to tell a Winbox. The gateway and the local IP are definitely two different numbers. Depending on the Windows version, winipcfg, ipconfig, or "route print" should tell you your local IP, your subnet, and the IP of the gateway. >when i use linux it also appears that there is an entry in the routing >table just after i dial in. Yes, the ppp0 interface is added so that the system knows that it should send packets addressed to the local PPP IP address to the ppp0 interface. All you have to do is tell the system what other packets you want sent to the ppp0 interface (add one or more subnet routes or a default route). >do you have any more helpful hints to try? Try setting a default route. It's not as elegant because it has to be undone later, but it's simpler so it should work. Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux: the choice of a GNU Generation. <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]> iD8DBQE86U6qpCpg3WyUI50RAraPAJ4m7+pd4QOVJB4uE/g7evh6W21ujwCg4gb9 TfcpylyazEw/2FH1uQWJNYA= =N71Q -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
