Project

General

Profile

Router » History » Version 9

Anonymous, 08/14/2021 09:03 PM
correct wireless network name

1 1
h1. Router and Network Setup
2
3
I started my foray into custom networking using DD-WRT running on a Linksys WRT3200ACM. This worked well for a while but I noticed performance issues as my network grew. In October 2019 I decided to go all in and setup a pfsense router.
4
5 3
h2. Router
6 1
7 2
!hp_elitedesk_800_G2.jpg!
8 1
9
* "HP EliteDesk 800 G2 SFF Desktop PC":https://support.hp.com/us-en/product/hp-elitedesk-800-g2-tower-pc/7633297/document/c04786146
10
* Intel Core i5-6600 (quad core @ 3.3 GHz)
11
* 8GB RAM 
12
* 128GB SSD HDD 
13
14 5
* Running pfsense: 2.5.2 (based on FreeBSD 12.2)
15 1
16
| *Interface* | *MAC*| *Reserved IP* | *Notes* |
17
|WAN                       |dc:4a:3e:81:f5:49|10.0.0.188               |attached to DMZ on FIOS router|
18
|LAN     (em0)          |00:15:17:f3:65:95|192.168.1.1 (static) |top port of Intel NIC|
19
|OPT1    (em1)         |00:15:17:f3:65:93|''n/a''                        |not currently connected|
20
|10G_LAN (mlxen0) |24:8a:07:e3:14:80|10.250.1.1 (static)  |Mellanox fiber card|
21
22
*NOTE:* be sure to enable powerd (System > Advanced > Miscellaneous). See: https://docs.netgate.com/pfsense/en/latest/book/config/advanced-misc.html#power-savings
23
24
h3. Configuration
25
26
To run 10G LAN as a separate VLAN:
27
28
* Go to Interfaces > Interface Assignments > VLANs and define the VLAN (17) on `mlxen0`. 
29
* Go back to Interface Assignments and create an interface for the 10G LAN if one doesn't already exist. For "Network port" select VLAN17 on mlxen0. (actually this doesn't work, just select `mxlen0`)
30
* Go to Firewall > Rules > 10G_LAN and create an "Allow all" rule for the interface:
31
** ALLOW IPv4; protocol any; src 10G_LAN net port any to dest 10G_LAN net port any
32
* Also create rule to block LAN traffic on 10G net:
33
** BLOCK IPv4; protocol any; src any to dest LAN net 
34
** Add similar rule to LAN to block 10G_LAN traffic
35
36
37
h2. Main Switch
38
39 6
!{width:30%}aruba_s3500.jpg!
40
41 1
Main switch: "Aruba S3500-24P":https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-a00036629en_us&docLocale=en_US
42
* 24 port 1000-BaseT POE ports
43
* 4 SFP+ (10G) ports
44
45
h3. Reset Instructions
46
47
If switch configuration needs to be reset follow these instructions:
48
49
# Power On and boot the Mobility Access Switch.
50
# Connect a client device (such as a laptop) to the Mobility Access Switch using any Ethernet port in the front. Ensure that DHCP is enabled on the client device and that it is not connected to any other network.
51
# For the S2500 and S3500 Mobility Access Switch, perform the following steps:
52
 # Press the LCD Menu button until Maintenance is selected.
53
 # Press the LCD Enter button to enter the Maintenance menu.
54
 # Press the LCD Menu button until GUI Quick Setup is selected.
55
 # Press the LCD Enter button to activate the GUI Quick Setup mode. Quick-setup invoked... appears on the LCD screen.
