Options

problem setting 2 vlans on 2950 with 1721 router for trunkin

walaboomwalaboom Member Posts: 23 ■□□□□□□□□□
Hello guys, I have a very simple vlan, but I am having trouble configure the switch to make my PC 1 ping my PC 2. Below is the network diagram and simple configuration.

vlan.JPG

http://www.geocities.com/walaboom/vlan.JPG

configuration on router -

interface e 0.1
ip address 10.1.1.1 255.255.255.0
encapsulation isl 1

interface e 0.2
ip address 10.1.2.1 255.255.255.0
encapsulation isl 2

(Do I need any other configuration on the router?)

PC configuration -
PC 1 ip address 10.1.1.2
PC 2 ip address 10.1.2.2

Switch configuration - (the part that troubles me the most)
vlan database
vlan 2 name tony
conf term
int fa 0/2
switchport mode access
switchport access vlan
exit

pretty much what I did was just create vlan 2 and add fa 0/2 under vlan 2
I know i need some other configuration, but I am not sure what else I will need.

Do i need to set vtp mode on fa 0/12 ?
also, Do i need to set ip address on vlan 1 interface and vlan 2 interface?
I tried to set the IP address on both interfaces, however it will let me set the IP for vlan 1, but it will not let me set the IP for vlan 2, when I run "show running-config" the ip i set for vlan 1 is there, but not vlan 2.
Also when I run show ip interface brief, vlan 2 will not come up, is this normal?
I am using Boson NetSim for this simulation, I have been trying to make this work for the past 3 hours and have no luck, can some expert please tell me what kind configuration I need on switch please... thanks in advance.

[/url]

Comments

  • Options
    tunerXtunerX Member Posts: 447 ■■■□□□□□□□
    The 2950 will let you create multiple vlan interfaces but only one can be active at a time. Fa0/12 does have to trunk otherwise you get no vlan tags on the segment that the router can use.

    2950_1#conf t
    2950_1(config)#vlan 5
    2950_1(config-vlan)#int fa 0/13
    2950_1(config-if)#switchport mode access
    2950_1(config-if)#switchport access vlan 5
    2950_1(config-if)#end
    2950_1#sho vlan

    When you do a show vlan you will see that VLAN0005 is now active and containts interface 13. You have to specify the vlan number after "switchport access vlan"

    The major problem you are having is that you specified the encapuslation on the 1721 as ISL. The 2950 only supports dot1q encapsulation. Set the encapsulation on the 1721 as dot1q.
  • Options
    sonagccnasonagccna Member Posts: 44 ■■□□□□□□□□
    configure default gateway on pc
    and i think trunk enabling is needed as now it involves two vlans with routing,
    any comments about this tuneX?
  • Options
    c_gc_g Member Posts: 38 ■■□□□□□□□□
    one more note that turnerX hit on, make sure that your encapsulation is the same on both ends of the links from the router to the switch. The 2950 only supports dot1q encapsulation, this has hit me before in the past.
    Thanks for the help, -cg
  • Options
    DrakonblaydeDrakonblayde Member Posts: 542
    interface e 0.1
    ip address 10.1.1.1 255.255.255.0
    encapsulation isl 1

    interface e 0.2
    ip address 10.1.2.1 255.255.255.0
    encapsulation isl 2

    Well, that's your biggest problem right there. As the poster above noted, the 2950XL's only support dot1q, so setting the router up for ISL means you've got no trunk :)
    = Marcus Drakonblayde
    ================
    CCNP-O-Meter:
    =[0%]==[25%]==[50%]==[75%]==[100%]
    ==[X]===[X]====[ ]=====[ ]====[ ]==
    =CCNA==BSCI==BCMSN==BCRAN==CIT=
  • Options
    markrohlfmarkrohlf Member Posts: 1 ■□□□□□□□□□
    don't forget to do a no shut on the physical interface of the router.

    I also found I had to do a no shut on the vlan interfaces on the 2950s.

    mr
  • Options
    walaboomwalaboom Member Posts: 23 ■□□□□□□□□□
    thank you guys so much, it is working now :D
Sign In or Register to comment.