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

Different subnets on one interface for Internet

Scheduled Pinned Locked Moved Routing and Multi WAN
2 Posts 2 Posters 208 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.
  • T
    tonysky
    last edited by tonysky Dec 27, 2018, 11:57 AM Dec 27, 2018, 11:56 AM

    Hi all,

    I have set up a PfSense 2.4.4 with a nic for WAN and another for LAN (192.168.1.1).
    Until now, everything worked fine, because all my network assets were with IP like 192.168.0.0/16
    Today I have to add new assets that are connected to my network with VPN.
    Created a new gateway with the router's IP address 192.168.20.254. This router communicates with other ones. For example, the router's IP address on another site is 192.161.20.254
    So in PFSense I created :

    • a gateway (192.168.20.254) on nic LAN
    • a static route to 192.161.0.0/16 via gateway 192.168.20.254
    • I checked the option for bypassing firewall rules on same interface

    As a result, for a computer on the site with IP address 192.161.2.1 (obtained via Windows server DHCP), I can ping every router (192.161.20.254, 192.168.20.254) and I can ping PFSense's IP 192.168.1.1 I can also access network shares or web applications.
    But I can't go on the Internet.
    Moreover, the network is not considered as a domain one (but a public one)
    What do I forget to make it work ? NAT ? FW rule(s) ?

    Thank you for all your replies !

    1 Reply Last reply Reply Quote 0
    • C
      chpalmer
      last edited by Dec 27, 2018, 11:16 PM

      You should not have a Gateway on your LAN interface.

      Triggering snowflakes one by one..
      Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

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