56
# For the S1500 Mobility Access Switch, press and hold the MODE button for 10 seconds or until the four mode status LEDs turn solid green to activate the GUI Quick Setup mode.
57
# Confirm that the client device has the IP address in the following range 172.16.0.[1-253] and the DHCP server has the IP address 172.16.0.254.
58
# Open a web browser and enter 172.16.0.254 into the address bar to launch the WebUI Startup Wizard.
59
# Follow the on-screen prompts to fill in the required fields to complete the configuration (see Table 1).
60
61
h3. Disable Stack Ports
62
63
This is how you disable the stack ports so you can use them as regular ports.
64
65
# Log into switch:
66
<pre>
67
$ ssh admin@192.168.1.2
68
</pre>
69
# Type enable and hit enter. Enter enable password when prompted.
70
# Enter the commands below:
71
<pre>
72
(ArubaS3500-24-POE) #configure terminal
73
74
(ArubaS3500-24-POE) (config) #delete stacking interface stack 1/2
75
76
(ArubaS3500-24-POE) (config) #delete stacking interface stack 1/3
77
78
(ArubaS3500-24-POE) (config) #write mem
79
</pre>
80
81
h3. Configuration
82
83
* If running the 10G network as a separate VLAN, under "Vlans" define VLAN 17 and give switch an unused IP: 10.250.1.10/255.255.255.0
84
* Next under "Ports" on the "Switching" tab define a profile for the 10G LAN and associate all 10G ports with it: 
85
| *Name* | *Switch Mode* | *Access VLAN* | *Native VLAN* | *Allowed VLANs* | *Association*|
86
|10G_LAN|access|17|1|1-4095|GE-0/1/0;GE-0/1/1;GE-0/1/2;GE-0/1/3|
87
88
89
h2. 10G Supplemental Switch
90
91 4
!{width:30%}crs305_1g_4s.jpg!
92 1
93
"MikroTik CRS305-1G-4S":https://mikrotik.com/product/crs305_1g_4s_in
94
95
NOTE: Switch has two operating system options. SWOS is much simpler and therefore preferred for this application.  Note that holding the reset button while powering only resets the RouterOS configuration not the SWOS configuration. To reset SWOS boot into RouterOS and navigate to the terminal, then enter this command:
96
<pre>
97
/system swos reset-config
98
</pre>
99
100
Also to set the boot OS: System > Routerboard > Settings > Boot OS
101
102
h3. Reset Instructions
103
104
* Disconnect all network ports. Disconnect power, using tip of mechanical pencil press reset button and hold. Reconnect power.  When green light flashes several times release the reset button.
105
* Switch will reboot into RouterOS. 
106
* To connect connect to MGMT (1G) port to laptop. Set static address on laptop to 192.168.88.2/255.255.255.0 with gateway 192.168.88.1. Open web browser and navigate to 192.168.88.1. 
107
* Enter basic details, including DHCP setup.
108
* Click Terminal button in upper right corner. 
109
** Enter this command to reset SwOS:
110
<pre>
111
/system swos reset-config
112
</pre>
113
* Next navigate back to Webconfig to change boot configuration: System > Routerboard > Settings > Boot OS and set SwOS. 
114
* Finally click the Reboot option on the side menu.
115
* Disconnect from laptop and connect MGMT port back to regular network. After reboot switch should be accessible at DHCP reservation address: 192.168.100.2.
116
* Default credentials are: admin/<no password>
117
118
h3. Configuration
119
120
To use 1G port as management port go to RSTP tab and uncheck the checkbox next to MGMT. In Port Isolation tab, isolate MGMT from other ports.
121
122
h2. Wireless AP
123
124 8
!{width:50%}R710.jpg!
125 1
126 8
In August 2021 I replaced the WRT3200ACM with a Ruckus R710 access point.
127
* https://www.commscope.com/product-type/enterprise-networking/wireless-access-points/indoor/r710/
128 1
129 8
h3. Wiresless Networks
130 1
131 8
* 57752d54616e67204c414e - legacy 5 GHz - WPA2
132
* 4162726168616d204c696e6b737973 - legacy 2.4 GHz - WPA2
133 9
* Weyland-Yutani Corporate - 5 GHz/2.4 GHz - WPA3/WPA2
134 1
135
136
h2. DHCP Registrations
137
138
pfsense Box
139
* *MAC*: dc:4a:3e:81:f5:49
140
* *IP*: 10.0.188 (reserved)
141
142
WRT3200ACM !Router/Wireless AP
143
* *MAC*: 60:38:e0:ba:cc:d1 
144
* *IP*: n/a (192.168.100.1) - NOTE: somehow I screwed up the configuration for the uplink port; need to revisit at some point
145
146
h3. Switch
147
148
| *Device* | *MAC* | *Reserved IP* | *Hostname* | *Notes* |
149
|Aruba S3500-24P          |00:1a:1e:16:1a:c0|192.168.100.0 (static)|aruba-s3500        |main network switch; POE disabled|
150
|WRT3200ACM               |60:38:e0:ba:cc:d1|192.168.100.1            |wrt3200acm|primary WiFi AP (see note above)|
151 2
|MikroTik CRS305-1g-4s|cc:2d:e0:91:42:6e|192.168.100.2            |mikrotik-switch-001|10G network switch; 1G for management|
152 1
|TP-Link Archer C2600    |18:a6:f7:5f:2b:06|192.168.100.3             |archerc2600|secondary WiFi AP|
153
154
155
h3. Wireless Clients
156
157
| *Device*          | *MAC*           | *Reserved IP*   | *Hostname* |
158
|Dell XPS 13 (wifi) |28:b2:bd:39:07:92|192.168.4.2      |xps               |
159
|phone              |b4:f7:a1:8f:98:8d|192.168.4.3      |g6-plus           |
160
|workstation (wifi) |10:f0:05:35:01:fb|192.168.4.4      |enthoo-wifi       |
161
|tablet             |84:55:a5:f7:3a:ec|192.168.4.5      |galaxy-tab-s      |
162
|MPD box            |a0:88:69:8c:33:ef|192.168.4.7      |CI320-wifi        |
163
|Raspberry Pi 3b+   |b8:27:eb:ef:eb:a1|192.168.4.9      |rpi001            |
164
|Raspberry Pi Zero W|b8:27:eb:d9:78:8a|192.168.4.10     |rpi-zw-001        |
165
|!ThinkPad T470     |f8:59:71:4e:ab:f6|192.168.4.12     |t470              |
166
|Raspberry Pi 3b+   |b8:27:eb:59:18:d2|192.168.4.14     |rpi002            |
167
|Raspberry Pi 4b    |dc:a6:32:19:16:70|192.168.4.16     |rpi003            |
168
|new tablet         |70:1f:3c:cd:30:63|192.168.4.17     |galaxy-tab-a      |
169
170
h3. Wired Clients
171
172
| *Device*                                           | *MAC*           | *Reserved IP* | *Hostname* |
173
|Dell XPS 13 laptop                                  |a0:ce:c8:03:a1:c9|192.168.8.2    |xps-eth     |
174
|slingbox                                            |00:0d:c5:cf:0f:94|192.168.8.3    |slingbox    |
175
|[[wiki:Workstation|workstation]]                    |70:85:c2:39:83:67|192.168.8.4    |enthoo      |
176
|[[wiki:CustomComputers/2012/Phalanx|file server]]   |d0:50:99:51:75:a4|192.168.8.6    |phalanx     |
177
|[[wiki:CI320|MPD box]]                              |00:01:2e:58:d8:81|192.168.8.7    |CI320       |
178
|[[wiki:UltimateHTPC|HTPC]]                          |74:d4:35:4f:4e:04|192.168.8.8    |atto        |
179
|Raspberry Pi 3b+                                    |b8:27:eb:ba:be:f4|192.168.8.9    |rpi001-eth  |
180
|[[wiki:CustomComputers/2018/Brutus|brutus]]         |d0:50:99:46:c6:74|192.168.8.10   |brutus      | 
181
|!ThinkPad T470                                      |54:e1:ad:33:0f:0a|192.168.8.12   |t470-eth    |
182
|file2                                               |d0:50:99:51:76:4c|192.168.8.13   |file2       |
183
|Raspberry Pi 3b+                                    |b8:27:eb:0c:4d:87|192.168.8.14   |rpi002-eth  |
184
|red-dwarf                                           |00:25:90:86:4e:e6|192.168.8.15   |red-dwarf   |
185
|Raspberry Pi 4b                                     |dc:a6:32:19:16:6f|192.168.8.16   |rpi003-eth  |
186
|[[wiki:CustomComputers/2020/RedOctober|red-october]]|b4:2e:99:a5:1e:f0|192.168.8.17   |red-october |
187
188
h3. Printer Clients
189
190
| *Device*                | *MAC*           | *Reserved IP* | *Hostname* |
191
|HP Officejet Pro 8610    |34:64:a9:5e:0e:62|192.168.10.1   |hp-pro-8610 |
192
193
h3. Camera Clients
194
195
| *Device*           | *MAC*           | *Reserved IP* | *Hostname* |
196
|Reolink Argus Pro   |10:ce:a9:0b:e0:fe|192.168.12.1   |cam001      |
197
|Reolink RLC-410-5MP |ec:71:db:65:c9:4c|192.168.12.2   |cam002      |
198
199
h3. House Clients
200
201
| *Device*         | *MAC*           | *Reserved IP* | *Hostname* |
202
|Ecobee Thermostat |44:61:32:ac:17:cc|192.168.14.1   |ecobee      |
203
204
h3. Work Clients
205
206
| *Device*            | *MAC*           | *Reserved IP* | *Hostname* |
207
|BL Machine|70:85:c2:da:6c:3d|192.168.20.1   |corsair       |
208 5
209 1
h3. IPMI Interfaces
210
211
| *Device*                                     | *MAC*           | *Reserved IP* | *Hostname*  |
212
|[[wiki:CustomComputers/2012/Phalanx|phalanx]] |bc:5f:f4:fe:6b:cb|192.168.208.1  |phalanx-ipmi |
213
|[[wiki:CustomComputers/2018/Brutus|brutus]]   |bc:5f:f4:fe:7c:af|192.168.208.2  |brutus-ipmi  |
214
215
h2. 10G Network
216
217
The 10G network is -setup as a VLAN (17)- using `10.250.1.0/24` addressing. (I never could get the VLAN working).
218
219
| *Device*                                     | *MAC*           | *Reserved IP* | *Hostname* |
220
|[[wiki:CustomComputers/2012/Phalanx|phalanx]] |0c:c4:7a:1f:00:ae|10.250.1.2     |phalanx-10g |
221
|[[wiki:CustomComputers/2018/Brutus|brutus]]   |24:8a:07:e4:40:c1|10.250.1.3     |brutus-10g  |
222
|[[wiki:Workstation|enthoo]]                   |24:8a:07:e4:39:91|10.250.1.4     |enthoo-10g  |
223
|file2                                         |24:8a:07:e3:04:e1|10.250.1.5     |file2-10g   |
224
225
h2. Main Switch - Port Assignments
226
227 7
Copper ports:
228 1
229
| *Port* | *Device / Branch* |
230 8
| 0      | living room - top port - AP (POE enabled)    |
231 1
| 1      | downstairs bedroom and rec room|
232
| 2      | office (front room)     |
233
| 3      | middle bedroom (work office)|
234 8
| 4      | living room - middle port  |
235 2
| 5      | _unused_              |
236
| 6      | _unused_              |
237
| 7      | _unused_              |
238
| 8      | _unused_              |
239
| 9      | _unused_              |
240 4
| 10     | _unused_             |
241
| 11     |pfsense (uplink)     |
242
| 12     | brutus                   |
243
| 13     | brutus-ipmi           |
244
| 14     | phalanx                |
245
| 15     | _unused_             |
246
| 16     | _unused_             |
247
| 17     | _unused_             |
248
| 18     | _unused_             |
249
| 19     | _unused_             |
250
| 20     | _unused_             |
251
| 21     | _unused_             |
252
| 22     | _unused_             |
253
| 23     | _unused_             |
254 1
255
Port assignments (SFP_ fiber):
256
257
| *Port* | *Device / Branch* |
258
| 0      | office (to !MikroTik Switch)|
259
| 1      | phalanx 10G             |
260
| 2      | brutus 10G              |
261
| 3      | pfsense LAN (router)    |
262
263
h2. Backup Switch
264
265
* TP-LINK TL-SG1016D - 24 port "dumb" switch
266
267
h2. Resources
268
269
 * "DD-WRT Installation, Upgrade & Basic Setup–Cliff Notes":https://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117
270
 * "DD-WRT Forum - primary WRT3200ACM topic":https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=304086