Use an MRU of 1504 with 1500 byte MRRUs

This commit is contained in:
Brian Somers 2000-08-17 14:40:42 +00:00
parent a494f9e1be
commit 5e57afbe99
3 changed files with 6 additions and 0 deletions

View File

@ -572,6 +572,7 @@ mloop:
load loop
set mode interactive
set mrru 1500
set mru 1504 # Room for the MP header
clone 1 2 3
link deflink remove
# dial
@ -583,6 +584,7 @@ mloop-in:
set log tun phase
allow mode direct
set mrru 1500
set mru 1504 # Room for the MP header
# User supplied authentication:
# It's possible to run ppp in the background while specifying a

View File

@ -143,6 +143,7 @@ vpn:
set enddisc LABEL
set speed sync
set mrru 1500
set mru 1504 # Room for the MP header
nat enable yes
set authname vpnname
set authkey vpnkey
@ -187,6 +188,7 @@ vpn-in:
set enddisc label
set speed sync
set mrru 1500
set mru 1504 # Room for the MP header
enable chap
disable lqr
set ifaddr REAL-LOCAL-IP REAL-ASSIGNED-IP

View File

@ -66,6 +66,7 @@ vpn:
set enddisc LABEL
set speed sync
set mrru 1500
set mru 1504 # Room for the MP header
set authname vpnname
set authkey vpnkey
add! default HISADDR
@ -89,6 +90,7 @@ vpn-in:
set enddisc label
set speed sync
set mrru 1500
set mru 1504 # Room for the MP header
enable chap
disable lqr
set ifaddr 127.0.0.2 127.0.0.3