ppp.conf.span-isp (5e57afbe996e40ec80e4e1c3558ad7c41a4b05fb) | ppp.conf.span-isp (e40db2c46ecb75fdaf399d0a439ae31e501c097c) |
---|---|
1# $FreeBSD$ 2 3# This advanced ppp configuration file explains how to implement 4# the following: 5# 6# ------------- ------------- ------------- 7# | host1 | | host2 | | host3 | 8# ------------- ------------- ------------- --- 101 unchanged lines hidden (view full) --- 110 set login 111 set redial 3 5 112 set timeout 0 113 enable lqr 114 set lqrperiod 15 115 116isp1: 117 set phone "1234567" | 1# $FreeBSD$ 2 3# This advanced ppp configuration file explains how to implement 4# the following: 5# 6# ------------- ------------- ------------- 7# | host1 | | host2 | | host3 | 8# ------------- ------------- ------------- --- 101 unchanged lines hidden (view full) --- 110 set login 111 set redial 3 5 112 set timeout 0 113 enable lqr 114 set lqrperiod 15 115 116isp1: 117 set phone "1234567" |
118 set authname isp1name 119 set authkey isp1key | 118 set authname "isp1name" 119 set authkey "isp1key" |
120 add! RIP1/32 HISADDR 121 122isp2: 123 set phone "2345678" | 120 add! RIP1/32 HISADDR 121 122isp2: 123 set phone "2345678" |
124 set authname isp2name 125 set authkey isp2key | 124 set authname "isp2name" 125 set authkey "isp2key" |
126 add! RIP2/32 HISADDR 127 128ispN: 129 set phone "3456789" | 126 add! RIP2/32 HISADDR 127 128ispN: 129 set phone "3456789" |
130 set authname ispNname 131 set authkey ispNkey | 130 set authname "ispNname" 131 set authkey "ispNkey" |
132 add! RIPN/32 HISADDR 133 134 135# Our MP version of ppp. vpn is a generic label used by each of the 136# other vpn invocations by envoking ppp with both labels (see 137# ppp.linkup.span-isp). 138# Each ``set device'' command tells ppp to use UDP packets destined for 139# the given IP/port as the link (transport). The routing table will 140# ensure that these UDP packets use the correct ISP connection. 141 142vpn: 143 set enddisc LABEL 144 set speed sync 145 set mrru 1500 146 set mru 1504 # Room for the MP header 147 nat enable yes | 132 add! RIPN/32 HISADDR 133 134 135# Our MP version of ppp. vpn is a generic label used by each of the 136# other vpn invocations by envoking ppp with both labels (see 137# ppp.linkup.span-isp). 138# Each ``set device'' command tells ppp to use UDP packets destined for 139# the given IP/port as the link (transport). The routing table will 140# ensure that these UDP packets use the correct ISP connection. 141 142vpn: 143 set enddisc LABEL 144 set speed sync 145 set mrru 1500 146 set mru 1504 # Room for the MP header 147 nat enable yes |
148 set authname vpnname 149 set authkey vpnkey | 148 set authname "vpnname" 149 set authkey "vpnkey" |
150 add! default HISADDR 151 disable deflate pred1 lqr 152 deny deflate pred1 153 154vpn1: 155 rename 1 156 set device RIP1:ppp/udp 157 --- 37 unchanged lines hidden --- | 150 add! default HISADDR 151 disable deflate pred1 lqr 152 deny deflate pred1 153 154vpn1: 155 rename 1 156 set device RIP1:ppp/udp 157 --- 37 unchanged lines hidden --- |