Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    WAN Subnet Issues

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 1.3k 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.
    • W
      wato1987
      last edited by

      Hi guys,
      Hi from Australia !

      I have a odd issue , the national 3g network run by Telstra is give me a hard time.

      Long story short i have a 3g modem bridged into the wan port of the Pfsense - VK-T40E2

      Telstra no longer have static ips on the 3g network.
      i get on WAN (DHCP) eg:

      IP: 123.209.26.230  
      Subnet mask IPv4 255.255.255.255
      Gateway IPv4 123.209.26.1

      The internet does not work.  :-[

      Now i think its the subnet , so i manually added  the same ip , but changed the subnet to 255.255.255.0

      It starts working !  ;D

      My only issue is if i power down the device and power back up (normally get a new ip in dhcp)
      the net does not work, the ip i have set is no longer valid for that device as far as i can work out.

      Any ideas?

      Is there a script where i can change the subnet after receiving a IP ?

      To make things even weirder , if i plug the 3g modem into a pc with dhcp , i get the same ips and subnet of 255.255.255.255
      but internet works …  :o  so why is pfsense so picky about the subnet?

      1 Reply Last reply
      Reply Quote 0
      • C
        cmb
        last edited by

        That's not a valid IP configuration, technically that shouldn't work on anything. You're being assigned a /32 network on Ethernet, that means the firewall itself is the only device on that network. FreeBSD won't ARP IPs outside of a directly-attached subnet. Windows will ignore the mask and try. Other OSes may or may not.

        There is a work around.
        https://redmine.pfsense.org/issues/972

        1 Reply Last reply
        Reply Quote 0
        • W
          wato1987
          last edited by

          Thank you for helping me find a solution to the issues i was having.

          From the article posted, i can see a solution , but as the gateway keeps changing , How can i create a script that will apply this fix automatically.

          i was thinking i could create a script and called it up at <afterfilterchangeshellcmd>Thank you and i appreciate your support.

          Wato</afterfilterchangeshellcmd>

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy