Cisco: Setting a VLAN across a network
20 pts.
0
Q:
Cisco: Setting a VLAN across a network
hi,newbie here :)

I am working on Packet Tracer 5.0 and I want to setup 2 vlan's that spread across a network. I attach the view of the network:

Network View

2 of 3 hosts on switch 1 belong in vlan10 and the other one belongs to vlan20. Likewise, 2 of 3 hosts on switch 2 belong to vlan10 and the other one belongs to vlan20.

I have already set up trunk ports / interfaces on the switches/routers.
Questions :

How is it possible for hosts located in different switches to belong to the same vlan's?
What protocol(s) are needed to support this function ??
What further settings do i need to apply to the switches/routers ??

Thank you, sorry for my english :)
ASKED: May 19 2009  0:59 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
190 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Basically as per your network topology & your point of thinking, first you have to make communication between router to switch means inter-vlan communication through encapsulation trunking on the router as well as on switch. On most of the cisco devices, dot1q encapsulation trunking is there, but you have to configure manually on the router. If by default dotq encapsulation trunking is not there then you can use isl encapsulation trunking on the same.

On Router :
For vlan 10

Router(config)#int fa0/0.10
Router(config-if)# switchport mode trunk
Router(config-if)#encapsulation trunk dot1q 10
Rouetr(config-if)# ^Z

For vlan 20

Router(config)#int fa0/0.20
Router(config-if)# switchport mode trunk
Router(config-if)#encapsulation trunk dot1q 20
Rouetr(config-if)# ^Z

On Switch :
For vlan 10 on any port wherever you want to patch a port on particular vlan.

Switch1(config)#int fa0/2
Switch1(config-if)#switchport mode access
Switch1(config-if)#switchport access vlan 10

For vlan 20 on any port wherever you want to patch a port on particular vlan.

Switch1(config)#int fa0/3
Switch1(config-if)#switchport mode access
Switch1(config-if)#switchport access vlan 20

But you can assign a single port in a single vlan means you can’t take any port in multiple vlan at a time. You can change vlan of the particular port.
Last Answered: Jun 12 2009  9:08 AM GMT by Bhupendra   190 pts.
Latest Contributors: Teo   20 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Jfernatt   605 pts.  |   May 19 2009  1:42AM GMT

There are actually several ways that you can do this but in my opinion the easiest is an L2TP tunnel.

Basically you would configure the interfaces connected to the switches as subinterfaces (so you can route traffic AND have an xconnect interface) and configure the tunnel between R2 and R3.

Here is the L2TPv3 Chapter of the WAN Configuration Guide

 <a href="http://www.cisco.com/en/US/docs/ios/wan/configuration/guide/wan_l2_tun_pro_v3_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1051352" title="http://www.cisco.com/en/US/docs/ios/wan/configuration/guide/wan_l2_tun_pro_v3_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1051352" target="_blank">http://www.cisco.com/en/US/docs/ios/wan/…</a>

If you would like more detailed help or a working configuration example, just ask.

Good Luck

 
0