OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of MichaelT »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Topics - MichaelT

Pages: [1]
1
19.7 Legacy Series / Strange routing issues
« on: 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:
Code: [Select]
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.

Code: [Select]
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

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2