I'm trying to make my posts a standalone where it covers a topic that doesn't have to reference my previous posts. Although they will still build on the previous posts. Configuring a router is a little difficult because it all depends on the environment you build it in.
The context of this router requires that the virtual PC be able to route to the appropriate destination. In this case, the router's next hop it's responsible for is the ASAv.
Let's get started.
Similar to my ASAv, my router image was built from the VIRL IOSv. This is what I'll be using in the topology. Once you build the topology as shown below, go ahead and turn all devices on.
Now let's configure the router to pass traffic. This is done by assigning the interfaces an appropriate IP address, and enabling the interface. Then we'll set the IP route, so it'll know what to do with the traffic sent to it. We'll issue a ping to make sure it succesfully talks to the ASAv Gig0/1 interface. If successful, lastly save the configuration.
conf t
int gig0/2
ip address 10.0.0.1 255.255.255.0
no shutdown
exit
int gig0/1
ip address 10.1.0.1 255.255.255.0
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 10.1.0.250
end
ping 10.1.0.250
write
That's the basic setup for the router. Now we'll work with providing the IP address to the virtual PC.
ip 10.0.0.25 255.255.255.0 10.0.0.1
show ip
ping 10.1.0.250
save
The ping works from the PC to the ASAv inside interface. So that means our router is working just fine!



No comments:
Post a Comment