Link to home
Start Free TrialLog in
Avatar of leblanc
leblanc

asked on

router on a stick

User generated imageI have router on a stick fa0/0.10 10.10.10.1/30 on R1 and an IP address assigned to R2 f0/0 10.10.10.2/30. I am trying to understand why I cannot ping R2 from R1?

User generated image
R1 config:
interface FastEthernet0/0
 no ip address
 duplex full
!
interface FastEthernet0/0.10
 encapsulation dot1Q 10
 ip address 10.10.10.1 255.255.255.252
!

Open in new window


R2 config:
interface FastEthernet0/0
 ip address 10.10.10.2 255.255.255.252

Open in new window

Avatar of Benjamin Van Ditmars
Benjamin Van Ditmars
Flag of Netherlands image

if the routers are directly connected. you need to remove the subinterface.
Avatar of Mr.X
Mr.X

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.
ASKER CERTIFIED SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leblanc

ASKER

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