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

    Internet is not working if i change LAN IP

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    6 Posts 2 Posters 310 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
      rajukarthik
      last edited by

      Hello,

      Earlier I had configured LAN Ip as - 192.168.1.1. Internet had worked fine when LAN IP was 192.168.1.1.
      Now I changed LAN IP to 192.168.6.6 but since then Internet is not working.

      Note- When i again changed LAN IP to 192.168.1.1, internet started working.
      I particularly want to use different network series apart from 192.168.1.1.

      Kindly help me on this.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @rajukarthik
        last edited by

        @rajukarthik well when you changed it. Did you let your machines get the new IP from dhcp? Or set them to use this new IP range manually?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        R 1 Reply Last reply Reply Quote 0
        • R
          rajukarthik @johnpoz
          last edited by

          @johnpoz Client machine has taken the IP from DHCP range

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @rajukarthik
            last edited by johnpoz

            @rajukarthik can your client ping pfsense IP that you changed it too?

            Had you turned off automatic outbound nat, if you had set nat to manual - then you would have to manually update the outbound nat for your new ip range.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            R 1 Reply Last reply Reply Quote 0
            • R
              rajukarthik @johnpoz
              last edited by

              @johnpoz Automatic Outbound Nat is turned on. I am not able to ping pfsense IP. I will manually update and come back to you.

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @rajukarthik
                last edited by

                @rajukarthik said in Internet is not working if i change LAN IP:

                I am not able to ping pfsense IP

                Are your lan rules set to lan net, or had you manually adjusted the rules to be specific IP range. out of the box the rule on lan is any any, with source of "lan net" so if you change the lan IP.. This rule would be adjusted to your new network.

                If you can not ping the new pfsense lan IP, then your firewall rules have been adjusted from the default? your client didn't get new IP from dhcp or maybe you didn't adjust the dhcp when you change the IP.

                For example I just changed one of my interfaces IP, and since I had set specific dhcp range - it now invalid.

                dhcp.jpg

                So while changing the lan IP should be straight forward, there are things that could bite you. Mask wrong? pfsense likes to default to /32 when you set an IP, which isn't going to work ;)

                So what we need to do is figure out what is going wrong in your change..

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

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