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

cisco 2950 catalyst

revilo3246
Level 1
Level 1

need help, what configuration should i put to my cat 2950 if I connect a hub of different network to its port.Also, to my router what additional config. will I put. please refer to my attachment for more details. thanks a million!

4 Replies 4

ankurbhasin
Level 9
Level 9

HI Revilo,

I think you forgot to attach any attachment.

To come to your question if you are connecting your hub which belongs to different networks to switchport you need to assign your switchports into some vlans.

First create some vlans on your switch.

switch(config)#vlan database

switch(config-vlan)#vlan 2

switch(config-vlan)#vlan 3

once vlans are created fo to the specific interfaces

switch(config)#int fa0/1

switch(config-int)#switchport mode access

switch(config-int)#switchport access vlan 2

same way you can do for rest of the ports.

Also remember default setting for switchport is in vlan 1.

HTH

Ankur

thanks, here's the attachment. How about to my router? what additional config would I add?

thanks again!

Hi Revillo,

Looking at your attachment it seems that you want to have comminication between your vlans or different networks.

If I am right you have to configure inter vlan routing on your router.

Router config

router(config)#int fa0/1.1

router(config-subint)#ip add

router(config-subint)#encapsulation dot1q

router(config-subint)#int fa0/1.2

router(config-subint)#ip add

router(config-subint)#encapsulation dot1q

Make sure that switch port connected to router has this config

switch(config)#int fa0/10

switch(config-int)#switchport trunk encapsulation dot1q

switch(config-int)#switchport mode trunk

HTH, if yes please rate the post.

Ankur

excellent thanks a lot!

Review Cisco Networking products for a $25 gift card