Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Gateway require a point to point route

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aspineux
      last edited by

      Hi, her is my problem

      On the WAN side, I have only one host, the gateway.
      The WAN IP is a public address (I use 10.10.10.11 in my sample below)  with a mask of 32
      Other hosts have IPs on the same range 10.10.10.X somewhere else in the ISP networks.
      Tthen I cannot use 10.10.10.11/24 for my IP wan because I would lose the possibility to connect to these hosts
      at 10.10.10.X !

      10.10.10.11/32 WAN  < –--- >  GW (10.10.10.254)  ~~ ISP ~~  GW (10.10.10.254)  < ----- >  10.10.10.X/32
                                                              |
                                                              |
                                                          Internet

      Under linux, I use this setup :

      first setup the IP of the WAN interface

      ifconfig eth0 10.10.10.10 netmask 255.255.255.255

      add  a route to the gateway on the eth0 side

      route add -host 10.10.10.254 dev eth0

      now linux know how to reach 10.10.10.254,

      I can use it as a GW

      route add default gw 10.10.10.254

      And it works

      I can I do similar stuff under pfsense using the commands

      route add -net 10.10.10.254/32 -iface em0
      route add default 10.10.10.254

      But how can I do it using the GUI.

      Regards

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.