vlans and trunk

  • 0
  • 1
  • Question
  • Updated 3 months 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 2 years 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)
Photo of Dowar Viscaya

Dowar Viscaya

  • 80 Points 75 badge 2x thumb

I have a great question
I have two VLANs
Vlan 3 (ports 20,22,24) is red 172.30.10.0/24
 Vlan 10 (port 26,28,30) is red 193.0.0.130/24
 each VM will have 3 ports that the vid in a SWprocurve6120 TRunk mode all the vlans and their traffic. my question is the same as (ATUX) the one of the vlan / trunk in both SW ??? / and if you must declare IP and IP in both cases,
 the ports go TAG or UNtagg ????
 I do not see the IPs that reach the Extreme SW, only as VM's internal vlans ..
 who helps please
(Edited)
Photo of Tomasz

Tomasz

  • 1,492 Points 1k badge 2x thumb
Hi Dowar,

Could you please describe the network design a little bit more detailed here?
Where is the VM server connected?
Please remember, that if you have different subnets you have to route the traffic at some point.
Regarding the tagging, between switches it is good to have tagging (so you can put multiple VLANs through one port), between physical devices like PCs or printers - untagged ports (as those devices do not tag usually), and if you have a VM server then it is to be tagged most likely as well, so you can put plenty of VLANs from a switch to the server, and then on VM server you create vSwitches with port groups that distribute VLAN access among virtual machines.
If you need some support with config on Extreme switch, let us know the switch model.

Regards,
Tomasz
Photo of Dowar Viscaya

Dowar Viscaya

  • 80 Points 75 badge 2x thumb

Hello Tomasz; I have a server BLADE c3000, which I have two physical machines, in two servers and within them one VM in each the IPs of the virtual machines are declared in my VCMI ... and between them I see them without problems. Now I have an integrated SWICTH HPprocurve 6120, where I declare the 2 words that call me a detail with the IPs that describe you:

VLAN 3 (ports 20,22,24) with ip address 172.30.10.0/24
Vlan10 (port 26,28,30) with address ipo 193.0.0.0 /24
 
Each VLAN has 3 ports assigned to the Procurve 6120 Trunk Mode all vlans and their traffic.

I want to connect to a LAN network at the extreme Swicth x450e 48p summit. with IP 172.30.10.30, 31, 31/24 and IP address 193.0.0.130, 311, 132/24; being the same VLAN 3 and VLAN 10.

my question is the vlan / should they be in the trunk / untag or tag or are declared IP in both cases ????
 
Thank you

Photo of Dowar Viscaya

Dowar Viscaya

  • 80 Points 75 badge 2x thumb
Hello everyone,

I share the solution, labeled as only port (18) on the side of the extreme switch 450 and labeled as port procurve6120 sw, leaving the proactive passive and active end 450, also route the IP and activating the LACP in both swicth.


see you