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

    Want to assine my static ip on pfsense

    Scheduled Pinned Locked Moved NAT
    9 Posts 2 Posters 1.4k 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.
    • A
      ahmedkunnana
      last edited by

      dear all

      i have an issue with my isp 
      connectin to isp is pppoe  with username and password
      i asked them for static ip
      they provided  astatic ip  and gatway . but there is no option to use it in pfsense

      please if any can help in this .

      i want to use my static ip as my default ip to assige it for vpn and my own devices

      regards
      ahmed

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

        Once you created your PPPoE connection in PPP under interface assignments.  Did you actually assign it to an OPT interface.. Once you do that - that is where you set it to be dhcp or static, etc.

        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.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • A
          ahmedkunnana
          last edited by

          dear johnpoz ,

          please can you help me to do it . iam working and searching internet for it last two days but not working for all my trays . if ypu please can help .

          regards
          ahmed

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

            What part did my last post not give you the answer.. once you created the pppoe connection - did you assign that ppp connection to an actual interface you can work with??

            assignpppoetoint.png
            assignpppoetoint.png_thumb

            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.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • A
              ahmedkunnana
              last edited by

              dear Mr. johnpoz
              @ first i want to thank you for help .
              i did already what you explained in your reply . but still iam not able to go online with my static ip .

              if you can assist my  skype id:azzamadreianos

              best regards
              \ahmed

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

                So post up your config!

                If you did what I post, then clearly there is a place to put in the static info.  If you put in that info and it does not work but you show the PPPoE link come up - then contact your ISP!

                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.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • A
                  ahmedkunnana
                  last edited by

                  Status
                  up
                  PPPoE
                  up Disconnect
                  Uptime
                  00:07:40
                  MAC Address
                  00:00:00:00:00:00
                  IPv4 Address
                  196.219.129.21
                  Subnet mask IPv4
                  255.255.255.255
                  Gateway IPv4
                  10.45.10.37
                  IPv6 Link Local
                  fe80::21b:21ff:fe2a:8805%em0
                  DNS servers
                  127.0.0.1
                  163.121.128.134
                  163.121.128.135
                  8.8.8.8
                  8.8.4.4
                  MTU
                  1492
                  In/out packets
                  407921/284524 (529.98 MiB/16.65 MiB)
                  In/out packets (pass)
                  407921/284524 (529.98 MiB/16.65 MiB)
                  In/out packets (block)
                  243/1 (9 KiB/40 B)
                  In/out errors
                  0/0
                  Collisions
                  0
                  LAN Interface (lan, em1)
                  Status
                  up
                  MAC Address
                  b8:ac:6f:b1:10:a0
                  IPv4 Address
                  192.168.1.1
                  Subnet mask IPv4
                  255.255.255.0
                  IPv6 Link Local
                  fe80::1:1%em1
                  MTU
                  1500
                  Media
                  100baseTX <full-duplex>In/out packets
                  279577/404335 (17.00 MiB/531.44 MiB)
                  In/out packets (pass)
                  279577/404335 (17.00 MiB/531.44 MiB)
                  In/out packets (block)
                  100/108 (8 KiB/10 KiB)
                  In/out errors
                  0/0
                  Collisions
                  0
                  OPT1 Interface (opt1, em0)
                  Status
                  up
                  MAC Address
                  00:1b:21:2a:88:05
                  IPv4 Address
                  41.39.34.86
                  Subnet mask IPv4
                  255.255.255.0
                  Gateway IPv4
                  41.39.34.1
                  IPv6 Link Local
                  fe80::21b:21ff:fe2a:8805%em0
                  MTU
                  1500
                  Media
                  100baseTX <full-duplex>In/out packets
                  0/519 (0 B/15 KiB)
                  In/out packets (pass)
                  0/519 (0 B/15 KiB)
                  In/out packets (block)
                  0/0 (0 B/0 B)
                  In/out errors
                  0/0
                  Collisions
                  0</full-duplex></full-duplex>

                  1 Reply Last reply Reply Quote 0
                  • A
                    ahmedkunnana
                    last edited by

                    message removed

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

                      "IPv4 Address
                      196.219.129.21
                      Subnet mask IPv4
                      255.255.255.255
                      Gateway IPv4
                      10.45.10.37"

                      That is Just Borked!!!  So they gave you a static IP of public with a /32 mask and a gateway that is rfc1918 (10.x.x.x) ??

                      What sort of shit ISP is this??

                      is this your static you set??

                      41.39.34.86
                      Subnet mask IPv4
                      255.255.255.0
                      Gateway IPv4
                      41.39.34.1

                      They gave you a /24?? So your saying you can not ping 41.39.34.1?

                      Screenshots would be easier to read!

                      I would suggest you pull down your config you posted it has your pppoe password and user name in the clear.

                      Wow is this F'd UP!!!

                      traceroute to 41.39.34.1 (41.39.34.1), 30 hops max, 60 byte packets
                      1  192.168.9.253  2.327 ms  2.262 ms  2.215 ms
                      2  96.120.24.113  19.491 ms  18.426 ms  19.460 ms
                      3  162.151.90.117  19.435 ms  19.407 ms  19.396 ms
                      4  68.86.188.93  23.062 ms  21.120 ms  21.135 ms
                      5  68.86.91.165  23.019 ms * *
                      6  68.86.82.158  20.925 ms  17.297 ms  21.901 ms
                      7  199.229.229.249  26.168 ms  12.128 ms  20.069 ms
                      8  141.136.105.222  133.184 ms  133.131 ms  132.191 ms
                      9  46.33.84.102  156.814 ms 46.33.85.198  156.209 ms  154.668 ms
                      10 10.36.18.162  164.761 ms  165.683 ms  163.506 ms

                      Just F'ing wow!!!

                      traceroute to 196.219.129.21 (196.219.129.21), 30 hops max, 60 byte packets
                      1  192.168.9.253  1.188 ms  1.582 ms  1.850 ms
                      2  96.120.24.113  11.927 ms  17.753 ms  16.818 ms
                      3  162.151.90.117  17.714 ms  17.677 ms  17.652 ms
                      4  68.86.188.93  20.070 ms  20.040 ms  20.880 ms
                      5  68.86.91.165  19.968 ms *  19.905 ms
                      6  68.86.82.158  19.833 ms  18.904 ms  18.579 ms
                      7  199.229.229.249  17.112 ms  12.972 ms  13.492 ms
                      8  141.136.105.222  138.849 ms  138.461 ms  136.909 ms
                      9  46.33.84.102  164.928 ms  165.035 ms 46.33.85.198  154.796 ms
                      10  10.36.18.162  166.384 ms  166.052 ms  164.960 ms
                      11  * * *
                      12  * 10.36.18.114 166.756 ms *

                      You might want to contact your ISP that is just BORKED beyond belief!! 10.x.x.x is rfc1918 space!!

                      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.7.2, 24.11

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