1 | # template, deze vijf regels verwijderen
|
---|
2 | # regels met #? aanpassen en #? verwijderen
|
---|
3 | # de letters x,y,n,a,b,c en ri vervangen
|
---|
4 | # <tekst> vervangen door juiste tekst zonder <>
|
---|
5 | # dus..CNode<nodenaam> wordt CNodeExample
|
---|
6 | #
|
---|
7 | #
|
---|
8 | # Read by /usr/local/sbin/wireless-up.pl
|
---|
9 | #
|
---|
10 | # config CNodeTested
|
---|
11 | $node_config_version="1";
|
---|
12 | $status='planned';
|
---|
13 | $genesis_control="YES";
|
---|
14 | $gw_open='closed';
|
---|
15 |
|
---|
16 | $OS='FreeBSD';
|
---|
17 | $release="5.0-RELEASE";
|
---|
18 |
|
---|
19 | $location='testnode op apothekersdijk';
|
---|
20 | $X='93513';
|
---|
21 | $Y='463973';
|
---|
22 |
|
---|
23 | $nodetype='CNode';
|
---|
24 | $nodename='Tested';
|
---|
25 | $master_ip='172.17.163.1';
|
---|
26 |
|
---|
27 | ##########################ethernet######################
|
---|
28 | $config{'ep0'}=sprintf <<EP0; # Ethernet
|
---|
29 | TYPE=ethernet
|
---|
30 | DESC=link naar test node
|
---|
31 | SDESC=eth
|
---|
32 | IP=172.17.163.65/28
|
---|
33 | DHCP=no
|
---|
34 | EP0
|
---|
35 |
|
---|
36 | ########################alias interface########################
|
---|
37 | $config{'ep0:0'}=sprintf <<EP00;
|
---|
38 | TYPE=ethernet
|
---|
39 | DESC=Link naar test node
|
---|
40 | SDESC=2testnode
|
---|
41 | IP=172.16.0.226/30
|
---|
42 | POINT_TO_POINT=172.16.0.225
|
---|
43 | DHCP=no
|
---|
44 | EP00
|
---|
45 |
|
---|
46 | ########################alias interface########################
|
---|
47 | $config{'ep0:1'}=sprintf <<EP01;
|
---|
48 | TYPE=ethernet
|
---|
49 | DESC=CENTRUMpublic
|
---|
50 | SDESC=none
|
---|
51 | IP=172.17.161.100/28
|
---|
52 | #POINT_TO_POINT=172.16.0.225
|
---|
53 | DHCP=no
|
---|
54 | EP01
|
---|
55 |
|
---|
56 | #########################eerste wireless kaart#######################
|
---|
57 | $config{'wi0'}=sprintf <<EW0; # Omni
|
---|
58 | TYPE=wireless
|
---|
59 | DESC=Link naar Test1
|
---|
60 | SDESC=2test1
|
---|
61 | MODE=managed
|
---|
62 | ESSID=il-1.test.wleiden.net
|
---|
63 | IP=172.16.1.10/30
|
---|
64 | POINT_TO_POINT=172.16.1.9
|
---|
65 | DHCP=no
|
---|
66 | EW0
|
---|
67 |
|
---|
68 |
|
---|
69 | #########################tweede wireless kaart#######################
|
---|
70 | $config{'wi1'}=sprintf <<EW1;
|
---|
71 | TYPE=wireless
|
---|
72 | DESC=Link naar Test1
|
---|
73 | SDESC=22test1
|
---|
74 |
|
---|
75 | MODE=managed
|
---|
76 | ESSID=il-1.test.wleiden.net
|
---|
77 |
|
---|
78 | IP=172.16.1.210/30
|
---|
79 | POINT_TO_POINT=172.16.1.209
|
---|
80 | DHCP=no
|
---|
81 | EW1
|
---|
82 |
|
---|
83 |
|
---|
84 |
|
---|
85 |
|
---|
86 | #########################derde wireless kaart#######################
|
---|
87 | $config{'wi2'}=sprintf <<EW2;
|
---|
88 | TYPE=wireless
|
---|
89 | DESC=Link naar Test2
|
---|
90 | SDESC=2test2
|
---|
91 |
|
---|
92 | MODE=master
|
---|
93 | ESSID=il-3.tested.wleiden.net
|
---|
94 | CHANNEL=7
|
---|
95 |
|
---|
96 | IP=172.16.1.137/30
|
---|
97 | POINT_TO_POINT=172.16.1.138
|
---|
98 | DHCP=10-60
|
---|
99 | EW2
|
---|
100 |
|
---|
101 | #########################alias interface########################
|
---|
102 | $config{'wi2:0'}=sprintf <<EW20;
|
---|
103 | TYPE=wireless
|
---|
104 | DESC=Link naar Test3
|
---|
105 | SDESC=2test3
|
---|
106 | IP=172.16.1.145/30
|
---|
107 | POINT_TO_POINT=172.16.1.146
|
---|
108 | DHCP=no
|
---|
109 | EW20
|
---|
110 |
|
---|
111 | #########################vierde wireless kaart#######################
|
---|
112 | $config{'wi3'}=sprintf <<EW3;
|
---|
113 | TYPE=wireless
|
---|
114 | DESC=Link naar Test4
|
---|
115 | SDESC=2test4
|
---|
116 |
|
---|
117 | MODE=managed
|
---|
118 | ESSID=il-4.test.wleiden.net
|
---|
119 |
|
---|
120 | IP=172.16.2.6/30
|
---|
121 | POINT_TO_POINT=172.16.2.5
|
---|
122 | DHCP=no
|
---|
123 | EW3
|
---|
124 |
|
---|
125 |
|
---|