UNSOLVED

maaike

updated

21 years ago

M

maaike

7 Posts

0

24619

May 23rd, 2005 06:00

How to use a VLAN (apart from network) over 2 existing switches?

Hello,
 
Can anyone please help me?
I have 2 existing switches with both the same VLAN.
(These switches (Powerconnect 5324) are connected via fiber optic and already has other vlans.)
How can i let them work together? do i have to use trunking for this?
 
  • A.Sluik

    20 Posts

    513

    0

    Posted May 24th, 2005 14:00

    Yes specify for the interswitch links a VLAN-TRUNK, we use 1Q/Trunk.
    And add the VLANS to the trunk on both sides, assuming you use the
    same vlan-ids in both switches.
  • maaike

    7 Posts

    514

    0

    Posted May 25th, 2005 14:00

    Thanks for your reaction. Can you please specify what you mean what vlan-trunk.

    There is also another fiber connection between these 2 switches, can this be a problem?

  • ekudinov

    37 Posts

    514

    0

    Posted May 25th, 2005 21:00

    You have to configure new vlan on both switches for trunking purpose(For example Valn 500). This vlan will contain the ports through witch your switches are connected (For example G24).   You are typing exactly the same on both switchs:

    Switch(config#) interface ethrnet g24

    Switch(config-if#)switchport mode trunk

    Switch(config-if#)switchport trunk native vlan 500

    Switch(config-if#)switchport trunk allowed vlan add all

    Good luck

     

  • maaike

    7 Posts

    514

    0

    Posted May 26th, 2005 05:00

    Thank you,
    Just one more question:
    can i use the 2 fiber channels to connect both switches or just one? (now there is a existing fiber which connects both switches and 1 extra for the vlan- testing). If it is possible with 2, can i use your commands on the second fiber connection? 
  • A.Sluik

    20 Posts

    514

    0

    Posted May 26th, 2005 06:00

    Note also that for speed you might use up to four ports in a LAG (hardware trunk).
     
    If you define more ports in a LAG they will become a sort of standby ports in the LAG.
     
  • A.Sluik

    20 Posts

    514

    0

    Posted May 26th, 2005 06:00

    network DOWN is always possible.... :smileyhappy:
     
    but this can help
     
    - to change a port to be contained in a LAG it is advised to NOT have it active.
     
    - temporary you can setup a copper-link between the switches,
    but be careful to swap copper and fiber if not using spanning-tree.
    = setup a VLAN-trunk for the copper ports
    = one-action: 1st: remove fibers and 2nd: plug-in copper (within seconds)
     
    now the fibers ports are free to re-configure them in a LAG.
    (obvious the choice using LAGs or SpanningTree is up to you)
  • A.Sluik

    20 Posts

    514

    0

    Posted May 26th, 2005 06:00

    Hi there,
     
    A vlan-trunk is a link which is able to send multiple vlans to the other switch.
    Vlan-tags (headers) will be use when sending the packets. Note that both
    switches must know all the vlans you share between them.
     
    Yes you are able to use both fibers, two options:
     
    If you use SpanningTree configure all the fiberports as a vlan-trunk.
    Enable the spanning-tree on the switch else you create a loop
    over the 2 fibers connections. Advised is Rapid-Spanningtree mode
    and use Edgeports where possible.
     
    BUT:
    If you only link up these 2 switches then a 2-gbit trunk (dont confuse with vlan-trunk)
    or LAG could be created, SpanningTree will not help. SpanningTree will help
    if you connect more than two-switches.
    First create the LAG on both switches containing the fiberports you prefer.
    Then create a VlanTrunk using the LAG as if it is a single link just like a single
    fiber link.
     
  • maaike

    7 Posts

    514

    0

    Posted May 26th, 2005 06:00

    i dont use spanning tree, so the second option i will try then. BTW, is there any option where i don t bring the network down?
  • maaike

    7 Posts

    514

    0

    Posted May 31st, 2005 07:00

    hello again,

    i have a small problem with these vlan. Probably it is very simple, but i don t know.

     

     

    I have to switches connected with UTP

    on both switches i created the same vlan with the same id and name.

    on both switches i connected a client and did not put these clients ports in this vlan

    the ports on the switch which are connected by UTP, these i did put in these created vlan

     

    how is it possible that i can ping client B from client A? 

     

     

  • ekudinov

    37 Posts

    153

    0

    Posted June 1st, 2005 00:00

    Hi,
    By default all ports on PowerConnect are in the same Vlan (Vlan 1)

    So you will be able ping from Vlan 1 to Vlan 1