Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - MichaelT

#1
19.7 Legacy Series / Strange routing issues
January 27, 2020, 09:06:37 PM
So i have some strange routing issues

I have several gateways / firewalls connected to one backbone, 10.10.10.0/24

gateway one has ip 10.10.10.3, and behind that gateway 172.16.1.0/24 lives. I also have a gateway /firewall with ip 10.10.10.4 where 10.100.0.0/24 lives. I have a static route from the opnsense box to 172.16.1.0/24 for 10.10.10.3 and 10.100.0.0/24 for ip 10.10.10.4.

No i was trying to setup my haproxy, but got some strange things. I decided to go onto the ssh of opnsense to do some testing with trraceroutes and i got this strange thing:

traceroute to 172.16.1.8 (172.16.1.8), 64 hops max, 40 byte packets
1  10.10.10.4 (10.10.10.4)  6.954 ms  0.576 ms  41.798 ms
2  10.10.10.3 (10.10.10.3)  1.351 ms  2.564 ms  5.655 ms
3  172.16.1.8 (172.16.1.8)  2.084 ms  12.093 ms  1.348 ms


I have created a gateway on the webui for both 10.10.10.3 and 10.10.10.4. I have added static routes to those gateways. The gateways have a priority of 10.

This is my output of the route command for 172.16.1.0/24.


root@opnsense:~ # route show 172.16.1.0/24
   route to: 172.16.1.0
destination: 172.16.1.0
       mask: 255.255.255.0
    gateway: 10.10.10.3
        fib: 0
  interface: vtnet0
      flags: <UP,GATEWAY,DONE,STATIC>
recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
       0         0         0         0      1500         1         0


why the f*ck is my traffic going to another gateway?  :-\

the opnsense box is directly connected to 10.10.10/24 with ip 10.10.10.5