• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

VSphere ESXi 5.1 InterVLAN Routing with pfsense help

Scheduled Pinned Locked Moved Virtualization
6 Posts 3 Posters 4.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    a108a108
    last edited by Dec 30, 2012, 8:13 PM

    VSphere ESXi 5.1 InterVLAN Routing with pfsense help
    Hi all,
    Any help with the following scenario would be greatly appreciated
    Scenario
    I have a VSphere ESXi 5.1 host with two physical nics and would like to install two operating systems which are on different subnets, but can communicate with each other and access the Internet.
    I have tried the following and been unable to achieve the above (am I completely going down the wrong route or am I missing something?). Forgot to mention this is for testing/lab purpose
    I have used physical adapter one (192.168.1.220) and connected to vswitch0 which includes the management port group also.
    I have created two virtual machines and a port group for each vm (or subnet),
    192.168.2.1 = vm one (operating system one)
    Default g/w = 192.168.2.254
    VLAN = 2

    192.168.3.1 = vm two (operating system two)
    Default g/w = 192.168.3.254
    VLAN =3

    Connected them to vswitch0 and also created a pfsense vm as virtual router
    192.168.1.221 = pfsense em0 for LAN interface
    192.168.1.222 = pfsense em0 for WAN interface

    I have configured pfsense to allow traffic between VLAN 2 and VLAN 3 but for some reason vm one is unable to ping vm two and vice versa.

    Has anyone set up the above scenario before / any guide or guides would be greatly appreciated.

    Thanks,

    1 Reply Last reply Reply Quote 0
    • S
      Supermule Banned
      last edited by Dec 30, 2012, 8:15 PM

      You are using the same interface as LAN and WAN….

      I suspect an entirely wrong setup to be the cause....

      1 Reply Last reply Reply Quote 0
      • A
        a108a108
        last edited by Dec 31, 2012, 12:07 PM

        Hi,

        Yes, using the same interface.

        Have you setup a similar lab in the past ?

        1 Reply Last reply Reply Quote 0
        • S
          Supermule Banned
          last edited by Dec 31, 2012, 12:24 PM

          You have to VLAN the interface in Vsphere and on the switch.

          1 Reply Last reply Reply Quote 0
          • H
            heper
            last edited by Dec 31, 2012, 1:42 PM

            lan & wan can not have the same subnet without causing yourself a lot of trouble

            1 Reply Last reply Reply Quote 0
            • A
              a108a108
              last edited by Jan 8, 2013, 7:50 AM

              Thanks for the feedback all.

              I looked over my setup in pfsense and managed to resolve the issue.

              Next problem…. how do I get PC's connected to different VLAN's to connect to the Internet ?

              All VLAN's are on one switch

              WAN interface is on another switch

              Both switches have physical NICs

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received