Project

General

Profile

Bug #1943 » mpd_wan_not_working.conf.txt

David Burgess, 10/10/2011 06:26 AM

 
1
startup:
2
	# configure the console
3
	set console close
4
	# configure the web server
5
	set web close
6

    
7
default:
8
pppoeclient:
9
	create bundle static wan
10
	set iface name pppoe0
11
	set iface route default
12
	set iface disable on-demand
13
	set iface idle 0
14
	set iface enable tcpmssfix
15
	set iface up-script /usr/local/sbin/ppp-linkup
16
	set iface down-script /usr/local/sbin/ppp-linkdown
17
	set ipcp ranges 0.0.0.0/0 0.0.0.0/0
18
	#log -bund -ccp -chat -iface -ipcp -lcp -link
19

    
20
	create link static wan_link0 pppoe
21
	set link action bundle wan
22
	set link enable multilink
23
	set link keep-alive 10 60
24
	set link max-redial 0
25
	set link disable chap pap
26
	set link accept chap pap eap
27
	set link disable incoming
28
	set link mtu 1492
29
	set auth authname "apt.get@teksavvy.com"
30
	set auth password password
31
	set pppoe service ""
32
	set pppoe iface em0_vlan201
33
	open
34

    
35

    
36
	create link static wan_link1 pppoe
37
	set link action bundle wan
38
	set link enable multilink
39
	set link keep-alive 10 60
40
	set link max-redial 0
41
	set link disable chap pap
42
	set link accept chap pap eap
43
	set link disable incoming
44
	set link mtu 1492
45
	set auth authname "apt.get@teksavvy.com"
46
	set auth password password
47
	set pppoe service ""
48
	set pppoe iface em0_vlan202
49
	open
50

    
51

    
52
	create link static wan_link2 pppoe
53
	set link action bundle wan
54
	set link enable multilink
55
	set link keep-alive 10 60
56
	set link max-redial 0
57
	set link disable chap pap
58
	set link accept chap pap eap
59
	set link disable incoming
60
	set link mtu 1492
61
	set auth authname "apt.get@teksavvy.com"
62
	set auth password password
63
	set pppoe service ""
64
	set pppoe iface em0_vlan203
65
	open
66

    
67

    
68
	create link static wan_link3 pppoe
69
	set link action bundle wan
70
	set link enable multilink
71
	set link keep-alive 10 60
72
	set link max-redial 0
73
	set link disable chap pap
74
	set link accept chap pap eap
75
	set link disable incoming
76
	set link mtu 1492
77
	set auth authname "apt.get@teksavvy.com"
78
	set auth password password
79
	set pppoe service ""
80
	set pppoe iface em0_vlan205
81
	open
82

    
83

    
84
	create link static wan_link4 pppoe
85
	set link action bundle wan
86
	set link enable multilink
87
	set link keep-alive 10 60
88
	set link max-redial 0
89
	set link disable chap pap
90
	set link accept chap pap eap
91
	set link disable incoming
92
	set link mtu 1492
93
	set auth authname "apt.get@teksavvy.com"
94
	set auth password password
95
	set pppoe service ""
96
	set pppoe iface em0_vlan206
97
	open
98

    
99

    
100
	create link static wan_link5 pppoe
101
	set link action bundle wan
102
	set link enable multilink
103
	set link keep-alive 10 60
104
	set link max-redial 0
105
	set link disable chap pap
106
	set link accept chap pap eap
107
	set link disable incoming
108
	set link mtu 1492
109
	set auth authname "apt.get@teksavvy.com"
110
	set auth password password
111
	set pppoe service ""
112
	set pppoe iface em0_vlan207
113
	open
114

    
(4-4/6)