Options

Routing between VLANs

auosauos Member Posts: 186
Hi,

I configure my (Switch 2950) with 2 VLAN (VLAN 1 and VLAN 2). and I connected my switch with my router (2610). and I configure my router like this: -

interface fa0/0.1
ip address 10.1.1.1 255.255.255.0
encapsulation dot1q 1

interface fa0/0.2
ip address 10.1.2.1 255.255.255.0
encapsulation dot1q 2

But it is not work for routinig between VLANs. After that I change my configuration in router like this: -

nterface fa0/0
ip address 10.1.1.1 255.255.255.0
encapsulation dot1q 1

interface fa0/0.2
ip address 10.1.2.1 255.255.255.0
encapsulation dot1q 2

and it is work. What is the differents.


BR,
Auos.

Comments

  • Options
    georgemcgeorgemc Member Posts: 429
    Try telling the router that vlan 1 is the native vlan. Use the "native" keyword. I'm assuming this is true and you haven't changed it on the switch. Otherwise you should be able to use two vlans that don't include vlan 1 and not have to use the native command.


    Although your second config works, you really shouldn't do it that way.


    George

    P.S. Please forgive my incoherence, it's very late. icon_wink.gif
    WGU BS: Business - Information Technology Management
    Start Date: 01 October 2012
    QFT1,PFIT in progress.
    TRANSFERRED/COMPLETED: AGC1,BBC1,LAE1,QBT1,LUT1,QLC1,QMC1,QLT1,IWC1,INC1,INT1,BVC1,CLC1,MGC1, CWV1 BNC1, LIT1,LWC1,QAT1,WFV1,EST1,EGC1,EGT1,IWT1,MKC1,MKT1,RWT1,FNT1,FNC1, BDC1,TPV1 REQUIRED:
  • Options
    auosauos Member Posts: 186
    Thank for clarify, but why I shouldn't do the second config in that way.
  • Options
    StoticStotic Member Posts: 248
    You're using subinterfaces in your first configuration. Did you configure anything on the physical interface? Fa0/0
  • Options
    mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    auos wrote: »
    I configure my (Switch 2950) with 2 VLAN (VLAN 1 and VLAN 2).
    The 2950 is a Layer 2 Switch -- you can only have one VLAN Interface ACTIVE at a time to use as an Administrative Interface.
    :mike: Cisco Certifications -- Collect the Entire Set!
Sign In or Register to comment.