Creating VLANs in DD-WRT (Part 3)

screenshot21

In the second part of this post I completed the setup of VLANs on my WNR3500L router. To make them available to hosts (and VMs) I now have to configure my Cisco SLM2008 switches. Fortunately that turns out to be fairly simple. The SLM 2008 has a web-based GUI that does the job nicely. Once logged in it's a matter of opening the VLAN >> VLAN Settings page. Then just tap in the VLAN ID that you want to create and click "Add". This then drops you into an additional page where you choose which ports to associate the VLAN with. I picked all of the ports on this switch (where my ESX hosts are located). Then I clicked "Save". It's just then a case of repeating for the other VLANs that are required. And that's the switches … [Read more...]

Creating VLANs in DD-WRT (Part 2)

In the first part of this post I created some VLANs on my NetGear WNR3500L router that I've flashed with DD-WRT firmware. In this second part of the post I will be assigning IP address ranges to those VLANs and configuring the router's firewall. I want the VLANs that I setup previously to use separate IP Address ranges. To do this it’s back into to the telnet session and enter the following command: (There is actually a way to do this step through the router’s GUI too.) Reboot the router again for the changes to take effect. The final configuration that needs to be made is to the internal firewall of the router. With all of these new interfaces created, we need to define some rules to permit (or deny) traffic between … [Read more...]

Creating VLANs in DD-WRT (Part 1)

home-lab-physical-network-topology

I'm breaking this post up into 3 parts because it does go on a bit. Part 1 - An overview of what I'm trying to do and creating VLANs on the router Part 2 - Configuring IP ranges and the router's firewall Part 3 - Configuring VLANs on the SLM2008 switches Recently I have flashed my home router (a NetGear WNR3500L) with DD-WRT firmware and performed some basic and intermediate configuration to connect it to the internet and direct DNS queries for my lab domain to the correct DNS server. Now though I want to setup some VLANs. I want to be able to make use of some of the more advanced networking features in vSphere in my lab and this was one of the primary drivers for me selecting the router that I did. I already have two Cisco … [Read more...]

Basic Router Setup

screenshot13.png

Previously I have written about the router that I have selected for my home lab / home network and how I flashed it to use DD-WRT. Having done that successfully I need to perform some basic (and intermediate) configuration to get it ready for use. Basic Setup Unless you have a completely plug and play broadband router you will have seen most of these settings before. They just look a little different here and I’m including them for context also. I won’t bother dealing with my broadband account details. First up then we look at the router’s basic network setup and DHCP options. Relatively straightforward but the important options are ticked by default: “Use DNSMasq for DHCP” and “Use DNSMasq for DNS”. Dynamic DNS If you … [Read more...]

Selecting and Flashing my Home Lab Router

screenshot10.png

It’s taken me a while to select and configure a router for my home lab environment. Part of the problem has been sorting through some conflicting requirements. For instance, I want to keep my power bills low but the functionality that I want demands something something a little hungry in that respect. I also wanted to keep things as simple as possible in my home yet still giving me the flexibility to run lots of different software and setups. In the end I have selected the NetGear WNR3500L for the following reasons: It doesn’t draw too much power Meets the needs of my home lab and other home networking Provides 802.11n wireless capability Has gigabit ethernet ports Most importantly, it can be flashed with alternative … [Read more...]