Removing VLANs and transitioning to virtual server



  • Current setup is pfSense 2.1.1 on an old Dell blade server.
    I have 2 VLANs setup - VLAN10 and VLAN20.

    LAN - 192.168.1.xxx
    VLAN10 - 192.168.0.xxx
    VLAN20 - 192.168.20.xxx

    There is a D-Link DXS-3250 switch that everything is routed through. The last port (48) is in the LAN subnet and the rest are configured to be in VLAN10.

    My endgame is to transfer to virtual server on the latest version of pfSense with no VLANs at all.

    Do I need to transition to the VM before attempting to remove the VLANs or remove the VLANs now and then transition?

    I think because the VLAN is in place it will cause me issues when trying to move to the new pfSense setup that only has a single LAN option.

    Any help is greatly appreciated.


  • LAYER 8 Global Moderator

    So you no longer need the vlans?  Or your going to use physical networks vs the tagged vlans?

    If your going to bring up the pfsense VM on the lan 192.168.1/24 just bring it up.. Then turn off your old one and set your LAN as the same IP as the old one, etc.

    Without some more details of your network setup and your VM setup hard to say what would be the best way to transition it to a vm.. I show d-link dxs-3250 and layer 2 only.. So not sure how your saying your routing everything through that switch?? From what I read it only does layer 2, so there is no "routing" on it..

    Are you wanting to route those vlans and only use your pfsense as a edge firewall with a transit network connecting it to your router/L3 switch?



  • I am no longer needing the VLANs at all. I will only use the two WAN connections and then the single LAN.

    As far as the switch goes, I didn't actually mean route. It does no routing. It was more or less stating that everything on the network connects to it.

    pfSense is acting as an edge firewall but also handles 1-to-1 routing for me for external to internal addressing and traffic.

    I'm sorry for the confusion.

    I want to remain on the 192.168.0/24 subnet but currently the LAN is on 192.168.1/24 and VLAN10 is on 192.168.0/24.

    The new pfSense setup has LAN on 192.168.0/24.

    I just want to be able to switch without necessarily losing connection during the process due to different networks. That is what had happened to me over the weekend. I switched the connections to the new pfSense and removed the VLANs from the switch config and lost connection to both the pfSense and the switch. I had to console into the switch in order to revert the settings. Once that was done I switched back to the live pfSense.

    Just the way I am thinking..the best way would be to switch all of VLAN10 to LAN on the live PFS and then when I switch from one PFS to the VM option. I shouldn't have to change anything else. But..that's also kind of why I am here. I am not sure if there is a simpler solution or not.


  • LAYER 8 Global Moderator

    This really should be a very short disruption.. Bring up your new pfsense vm with lan of what you want it to be..

    Doesn't need any tags or vlans setup.

    Then just change all your ports of that L2 switch to be in the same vlan = done.  All that should have to happen is your machines that were on other networks is do a dhcp renew or reboot and bam on the new network.



  • Thank you very much I will have to attempt that this weekend. Unfortunately I cannot disconnect any network related things during any hours other than typical maintenance window of 2am-6am.


Log in to reply