cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2087
Views
0
Helpful
15
Replies

Any explanation on why this simple 'router on a stick' does not work?

news2010a
Level 3
Level 3

Imagine I have:

client1: IP=10.0.0.1/12, default-gateway=10.15.255.254

connected to switch1, port fa0/2.

client2: IP=10.31.255.1/12, default-gateway=10.31.255.254

connected to switch1, port fa0/3.

From client1 and client2, I can ping respective default-gateways OK.

However, neither client1 nor client2 can ping each other.

It seems this router on a stick config is not working. Based on the output of the show tech for both rotuer and switch, do you have any idea why this does not work?

15 Replies 15

news2010a wrote:

Once I powered on devices and client machines in the rack to work on this again, everything worked fine.

One thing that I learned though:
I thought that placing an IP address (which belongs to vlan 298 network range) under vlan 1 for example could let me establish IP communications. I see that I had to place it under vlan 298. Interesting.


Thanks everyone for all your help.

Marlon

Glad you got it working.

The reason you need to use an SVI for vlan 298 is because the connection between the switch and the router is an 802.1q trunk so the vlan packets will be tagged. And the router expects to see vlan tags for vlans 298, 442, 503 and 550. So if it receives a packet with a vlan 1 tag it doesn't know what to do. And if the native vlan is vlan 1 and so the packet is sent untagged it still doesn't know what to do as you have not explicitly configured any of the subinterfaces as the native vlan.

Jon