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

1
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.
    – Ron Maupin
    Nov 19, 2022 at 23:25

1 Answer 1

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? Jan 17, 2021 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, 2021 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, 2021 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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