Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Splitting a switch

hi

I have a router with two ethernet interfaces and two different networks. I want to connect both to a same switch and hence spilt the switch 2950xl to two vlans. How can i accomplish this please provide configuration links. I don't want to use trunks just access links

thanks

4 REPLIES
New Member

Re: Splitting a switch

configure a second VLAN in the 2950 and associate that VLAN to the ports that you want to be routed via the other router interface.

New Member

Re: Splitting a switch

hi

thanks do u have a link to a sample config

New Member

Re: Splitting a switch

Hi,

on switch interfaces, the only thing you have to do is;

switchport access vlan .

for example:

2950xl(config)#int fastEthernet 0/2

2950xl(config-if)#switchport access vlan 2

when you wrote this command under interfaces, the vlan is automaticaly created (either if it doesn't exist) and that interface is assigned to that vlan. for intervlan routing, one router interface must be assigned per vlan.

or you can do trunking configuration. trunking provides you to use only one physical interface for all vlans, so you don't waste your ethernet interfaces per vlan on your router. if you want to know how to do this, look at the link below..hope this helps..

http://www.cisco.com/en/US/tech/tk389/tk390/technologies_configuration_example09186a00800949fd.shtml

New Member

Re: Splitting a switch

Hi Vlan example, in global config

interface VLAN1

ip address link1.address 255.255.255.0

no ip redirects

no ip unreachables

no ip directed-broadcast

no ip route-cache

interface VLAN2

ip address link2.address 255.255.255.0

no ip redirects

no ip unreachables

no ip directed-broadcast

no ip route-cache

VLAN port binding

interface FastEthernet0/20

description VLAN1 LAN

keepalive 10

switchport access vlan 1

no fair-queue

no cdp enable

best of luck

hari

interface FastEthernet0/21

description VLAN2 LAN

keepalive 10

switchport access vlan 2

no fair-queue

no cdp enable

117
Views
0
Helpful
4
Replies