close
Warning:
Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Apr 17, 2013, 1:33:37 PM (10 years ago)
- Author:
-
seskar
- Comment:
-
—
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
20 | 20 | |
21 | 21 | {{{ |
22 | | auto br0 |
23 | | iface br0 inet static |
| 22 | iface br0 inet static |
| 23 | address 10.43.0.253 |
| 24 | netmask 255.255.0.0 |
| 25 | bridge_ports eth3 |
| 26 | |
24 | 27 | }}} |
25 | 28 | |
… |
… |
|
29 | 32 | auto br0 |
30 | 33 | iface br0 inet static |
| 34 | address 10.43.21.253 |
| 35 | netmask 255.255.0.0 |
| 36 | bridge_ports eth0 |
31 | 37 | }}} |
32 | 38 | ==== VTUN Master Configuration ==== |
… |
… |
|
67 | 73 | } |
68 | 74 | |
69 | | landing1 { |
| 75 | slave1 { |
70 | 76 | passwd XXXXXXXXX; |
71 | 77 | type ether; |
… |
… |
|
87 | 93 | } |
88 | 94 | }}} |
| 95 | |
| 96 | ==== VTUN Slave Configuration ==== |
| 97 | |
| 98 | '''/etc/default/vtun''' |
| 99 | {{{ |
| 100 | RUN_SERVER=yes |
| 101 | # SERVER_ARGS="-P 5000" |
| 102 | CLIENT0_NAME=slave1 |
| 103 | CLIENT0_HOST=128.6.192.147 |
| 104 | }}} |
| 105 | |
| 106 | '''/etc/vtund.conf''' |
| 107 | {{{ |
| 108 | options { |
| 109 | # Syslog facility |
| 110 | syslog daemon; |
| 111 | |
| 112 | # Path to various programs |
| 113 | ifconfig /sbin/ifconfig; |
| 114 | route /sbin/route; |
| 115 | firewall /sbin/iptables; |
| 116 | ip /sbin/ip; |
| 117 | } |
| 118 | |
| 119 | default { |
| 120 | compress no; |
| 121 | encrypt no; |
| 122 | speed 0; |
| 123 | } |
| 124 | |
| 125 | slave1 { |
| 126 | passwd XXXXXXXXXXX; |
| 127 | type ether; # Ethernet tunnel |
| 128 | up { |
| 129 | # Connection is Up |
| 130 | ifconfig "%% up"; |
| 131 | program "brctl addif br0 %%"; |
| 132 | }; |
| 133 | down { |
| 134 | # Connection is Down |
| 135 | ifconfig "%% down"; |
| 136 | }; |
| 137 | } |
| 138 | }}} |
| 139 | |