VLAN question

Unanswered Question
Feb 22nd, 2008
User Badges:

Hi,


I setup two ethernet switches (CAT 3750) on 8/F and 32/F. detail please check the attached file.


there are two fibers to be connected to each other. It has two VLANs on 8/F and 32/F. 192.168.12.0/24 and 192.168.24.0/24. how do I config the CAT to force the 192.168.12.0/24 traffic to fiber A and 192.168.24.0/24 go fiber B?


any suggestion?


rdgs



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Edison Ortiz Fri, 02/22/2008 - 08:37
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

If you are only going to deal with 2 Vlans, let's call 192.168.12.0/24 Vlan12 and 192.168.24.0/24 Vlan24.



Then on the switches, where you want traffic for Vlan12 to go just issue the following on the switchports


interface fx/x

switchport mode access

switchport access vlan 12


On the switchport where you want Vlan24 just issue:


interface fx/x

switchport mode access

switchport access vlan 24


If you wanted to trunk the ports, issue the following:


interface fx/x

switch port trunk encapsulation dot1q

switchport mode trunk

switchport trunk allowed vlan 12



For Vlan12 and for Vlan24


interface fx/x

switch port trunk encapsulation dot1q

switchport mode trunk

switchport trunk allowed vlan 24




One thing to keep in mind, I recommend going with the trunk if you plan on carrying more than one Vlan over that link. If you aren't then go with the access-vlan method.


HTH,


__


Edison.


Actions

This Discussion