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

    Router issues multiple public ip addresses, best way to configure interfaces

    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.
    • F Offline
      firewalluser
      last edited by

      Got a router which is configured to assign a block of public IP address to each device plugged into it.

      Router
      [Public IP Address] as gateway
      |- Device 1 [Public IP Address +1]
      |- Device 2 [Public IP Address +2]
      etc etc.

      So I have added a nic for each public ip address and created an interface for each nic.
      Type static, IP Address = one of the public ip addresses assigned by the router/24. Gateway = None

      I have tried assigning the router ip address as a gateway and whilst this works for the 1st nic I try, pfsense warns me in the system log the 2nd and subsequent nics gateway ie the router ip address is duplicated and resorts back to NONE for the gateway.

      When I try to setup a new gateway for each nic, I also get the warning "The gateway IP address "w.x.y.z" already exists." which seems to confirm I cant use the router's ip address again quite conclusively!

      The rules I have setup for the different wan interfaces dont work, only the wan interface assigned the router ip address works so what is the best way to configure each interface? Virtual IP's perhaps?

      2.0.2-RELEASE (amd64)
      built on Fri Dec 7 22:39:16 EST 2012
      FreeBSD 8.1-RELEASE-p13

      Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

      Asch Conformity, mainly the blind leading the blind.

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