reg routing

Hi,

I have the following requirement, can anyone please guide me to configure the same, have done the following setup

For Example

  • WAN IP Provided - 200.200.200.0/30 - Live IP

  • LAN IP Provided - 100.100.100.0/24 - Live IP

  • The internet Bandwidth is delivered at location A where I have installed route 1 (Refer diagram for configuration)

  • I have a point to point E1 (With Ethernet Termination) between location A and B

  • Have also installed Route 2 at locations B (Refer diagram for configuration)

  • Have connected clients at Lan Port of Router B

  • Finally not able to connect to Internet via my pc on Location B (If I NAT the LAN IP in router B Internet is working, but not with live IP address), however from Router B iam able to connect to Internet
    requirement.jpg
    Thanks for the support in advance

Does router A know that 100.100.100.8/29 lives behind 100.100.100.2? Does router B have a default route via 100.100.100.1 (though the answer to that is very likely yes since you can get out from the router itself)?

Hi,

I think the problem is that Router1 (A) is not awere that 100.100.100.8/29 is behind 100.100.100.2 (what should be the configuration in that case for router1 (A))

as far as router2 (B) is concerned the default route is set to 100.100.100.1 which is why we still are able to connect to Internet via Router2 (B) but not not via PC (Connected to the LAN port of Router2 (B))

can someone suggest suitable configuration to make this work (is it something to do with policy routing)

Thanks

Your simplest option is a static route.

/ip route add dst-address=100.100.100.8/29 gateway=100.100.100.2

Thanks Fewi,

Its working well now.