12-27-2001 04:33 AM - edited 03-01-2019 07:51 PM
I'm trying to find a solution and is still very much in the dark.
We have a pc with IP 192.168.100.100 connected to a router with IP 192.168.100.6. On this router is another interface 192.168.106.6. Behind this interface is the bloomberg network we connect to.
But our internet connection is not via this router. So we change the default gateway on the PC to 192.168.100.13, to access the internet, but the it can't access bloomberg. So I add the route on the 192.168.100.13 firewall (Openbsd) to look behind 192.168.100.6, but it does not work. I think the problem is that the bloomberg software then looks behind 192.168.100.6 for their network, but can't find it.
Is there a way to say that the next hop is 192.168.106.6 and not 192.168.100.6, but still have the routing?
Thanks
12-27-2001 04:42 AM
you con modify the next-hop information , based on policy give
example:
int eh0
ip policy route-map POLICY
!
route-map POLICY
match ip address 1
set ip next-hop 192.168.1.2
12-27-2001 11:51 AM
I would add a route statement to the 100.6 router pointing to the firewall (ip route 0.0.0.0 0.0.0.0 192.l68.100.13) and then make sure the 100.6 router can send ICMP redirects.
Or, do a similar thing with your firewall (add a route to Bloomberg), assuming it can do redirects. However, in your firewall, I would add the bloomberg route so the gateway would be 192.168.100.6, not the 106.6.
Lastly, you could add the Bloomberg route in your PC.
I prefer the second option, since it involves fewer redirects.
12-27-2001 01:00 PM
I think you need to make sure two things at least if you set up 192.168.100.13 as gateway for all PCs:
1. In the router 192.168.100.13 to Internet, there is "ip route bloombery IP addesss, mask, 192.l68.100.6"
2. In the interface 192.168.100.6 of router to Bloombery, there is "ip route bloomberg IP address, mask, 192.168.106.6".
Shen
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide