Installing and Administering PPP
Chapter 4 85
Common pppd Options
IP Routing Tips
route add net 134.19.0.0 gate-b 1
ws-a should have a route like
route add net 134.19.14.0 gate-a 1
or, again depending upon the structure of LAN b, perhaps
route add net 134.19.0.0 gate-a 1
Connecting a Host or LAN to the Internet
If your LAN is connected to the Internet, or if you have arranged an
account at a Point Of Presence (POP) of a PPP or SLIP-talking Internet
connectivity vendor (say foo.net), then you should arrange for your
default route to point through the gateway at the other end of the PPP
connection. If hotel supported a modem to call a POP, it would start its
PPP daemon like
pppd hotel:pop.foo.net auto idle 240
and would arrange a route as
route add default pop.foo.net 1
Any hosts on the LAN ‘behind’ hotel would set a route like
route add default hotel 1
A machine’s default route should point to the next machine along its
path “outward” to the Internet. If hotel were a remote machine dialing
into one machine in a complex corporate internet, its default route
should point to that hub machine, expecting that the hub will deal with
the issues of routing hotel’s packets to their destination, whether on the
LAN or elsewhere on the corporate internet or onto the Internet.