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

Help adding secondary IP to LAN segment

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
5 Posts 3 Posters 44.8k 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.
  • R
    rkelleyrtp
    last edited by Oct 28, 2010, 11:54 PM

    Greetings all,

    I have installed pfSense Beta 2.0 (built on Thu Oct 14 01:16:12 EDT 2010 ) and need a quick pointer.  I have two LAN segments behind my pfSense box (one WAN NIC and one LAN NIC), and I need pfSense to route both LAN IPs (172.16.150.0/24 and 172.16.201.0/24).  I looked thru the documentation and ran a number of searches but no exact hits.  I think this can be done using an alias on the LAN interface but I have not stumbled upon the right configuration.

    Can someone please point me in the right direction?

    Thanks,

    -Ron

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Oct 29, 2010, 2:53 AM

      just go to Firewall>Virtual IP and add an IP alias

      1 Reply Last reply Reply Quote 0
      • R
        rkelleyrtp
        last edited by Oct 29, 2010, 3:44 AM

        Thanks - I will give it a shot!

        1 Reply Last reply Reply Quote 0
        • E
          Efonnes
          last edited by Oct 29, 2010, 7:04 AM

          If you want access through WAN on both subnets, you will need to add another allow rule on LAN for the other subnet and I think you need to manually add another outbound NAT rule for the other subnet (change to manual outbound NAT).

          1 Reply Last reply Reply Quote 0
          • R
            rkelleyrtp
            last edited by Oct 29, 2010, 10:57 AM

            @Efonne:

            If you want access through WAN on both subnets, you will need to add another allow rule on LAN for the other subnet and I think you need to manually add another outbound NAT rule for the other subnet (change to manual outbound NAT).

            Exactly!  It took a few minutes to get it working but it works great now.  Just for future reference (so I can remember), to add a secondary/additional IP for the LAN segment:

            • Click Firewall–>VIPS and create a new IP Alias for the gateway IP Address (ie: 172.16.155.1/24)

            • Click Firewall-->Rules-->LAN and add the new subnet (Proto: *; Source 172.16.155.0/24;  Port *; Destination *; Gateway *)

            • Click Firewall-->NAT-->Outbound NAT and enable Manual Outbound NAT.  Click Save/Apply.  Then, add a new NAT rule using Interface: WAN;  Source 172.16.155.0/24; Source Port *; Destination *; NAT Address *; NAT Port *; Static Port: NO

            Thanks to everyone for helping get this working!

            -Ron

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received