01-22-2006 08:51 PM - edited 03-03-2019 11:31 AM
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!
01-22-2006 08:59 PM
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
01-22-2006 09:46 PM
01-22-2006 09:53 PM
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
01-23-2006 02:47 AM
excellent thanks a lot!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide