Monthly Archives: December 2015

VLAN much?

So, in my own setup at home, I had alot of physical stuff.

I had 1 x PC with PFSense, and that had 3 x NICs.
Then I have 1 x NAS server with a few drives in it, running FreeNAS.
And a VMWare host runing ESXi, for small projects.

So I took the PFsense and put it on the ESXi host, which got rid of some of the hardware I had to have sitting around, but this created a problem on its own.

I have 2 x ADSL routers, and I need to do a PPPOE out of each.
I have to dial out of each, and try to separate them somehow, so that PFSense doesn’t do 2 x PPPOE connections through the same router.

And after a weekend of Googling, blood, tears, etc, I got it right.

In VSphere, I created a VLAN for the WAN interface the PFSense box will use, and added this to VLAN 4095, so it was able to be in whatever VLAN it wanted.

Then I was able to create 2 VLAN interfaces inside PFSense. VLAN 2 and VLAN 3.
These were then set-up on my managed switch, and I added with ports of the ADSL routers to this VLAN, so that they were able to talk to VLAN 2 and 3 respectively.

This seemed to work, and the PFSense was now able to talk to the Router in if own VLAN.

Then in PFSense, we just added the PPPOE and told it to dial over the VLAN, so that it wouldn’t get mixed up with the other modem, and boom. Done!

The most complicated part was trying to work out how to setup my managed switch, its VLAN setup confused me with its tagging setup etc, but I was eventually able to figure it out, and it all works in pure harmony 🙂