0

I would like to attach (route) EC2 Linux-based instance to a Cisco Router XRv9000v IOS XR 6.3.1 in order to send traffic.

enter image description here

In the picture above, the EC2 sends traffic to R1 either outside or within VPC.

Khalil Mebarkia
  • 129
  • 1
  • 1
  • 13
  • My initial thought was to use a route table, but I tried it and it didn't work. I wonder if it has to be done at the operating system level? You could look at the documentation or automation for the Cisco CSR1000v, which is fairly extensive. – Tim Apr 02 '19 at 16:26
  • @Tim yes, my thought too. I'm using XRv9000. I don't know how to do it. – Khalil Mebarkia Apr 03 '19 at 08:52

1 Answers1

1

Your router has to have an interface in the same subnet as your EC2 instance. The interface becomes the default gateway for the instance.

Ron Trunk
  • 2,149
  • 1
  • 10
  • 19