0

I have the following network, I have never configured a Cisco router before so I'm having a little trouble. In router R1 I used the following commands to assign an ip to the router:

configure terminal
interface fastEthernet 1/0
ip address 192.168.1.1 255.255.255.0
no shutdown

For R2:

configure terminal
interface fastEthernet 0/0
ip address 192.168.1.2 255.255.255.0
no shutdown

configure terminal
interface fastEthernet 2/0
ip address 192.168.3.1 255.255.255.0
no shutdown

Now for the VM servidor-1 I assigned the IP 192.168.3.5/24 with 192.168.3.1 as the gateway. However I can't ping neither router, R1 and R2, from the VM. In the Mikrotik router all I had to do was assign the IPs in the router and it worked.

enter image description here

0

R1 and R3 require a route back to 192.168.3.0/24 via R2. Without it, they use their default route towards the Internet for the echo reply.

You need to either add the route statically or configure a routing protocol like OSPF.

3
  • But shouldn't I be able to atleast ping R2 from the VM? – Rodrigo Pina Jan 17 at 17:38
  • Then you haven't connected the VM correctly. If you can ping from the host it's a virtualization issue, otherwise it's an issue with the host. Note that either is off-topic here. – Zac67 Jan 17 at 17:47
  • can you ping 192.168.3.1 from VM? if yes then configure routing in R1, R2 and R3. I – raghu Feb 17 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.