vlans and trunk

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered
I would like to ask how do i create 3 vlans with port assignment  in switch and a trunk port for them? Setup will be ports 1-5 VLAN 2, ports 6-10 VLAN 3, ports 11-15 VLAN 4. port 16 as trunk port for VLAN 2,3,4. The rest of the ports of the switch leave them unconfigured for a flat switch.
I am familiar with CISCO , but not with ENTERASYS config. The above will take place in two different environments (not connected) and the switches in each one are:
0H20G4-24
A2H124-24P


Any ideas please?
Photo of Atux Atux

Atux Atux

  • 170 Points 100 badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Photo of Rahman Duran

Rahman Duran

  • 2,012 Points 2k badge 2x thumb
Hi,

set vlan create 2-4
set port vlan fe.1.1-5 2 modify-egress
set port vlan fe.1.6-10 3 modify-egress
set port vlan fe.1.1-15 4 modify-egress

set vlan egress 2-4 fe.1.16 tagged

You also need to configure the other end of the trunk port so it tag vlan 2,3,4

Regards,

Rahman
Photo of Atux Atux

Atux Atux

  • 170 Points 100 badge 2x thumb
thanks for the reply. i am looking for a way to add the trunk in the vmware. so every VM will see only one VLAN. VM 1 will see the VLAN 2 and its 5 ports, VM 3 will see the VLAN 3 and its 5 ports,VM 4 will see the VLAN 4 and its 5 ports. any ideas on that ?
Photo of Rahman Duran

Rahman Duran

  • 2,012 Points 2k badge 2x thumb
Well, will you connect VMware ESXi host to this switch? How many ports does this esxi host has? How many ports of esxi will connect to this switch? Or will you connect esxi to trunk port of A2H? 
Photo of Atux Atux

Atux Atux

  • 170 Points 100 badge 2x thumb
ESXI server has 1 ethernet card with 1 port. I would like to be able to manage esxi, as well. Also i would like each vm to have one VLAN, which leads to the corresponding ports of the vlan.
Photo of Rahman Duran

Rahman Duran

  • 2,012 Points 2k badge 2x thumb
Ok, then just plug you esxi host to port 16. Port 16 has vlan 2,3,4 tagged and vlan 1 untagged. So you can give your esxi host an ip from vlan 1. Default esxi install will have one vswitch configured. Just create tagged port groups on this vswitch for vlan 2,3,4. Then you can assign vlan 2,3 or 4 any VM you want.

Hope it helps.

Rahman
Photo of Atux Atux

Atux Atux

  • 170 Points 100 badge 2x thumb
Hi. is this the correct setup of the switch, according to the aforementioned vlan/trunk setup i was asking for?


Photo of Rahman Duran

Rahman Duran

  • 2,012 Points 2k badge 2x thumb
I depends. I understand you will connect ESXi to port 16. But what will you connect to port 1-5 and 6-10? It seems you tagged port 1-5 and port 6-10 so ıf you connect PCs to these port they will not work as they exoect untagged packets by default.
Photo of Atux Atux

Atux Atux

  • 170 Points 100 badge 2x thumb
VLAN 2 (ports 1-5) is network 192.168.0.0/24
VLAN 3 (ports 6-10) is network 192.168.2.0/24
VLAN 4 (ports 11-15) is network 192.168.3.0/24
Ports 17-24 are on the 192.168.1.0/24 network.
Each vm will have 3 "ethernet ports" one from each VLAN. port 16 on switch will trunkate all vlans and their traffic.
For start, are the vlan/trunk/ports config OK?
Since everything has to be done through the GUI, where are the GVRP port settings and what do i have to do?
(Edited)