Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Only able to route traffic thru a native vlan re:cisco router

Hello Expert,

I have one router with two ethernet interface.

I am working on allowing two different networks using one physical interface.

I set up a lab environment  to test the above.

I commence by sub interfacing the physical (fa 0/0) and created a two logical interface and defined as   Vlan 1 and Vlan 10. The addition physical interface is use a wan interface connects to host to simulating a remote site.

For my lan environment I connect a switch to the physical interface of the router .

On the switch I configured one port as  vlan 10 and all the other ports are members of vlan 1 by default  a trunk port is configured that allows  vlan 1 and 10 .

I connect two lap tops to the switch, laptop A connect to vlan1 and laptop B connect to vlan 10 .

Summary of set

Laps connected to switch , switch connect to router thru trunk port to lan side

The second Ethernet ( wan) is connect to host

Results of the lab test

------------------------------

From laptop A I can ping the remote host connected to the wan interface.

From laptop B I cannot ping the host connected to the wan interface.

I observe that laptop A is connect to port on switch defined as vlan1 with by default is native vlan.

If I defined vlan 10 as a native vlan , laptop B is able to ping the remote host.

I am confuse and unsure how to proceed.

Regards

2 ACCEPTED SOLUTIONS

Accepted Solutions
Hall of Fame Super Blue

Re: Only able to route traffic thru a native vlan re:cisco route

rbglusers wrote:

hello Awan,

Attach is the info as per request.

I using the a cisco 3500 xl switch and the command 'show interface trunk'  is not returning any info i think this command is missing on this switch.

Any the other info is provide.

Regards

Is fa0/48 the uplink to the router ? ie.

interface FastEthernet0/48
switchport multi vlan 1-250
switchport mode multi

if so this is not a trunk. You need to change the config -

interface fa0/48

switchport mode trunk

Jon

Cisco Employee

Re: Only able to route traffic thru a native vlan re:cisco route

Yes as Jon stated you need to make your switchport a trunk port so that it 'tags' frames with the required VLAN tag which the router is expecting (10 in your case). Once you make the switchport a trunk interface things should work.

Atif

9 REPLIES
Cisco Employee

Re: Only able to route traffic thru a native vlan re:cisco route

If you share the relevant interface configurations of the switch and router that would help. Also share the output of the 'show interface trunk' from the switch. It is probably something minor but we will need to take a look at the configs.

Atif

New Member

Re: Only able to route traffic thru a native vlan re:cisco route

hello Awan,

Attach is the info as per request.

I using the a cisco 3500 xl switch and the command 'show interface trunk'  is not returning any info i think this command is missing on this switch.

Any the other info is provide.

Regards

Hall of Fame Super Blue

Re: Only able to route traffic thru a native vlan re:cisco route

rbglusers wrote:

hello Awan,

Attach is the info as per request.

I using the a cisco 3500 xl switch and the command 'show interface trunk'  is not returning any info i think this command is missing on this switch.

Any the other info is provide.

Regards

Is fa0/48 the uplink to the router ? ie.

interface FastEthernet0/48
switchport multi vlan 1-250
switchport mode multi

if so this is not a trunk. You need to change the config -

interface fa0/48

switchport mode trunk

Jon

Cisco Employee

Re: Only able to route traffic thru a native vlan re:cisco route

Yes as Jon stated you need to make your switchport a trunk port so that it 'tags' frames with the required VLAN tag which the router is expecting (10 in your case). Once you make the switchport a trunk interface things should work.

Atif

New Member

Re: Only able to route traffic thru a native vlan re:cisco route

hello Experts

,

I did the amendment as per post but did not get the connection via the two laptops

When I did the show run , I notice Vlan 1 is shutdown .

How do i restart this Vlan.(Vlan 1)

Regards

Jomo

Cisco Employee

Re: Only able to route traffic thru a native vlan re:cisco route

rbglusers wrote:

hello Experts

,

I did the amendment as per post but did not get the connection via the two laptops

When I did the show run , I notice Vlan 1 is shutdown .

How do i restart this Vlan.(Vlan 1)

Regards

Jomo


You do not need to worry about the VLAN 1 SVI on the switch, just let it remain shutdown as you are only using the switch as Layer-2. It will be easier for someone to work with you for a couple of minutes to troubleshoot it, someone willing to spend sometime with Jomo? :-)

If you are unable to find someone who can walk you through it paste the output of the configs as well as the following commands:

From Switch:

show interface trunk

show vlan

Also explain the exact issue that you are facing. Are you able to ping the interface on the router from the laptop connected to the switch?

Atif

New Member

Re: Only able to route traffic thru a native vlan re:cisco route

hello Guys,

I found the error , my encapsulation on the trunk port was incorrect i corrected same and all is working.

thanks  thanks a million guys .

Regards

    

Jomo.

Hall of Fame Super Blue

Re: Only able to route traffic thru a native vlan re:cisco route

Jomo

Glad you got it working. Please mark post as solved.

Jon

Hall of Fame Super Blue

Re: Only able to route traffic thru a native vlan re:cisco route

In addtion can you make sure your default-gateways for the laptops are set to the subinterface addresses on the router.

Jon

396
Views
0
Helpful
9
Replies