I wanted to share my experience with adding a Cisco 3750X and Cisco 5508 WLC to an IPFire setup.
Perhaps others more experienced than me, will chime in and educate us all on better ways to do this (hint hint)!
Let me preface that I am “greener than green” when it comes to VLAN! There was no specific business or technical driver behind this exercise. I wanted to learn more about the art of possible.
Let me start with the environment:
- IPFIre 2.25-144
- Red (DHCP), Green (192.168.111.x) and Blue (192.168.112.x)
- Cisco 3570X 48 POE ports with 2 GLC-T 1000BASE-T SFP Transceiver
- Cisco 5508 WLC with 2 GLC-T 1000BASE-T SFP Transceiver
- 3x Cisco 3702i and 1x Cisco 3602e with Cisco AIR-RM3000AC
The ultimate goal was to connect 2 of the 3702 and the 3602 (one in the basement, one on the main floor and the 3602 in the attic) to the Green network and the remaining 3702 to Blue.
As an FYI to those interested, I purchased the used Cisco equipment on ebay for about $400US.
After watching several youtube videos, I learned more about the concept of VLAN tagging and Trunk. I found this video (and the associated series) to be extremely informative.
- IPFire uses a Default VLAN (I am still a little fuzzy on this)
- Cisco switches use the Default VLAN (which defaults to VLAN 1)
- Untagged VLAN
==== Implementation Steps =====
- Setup a Vlan on IPFire for BLUE. I used VLAN 112 for that.
Note: When I used the ZOne Configuration, the blue network did NOT come up. I followed the instructions from this video to manually edit the 2 files:
This is my configuration:
/var/ipfire/ethernet/settings
BLUE_ADDRESS=192.168.112.1
BLUE_BROADCAST=192.168.112.255
BLUE_DESCRIPTION=’“pci: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06)”’
BLUE_DEV=blue0
BLUE_DRIVER=e1000e
BLUE_MACADDR=XX:XX:XX:XX:XX:XX
BLUE_MODE=
BLUE_NETADDRESS=192.168.112.0
BLUE_NETMASK=255.255.255.0
BLUE_SLAVES=
/var/ipfire/ethernet/vlans
BLUE_MAC_ADDRESS=XX:XX:XX:XX:XX:XX
BLUE_PARENT_DEV=YY:YY:YY:YY:YY:YY
BLUE_VLAN_ID=112
- Setup the 5508. By default, it till create an untagged vlan (the management one). – In retrospect, perhaps I should have created the management interface on VLAN 1 –
I then created a new interface to handle the blue network. I used VLAN 112, same as the one on IPFire.
The management Interface looks like this:
While the blue interface looks like this:
As you can see, both interface use the IPFIre DHCP service and the blue replies on IPFIre MAC filtering to determine who can connect.
- Still from the 5508, create 2 WLANs.
WLAN 1 will be used to add APs to the green network while WLAN 2 will handle blue (hence the names…).
- Now go to the 3750X and create 2 “Trunks”, one for connecting the green network to Port 1 of the switch, and one for connecting the 5508 (i.e. management and blue interfaces) to the switch (Ports Gi1/1/1 and Gi1/1/2).
Next I connected everything together:
The 3 AP which connect to Green are connected to ports 37, 38 and 39
The AP connect to port 45 of the Cisco switch while the blue network (i.e. VLAN 112) from IPFire connects to port 46 as you can see from here:
.Next up, I will experiment with LAG on the 5508. I am still not clear on what the benefit specific to my environment would be. Again, I hope that the members more experienced than me could shed some light on this topic and perhaps on the mistakes I made.
I hope this “how to” can be of benefit to other newbie users within the community.
Renato