OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.7 Production Series »
  • Configuring Static Routing for Secondary /29 Subnet
« previous next »
  • Print
Pages: [1]

Author Topic: Configuring Static Routing for Secondary /29 Subnet  (Read 162 times)

Cipher

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Configuring Static Routing for Secondary /29 Subnet
« on: November 12, 2024, 10:15:47 pm »
Hello everyone,

I received two /29 subnets from our ISP. Currently, I’m using the first /29 as the uplink, with the other 7 IPs functioning as virtual IPs, which is working well.

The second /29 subnet has its own gateway, which has been added as well, with those IPs also set up as virtual. However, our Layer 3 switch is having trouble routing this second subnet because we need to configure a static route in OPNSense.

Could someone advise on how to set up the static routing for the second subnet?

Your support is greatly appreciated.

Thank you!
Logged

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6935
  • Karma: 584
    • View Profile
Re: Configuring Static Routing for Secondary /29 Subnet
« Reply #1 on: November 13, 2024, 09:22:27 am »
System > Gateways - add the switch IP address as a gateway.
System > Routes - add the static route.

https://docs.opnsense.org/manual/gateways.html#settings
https://docs.opnsense.org/manual/routes.html#configuration
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

dseven

  • Sr. Member
  • ****
  • Posts: 338
  • Karma: 36
    • View Profile
Re: Configuring Static Routing for Secondary /29 Subnet
« Reply #2 on: November 13, 2024, 10:39:51 am »
Quote from: Cipher on November 12, 2024, 10:15:47 pm
The second /29 subnet has its own gateway, which has been added as well, with those IPs also set up as virtual.

This part is confusing (me). What does "has its own gateway" mean? To what has that been added? If this subnet's addresses have been added as VIPs on OPNsense, what's the static route supposed to accomplish?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.7 Production Series »
  • Configuring Static Routing for Secondary /29 Subnet
 

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