Routing between VLANs
auos
Member Posts: 186
in CCNA & CCENT
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.
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
-
georgemc Member Posts: 429Try 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.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: -
Stotic Member Posts: 248You're using subinterfaces in your first configuration. Did you configure anything on the physical interface? Fa0/0
-
mikej412 Member Posts: 10,086 ■■■■■■■■■■I configure my (Switch 2950) with 2 VLAN (VLAN 1 and VLAN 2).:mike: Cisco Certifications -- Collect the Entire Set!