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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question for VLANs on cat 2950 ?

Status
Not open for further replies.

cisco99999

IS-IT--Management
Nov 5, 2007
71
US
Hi guys,

I have a question for this case:

router 2621xm -->cat 2950(A)-->cat 2950(B)-->router 2621xm


I created VLAN 2 and VLAN 3 for both cat A and B. That means, cat A and cat B have VLAN 2 and VLAN 3, I also created a trunking port between cat A and cat B using Fa 0/24 on both cats. I used cross-over to connect 2 cat together.

I connect computer A to VLAN 2 on cat A, and computer B to VLAN 2 on cat B. They can't ping each other now, how do i make them can ping each other in same VLAN but on difference cat ?

I connect computer C to VLAN 3 on cat A, and computer D to VLAN 3 on cat B. How do i make all computers can ping each other (computers in VLAN 2 can ping computers in VLAN 3 or vice versa)in this case ?

Thanks
 
>I connect computer A to VLAN 2 on cat A, and computer B to >VLAN 2 on cat B. They can't ping each other now, how do i >make them can ping each other in same VLAN but on difference >cat ?

I solved this one.


but still stuck with the second question.



 
You would have to setup a trunk into one of your routers and setup the interfaces for trunking if you want to route between vlan 2 and vlan 3 . Those are layer 2 switches so the routers need to route those vlans . You dot this by creating subinterfaces on the router and giving them addresses

interface GigabitEthernet0/0
no ip address
duplex full
speed 100
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 2 native
ip address 192.168.2.1 255.255.255.0

interface GigabitEthernet0/0.3
encapsulation dot1Q 3
ip address 192.168.3.1 255.255.255.0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top