Routing Traffic Between Two vLANS
-
"which is connected to my ESXi host"
Where did this esxi host come from?? Is pfsense running on your esxi host? There was no mention of any esxi host in your first post or 2nd or 3rd..
tagged ports are only used for uplink ports.. Like another switch, a router wth vlans on that interface, an AP that will have vlans on different SSIDs, sure an esxi host that will have vms that will use different tags connect to that same vswitch that physical nic is on..
You only need to tag on ports that are going to carry more than 1 vlan. Because those tags will be used on the device that is uplink to determine where that traffic should flow.
-
Tag ports to devices that need to see the tag. It's that simple. That would be pfSense and ESXi.
If you put an untagged port on VLAN 100 (LAN) and connect a device to it and it gets DHCP, can query DNS, etc your VLAN and switch and pfSense are configured fine and you can concentrate on your ESXi setup.
-
pfSense is running on its own hardware…
"Port 9" is connected to my ESXi Host...
So I think that what you are saying is finally settling in... been ridding the struggle bus here...
I now have it configured as follows...
VLAN 100,
Untagged Ports >> 1-7, 10-11, 13-16 (PVID for these ports set to 100)
Tagged Ports >> NONEVLAN 200,
Untagged Ports >> 8 and 12 (PVID for these ports set to 200)
Tagged Ports >> NONE, Remember though I dont want this VLAN to connect to pfSenseVLAN 300,
Untagged Port >> 9 (PVID for this port set to 300)
Tagged Port >> 1So with this set up the only thing that is tagged is Port 1 which is the uplink port.
I believe that this is now correct...
-
Tag ports to devices that need to see the tag. It's that simple. That would be pfSense and ESXi.
If you put an untagged port on VLAN 100 (LAN) and connect a device to it and it gets DHCP, can query DNS, etc your VLAN and switch and pfSense are configured fine and you can concentrate on your ESXi setup.
Thanks…
Yes... currently anything that I connect to ports 1-7, 10-11, and 13-16 on the switch is receiving DHCP as it should from pfSense.. iSCSI traffic on ports 8 and 12 is working as it should... And the servers connected to port 9 on ESXi are also working.
I made some changes to the way the virtual switch was configured in ESXi so that port tagging was no longer needed except for on the up link port on the switch.
-
esxi only needs tag if your going to use vms on different vlans, they your going to need multiple tags on that port.. If all your vms are going to be on the same vlan then you don't need tags.. Where is your vmkern is that he same physical nic.
Keep in mind if you want to use vlans on your vms you have to set the vswitch to 4095 so it will pass the tags on to your vms on that vswitch.
-
All of the VMs will be on the same VLAN. :)
VMKern/Management is on its own NIC
Thank you for all of your help…. I am sure this has been as frustrating for you as it has been for me... lol
-
Hey, off topic i know, but does that 16 port TP-LINK switch have fans?
-
Hey, off topic i know, but does that 16 port TP-LINK switch have fans?
No, it is fan-less.
Although it really does not appear to get all of that hot and I am using almost all of the 16 ports on there.
-
I am sure this has been as frustrating for you as it has been for me…
Is it working now?
-
Yes, it is now working.
Thanks everyone!