router on a stick

picI have router on a stick fa0/0.10 on R1 and an IP address assigned to R2 f0/0 I am trying to understand why I cannot ping R2 from R1?

R1 config:
interface FastEthernet0/0
 no ip address
 duplex full
interface FastEthernet0/0.10
 encapsulation dot1Q 10
 ip address

Open in new window

R2 config:
interface FastEthernet0/0
 ip address

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Benjamin Van DitmarsSr Network EngineerCommented:
if the routers are directly connected. you need to remove the subinterface.
yes. benjamin is correct.
you can remove the subinterface.
configure the ip address on the f0/0 on R1 and it should ping straightaway.

subinterface comes in place. when you have a switch conneced to R1 and if swtich has multiple vlans. then you can use subinterface on r1.
but in your current scenario you do not need subinterfaces.
There is tagging issue on link.

R1 is tagging subnet packets with tag 10,  R2 is not configured to accept taged frames and is dropping tagged traffic.

You could configure both sides to use/expect tagged (encapsulate dot1q 10), or or R1 configure subinterface 10 as encapsulation dot1Q 10 native to match other side (or remove subinterface as suggested by others).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
leblancAccountingAuthor Commented:
R1 is a SD-WAN appliance and cannot have an IP address on the interface. That is why I need to use the subinterface. But put a switch in between is a perfect solution. Thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.