Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need a config example

Status
Not open for further replies.

ROUTERKID1

IS-IT--Management
Jun 23, 2004
176
US
Guys,

I have one 2950 switch with 24 ports and a 2514 router with an E0 E1 S0 and S1 interfaces. I would like to know if it is possible to create two Vlans on the switch and to use the router to route between vlans ? I would appericate any sample configs you guys have.

Thanks
 
since you do not have a fast ethernet interface on the 2514 you will have to just use the ethernet ports as routed interfaces. there will be no trunking of vlans on one port. you can just assign ports on the switch to seperate vlans and connect one E0 port on the router to one vlan set and the other E1 port to another set on the 2950.

the configuration would look like this

switch

configure the vlans in the vlan database

switch#vlan database
switch(vlan-database)#vlan 10
switch(vlan-datebase)#vlan 20

then the show run in the switch

fastethernet 0/1 --------->e0 would be connected here
switchport access vlan 10
fastethernet 0/2
switchport access vlan 10
fastethernet 0/3
switchport access vlan 20 ---> e1 would be connected here
fastethernet 0/4
switchport access vlan 20

for the router


router(config)#interface ether 0
router(config-if)#ip address 10.10.10.10 255.255.255.0
router(config-if)#no shut
router(config-if)#exit
router(config)#interface ether 1
router(config-if)#ip address 20.20.20.20 255.255.255.0
router(config-if)#no shut
router(config-if)#exit
router(config)#exit
router#copy run start

then just ping the interface on the router from the clients connected to the ports on the switch and you should be in business.


try out QOS on the switch as well. 2950s are fun


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top