cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2084
Views
0
Helpful
4
Replies

Splitting a switch

dathaide
Level 1
Level 1

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 4

dhvann
Level 1
Level 1

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.

hi

thanks do u have a link to a sample config

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

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