| jan96.tar |
Figure 3: Token-Ring proxy arp pppd kludge
/etc/ppp/ip-up: #!/bin/sh # pppd calls this file when TCP/IP comes up. It supplies parameters: # interface-name tty-device speed local-ip-address remote-ip-address /etc/ppp/arp -d 167.195.160.115 # remove ppp's Ethernet hardware type /etc/ppp/arp -t tr -s 167.195.160.115 00:60:8C:24:A2:BD pub # add "by hand" # Use your own IP addresses and hardware addresses, please! # you can get your own hardware address ##:##:## from ifconfig's output exit /etc/ppp/ip-down: # called by pppd when ip goes down. Same parameters supplied as ip-up. # For some reason, with ip-up kludge, gateway daemon needs to be restarted # when the link goes down... /sbin/gdc restart
|