1 | #
|
---|
2 | #
|
---|
3 | # Read by /usr/local/sbin/wireless-up.pl
|
---|
4 | #
|
---|
5 | # config CNodeUniGorN
|
---|
6 | #
|
---|
7 | # let op, namen van ap en interlink moeten veranderen, maar nu nog niet gedaan ivm breken van andere nodes.
|
---|
8 | #
|
---|
9 | # Hugo
|
---|
10 | $location="Bovenste omloop van het Gorlaeus Lab, Universiteit Leiden, voor Kaag/Rijnsburg/Oegstgeest";
|
---|
11 |
|
---|
12 | $master_ip='172.19.135.1';
|
---|
13 | $AGGREGATE='24';
|
---|
14 | $gw_open='closed';
|
---|
15 | $nodetype='cnode';
|
---|
16 | $nodename='UniGorN';
|
---|
17 | $labelpos='left';
|
---|
18 | $DISK='FLASH';
|
---|
19 |
|
---|
20 | $OS='FreeBSD';
|
---|
21 |
|
---|
22 | $status='up';
|
---|
23 |
|
---|
24 | $X='91529';
|
---|
25 | $Y='464821';
|
---|
26 | $N='';
|
---|
27 | $E='';
|
---|
28 |
|
---|
29 | $config{'sis0'}=sprintf <<SIS0; # EthernetLink naar UniGor
|
---|
30 | TYPE=ethernet
|
---|
31 | IP=172.16.1.170/30
|
---|
32 | DESC=EthernetLink naar UniGor
|
---|
33 | SDESC=eth0
|
---|
34 | SPEED=10240000000
|
---|
35 | POINT_TO_POINT=172.16.1.169
|
---|
36 |
|
---|
37 | DHCP=no
|
---|
38 |
|
---|
39 | OSPF_BROADCAST=no
|
---|
40 | OSPF_NEIGHBORS=172.16.1.169
|
---|
41 | SIS0
|
---|
42 |
|
---|
43 | $config{'sis0:0'}=sprintf <<SIS01; #link naar gorlaeus
|
---|
44 | TYPE=ethernet
|
---|
45 | IP=172.19.128.69/28
|
---|
46 | DESC=Local gorlaeus subnet
|
---|
47 | SDESC=2gorlaeus
|
---|
48 | SPEED=1024000000
|
---|
49 |
|
---|
50 | OSPF_BROADCAST=no
|
---|
51 | OSPF_NEIGHBORS=no
|
---|
52 |
|
---|
53 | DHCP=no
|
---|
54 |
|
---|
55 | SIS01
|
---|
56 |
|
---|
57 | $config{'wi0'}=sprintf <<EW0; #link naar kaag2
|
---|
58 | TYPE=wireless
|
---|
59 | IP=172.16.1.45/30
|
---|
60 | DESC=Link naar kaag2
|
---|
61 | SDESC=2kaag2
|
---|
62 | SPEED=11534336
|
---|
63 | POINT_TO_POINT=172.16.1.46
|
---|
64 | OSPF_BROADCAST=no
|
---|
65 | OSPF_NEIGHBORS=172.16.1.46
|
---|
66 | DHCP=no
|
---|
67 | MODE=master
|
---|
68 | ESSID=ap-n.unigorn.wleiden.net
|
---|
69 | CHANNEL=9
|
---|
70 | POLAR=Ver
|
---|
71 | ANTENNA=SD19
|
---|
72 | GAIN=19dBi
|
---|
73 | DIRECTION=45
|
---|
74 | BEAMWIDTH=30
|
---|
75 | CABLE=0
|
---|
76 | HEIGTH=50
|
---|
77 | EW0
|
---|
78 |
|
---|
79 | $config{'wi0:0'}=sprintf <<EW00; #link naar kaag
|
---|
80 | TYPE=wireless
|
---|
81 | IP=172.16.0.217/30
|
---|
82 | DESC=Link naar kaag
|
---|
83 | SDESC=2kaag
|
---|
84 | SPEED=11534336
|
---|
85 | POINT_TO_POINT=172.16.0.218
|
---|
86 | OSPF_BROADCAST=no
|
---|
87 | OSPF_NEIGHBORS=172.16.0.218
|
---|
88 | DHCP=no
|
---|
89 | EW00
|
---|
90 |
|
---|
91 |
|
---|
92 | $config{'wi1'}=sprintf <<EW1; # oegstgeest richting N
|
---|
93 | TYPE=wireless
|
---|
94 | IP=$master_ip/26
|
---|
95 | DESC=AP Richting O
|
---|
96 | SDESC=n
|
---|
97 | SPEED=11534336
|
---|
98 | DHCP=10-60
|
---|
99 | #DHCP_STATIC= host ipaq1{hardware ethernet 00:02:2D:0E:4F:0D; fixed-address 172.18.8.2;} host ipaq2{hardware ethernet 00:02:2D:09:21:28; fixed-address 172.18.8.3;}
|
---|
100 | OSPF_AREA=191
|
---|
101 | OSPF_BROADCAST=no
|
---|
102 | OSPF_NEIGHBORS=no
|
---|
103 | MODE=master
|
---|
104 | ESSID=il-no.unigorn.wleiden.net
|
---|
105 | CHANNEL=3
|
---|
106 | POLAR=Ver
|
---|
107 | ANTENNA=pa4040
|
---|
108 | GAIN=14dBi
|
---|
109 | DIRECTION=315
|
---|
110 | BEAMWIDTH=30
|
---|
111 | CABLE=0
|
---|
112 | HEIGTH=50
|
---|
113 | EW1
|
---|
114 |
|
---|
115 |
|
---|
116 | $config{'wi1:0'}=sprintf <<EW10;
|
---|
117 | TYPE=wireless
|
---|
118 | IP=172.16.1.89/30
|
---|
119 | DESC=Link naar Rustenborgh
|
---|
120 | SDESC=2rustenborch
|
---|
121 | SPEED=11534336
|
---|
122 | POINT_TO_POINT=172.16.1.90
|
---|
123 |
|
---|
124 | OSPF_BROADCAST=no
|
---|
125 | OSPF_NEIGHBORS=172.16.1.90
|
---|
126 | DHCP=no
|
---|
127 | EW10
|
---|
128 |
|
---|
129 | $config{'wi1:1'}=sprintf <<EW11;
|
---|
130 | TYPE=wireless
|
---|
131 | IP=172.16.1.93/30
|
---|
132 | DESC=Link naar Hofwijck
|
---|
133 | SDESC=2hofwijck
|
---|
134 | SPEED=11534336
|
---|
135 | POINT_TO_POINT=172.16.1.94
|
---|
136 |
|
---|
137 | OSPF_BROADCAST=no
|
---|
138 | OSPF_NEIGHBORS=172.16.1.94
|
---|
139 |
|
---|
140 | DHCP=no
|
---|
141 | EW11
|
---|
142 |
|
---|