|
|
||
|
||
|
|
| Red Hat Documentation: LDP FAQs |
14. Network routing issues (using PPP as a \cheap\ bridge)14.1 Slattach and ifconfig don't work as they do with SLIPDo not use slattach and ifconfig with PPP. These are used for SLIP. The pppd process does these functions at the appropriate time. These must occur after the LCP and IPCP protocols have been exchanged. You can not replace pppd with slattach and ifconfig. Most of the protocol support for PPP is in the pppd process. Only the IP and IPX processing is in the kernel. The host route to the remote system will be automatically added by pppd. There is no option to NOT add the route. The pppd process will terminate if the route could not be added. The default route may or may not be added. This is controlled by the option \defaultroute\. If you have a default route, it will not be changed. If you must do routing for an entire network, then put the route command into the /etc/ppp/ip-up script. The parameters to the script are:
14.2 I want the route to the network and not the route to the host.On sunsite there is a package called devinfo.tar.gz. It contains some useful little programs which will extract the data from the device and to do various things with the dotted IP addresses. The documentation is in the man pages in the file. For example, if you want to route the entire IP domain to the remote, the following may be used in /etc/ppp/ip-up. Of course, if the values are not variable, then simply use the appropriate entry in the route command.
Previous Next Table of Contents |
|
|