Thursday, May 27, 2021

VyOS Static Route setup

Hello Everyone

I hope this is the right sub for this. otherwise please point me the right direction.

For a school project, we have to use 1.3x VyOS CLI, and in one of the assignments, we have to setup static routing for our subnets, so that we can ping computers downwards in the network.

current setup is:

[Imgur](https://imgur.com/perpQ9J)

When we follow the guide on VyOS, we get the issue of removing our default gateway and every machine under the router, is unable to connect / ping to internet / other machines.

We use the command

set protocols static route ip next-hop ip

on of our middle router we set: (we did this, but with different ips for the different routers)

set protocols static route 10.0.0.10 next-hop 172.16.0.1

we have also tried

set protocols static route 172.16.0.1 next-hop 192.168.1.1

What are we doing wrong here?

-Thanks for your time



No comments:

Post a Comment