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

    WAN Subnet Issues

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 982 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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.