setting up a TRUNK on cisco switch
535 pts.
0
Q:
setting up a TRUNK on cisco switch
I want to know if there is a to combine different subnet on one cisco 2950 switch with trunking ... i have .0, .31. and .9. If someone can give me an example. that would be wonderful. Right now i have one trunk going to the attic switch from the main switch room which is .35.
ASKED: Oct 1 2009  3:53 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
390 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Hi,

If you want to combine different network ,you need a layer 3 device such as a router.Trunking can carry VLAN information between Switches.

Thanks,


Good day! another option in combining different subnets is by using intervlan routing. but here you need a layer 3 device like router.

here is an,example of creating intervlan routing using cisco devices:

Switch:

Switch(config)#vlan 10
Switch(config-vlan)#name subnet1
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name subnet2
Switch(config-vlan)#exit
Switch(config)#int fa0/1
Switch(config-if)#switchport mode trunk ->configuring fa0/1 as a trunk, connected
Switch(config-if)#exit to fa0/0 of the router
Switch(config)#int fa0/5
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10 ->assigning interface 5 to vlan 10
Switch(config-if)#exit
Switch(config)#int fa0/10
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20 ->assigning interface 5 to vlan 20
Switch(config-if)#exit


Router:

Router(config)#int fa0/0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int fa0/0.10
Router(config-subif)#encapsulation dot1q 10
Router(config-subif)#ip address 192.168.10.1 255.255.255.0 -> gateway for subnet1
Router(config-subif)#exit assuming 192.168.10.0/24
Router(config)#int fa0/0.20
Router(config-subif)#encapsulation dot1q 10
Router(config-subif)#ip address 192.168.20.1 255.255.255.0 -> gateway for subnet2
Router(config-subif)#exit assuming 192.168.20.0/24

with this configuration, network from subnet1 can communicate with network on subnet2.
Last Answered: Nov 4 2009  4:58 AM GMT by Yeahboy   390 pts.
Latest Contributors: Sumeshbnr   1590 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



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

Yasirirfan   2995 pts.  |   Oct 2 2009  11:11AM GMT

You can create a trunk port in a Cisco Switch by using following commands,

ITKE-Cisco(config)#interface fastEthernet 0/1

ITKE-Cisco(config-if)#switchport trunk encapsulation dot1q

ITKE-Cisco(config-if)#switchport mode trunk

ITKE-Cisco(config-if)#no shutdown

ITKE-Cisco(config-if)#

Cheers

Yasir

 

Bhupendra   190 pts.  |   Oct 2 2009  7:05PM GMT

my dear,
if u really want to share VLAN traffic from one switch to another switch, then u need to configure trunk port between switches b’coz truck carries multi VLAN traffic. And u can create multi VLAN on L2 switches as per the IOS version & ability of the switch.
If u want to communicate among inter VLAN means different subnets then u need to have L3 switch to configure inter VLAN.

Please feel free to ask any further query & write me for your relevant query.

Thanks & Regards,
Bhupendra Singh
 <a href="mailto:bhupendra_singh007@yahoo.co.in" title="mailto:bhupendra_singh007@yahoo.co.in">bhupendra_singh007 at yahoo.co.in</a>

 
0