Monday, October 18, 2021

problem routing between two networks

Hello all

I am trying to set up a route between two networks (I am pretty new at networking)

IP's changed for security, but:

Machine a has an ip of 10.1.0.30
machine b has an ip of 10.1.0.67 on adapter a and 200.67.511.223 on adapter b

network a: 10.1.0.0/16
gateway of 10.1.0.1

network b: 200.67.511.0/24
gateway of 200.67.511.1

machine b has two interfaces, one connected into each network (10.1.0.67 and 200.67.511.233)

I am trying to allow traffic from network b to pass over to network a, starting with just trying to ping the local adapter on host b to show a route is there from the 200.x to the 10.x local ips.

If I add a route of 10.1.0.67 via 200.67.511.223 dev adapter 2 (and the reverse through other adapter) it doesn't work

if I add a route of 10.1.0.0/16 via the 200.67.511.1 adapter 2 (and the reverse through the 10.x gateway) it doesn't work

sysctl forwarding is set on

what am I missing?

thanks



No comments:

Post a Comment