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

Setting up a home lab- need NAT to have internal virtual switch to go into the internet

Scheduled Pinned Locked Moved Virtualization
42 Posts 3 Posters 7.0k 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.
  • K
    korr2221 @johnpoz
    last edited by korr2221 Jan 30, 2019, 1:36 PM Jan 30, 2019, 1:36 PM

    @johnpoz Bro it must be my pfsense image. lol..... I did not configure THAT! I set everything back to default.

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz Jan 30, 2019, 1:40 PM Jan 30, 2019, 1:39 PM

      Sorry but NO its not the pfsense image..... Out of the box the IP Lan for pfsense is 192.168.1.1/24 with NO GATEWAY.. For it to be 10.x.x.x you had to have changed it... It sure and the F would not have set a gateway to itself.. It just wouldn't!!! Its NOT possible.. You saw my setup, I just ran through it in like 5 minutes... The longest part was downloading the quick VM for ubuntu in hyper-v ;)

      Did you download this image of pfsense from somewhere other then pfsense/netgate? Is it some hyper-v image you got from somewhere?

      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

      K 1 Reply Last reply Jan 30, 2019, 1:41 PM Reply Quote 0
      • K
        korr2221 @johnpoz
        last edited by korr2221 Jan 30, 2019, 1:41 PM Jan 30, 2019, 1:41 PM

        @johnpoz i downloaded the image long ago and not from netgate lol.... i forgot where.... but now i'm starting to question myself.........but good find i knew something was weird i cna't wait to go home and get this working lol

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by johnpoz Jan 30, 2019, 1:42 PM Jan 30, 2019, 1:42 PM

          Huh? Dude grab the current ISO from netgate and install it and you will be up and running in 5 minutes.

          2.4.4-p1
          https://www.pfsense.org/download/

          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

          K 2 Replies Last reply Jan 30, 2019, 2:02 PM Reply Quote 0
          • K
            korr2221 @johnpoz
            last edited by Jan 30, 2019, 2:02 PM

            @johnpoz yeah i dunno why i'm fighting with the old image. lol

            1 Reply Last reply Reply Quote 0
            • K
              korr2221 @johnpoz
              last edited by Jan 30, 2019, 10:47 PM

              @johnpoz UPDATE. Issue has been resolved. PHEW. I can't believe it.

              1 Reply Last reply Reply Quote 0
              • D
                Derelict LAYER 8 Netgate
                last edited by Jan 31, 2019, 4:54 AM

                For posterity, do you know what the solution was?

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                K 1 Reply Last reply Jan 31, 2019, 1:19 PM Reply Quote 0
                • K
                  korr2221 @Derelict
                  last edited by korr2221 Jan 31, 2019, 1:27 PM Jan 31, 2019, 1:19 PM

                  @derelict johnpoz most likely got the solution right. on the LAN interface the ipv4 upstream gateway should've been none. but I got a fresh iso and did an update and had another fresh start with default configs and paid attention to make sure not to put anything in the upstream gateway. I was also able to figure out a number of other issues why the dc acted weird. it was all networking related. lol

                  1 Reply Last reply Reply Quote 0
                  • J
                    johnpoz LAYER 8 Global Moderator
                    last edited by johnpoz Jan 31, 2019, 1:33 PM Jan 31, 2019, 1:32 PM

                    @korr2221 said in Setting up a home lab- need NAT to have internal virtual switch to go into the internet:

                    paid attention to make sure not to put anything in the upstream gateway.

                    It never even ASKS you for that in the gui wizard... And if you do it at the console it clearly states NONE for lan. You really have to go out of your way to mess it up like that! ;)

                    How would the gateway be its own freaking IP... See this error quite a bit over the years - and it never makes any sense what someone was thinking when they do that..

                    Glad you got it sorted - another one to chalk up to pebkac ;)

                    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

                    K 1 Reply Last reply Jan 31, 2019, 3:26 PM Reply Quote 1
                    • K
                      korr2221 @johnpoz
                      last edited by korr2221 Jan 31, 2019, 3:27 PM Jan 31, 2019, 3:26 PM

                      @johnpoz just for learning sake, if this was a cisco router, how would one set the NAT? anyone happen to know the command? is it

                      enable
                      configure terminal
                      ip nat pool name start-ip end-ip {netmask netmask | prefix-length prefix-length }
                      access-list access-list-number permit source [source-wildcard ]
                      ip nat inside source list access-list-number pool name
                      interface type number
                      ip address ip-address mask
                      ip nat inside
                      exit
                      interface type number
                      ip address ip-address mask
                      ip nat outside
                      end

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