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

    VLAN IP to LAN IP - Not pinging

    Scheduled Pinned Locked Moved Routing and Multi WAN
    23 Posts 4 Posters 4.4k Views 4 Watching
    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.
    • johnpozJ Offline
      johnpoz LAYER 8 Global Moderator @slkamath
      last edited by johnpoz

      @slkamath said in VLAN IP to LAN IP - Not pinging:

      In LAN interface I have not given any Gateway info,

      YOU SHOULDN'T!!!! If you give it a gateway you just created a WAN, and would be natting too it..

      Seems you got a mess.. Please draw up this network.. You have a downstream network from this LAN to get to your vlans??? What is at 192.192.0.1?? When pfsense IP address in lan is 192.192.0.3

      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 25.07 | Lab VMs 2.8, 25.07

      slkamathS 1 Reply Last reply Reply Quote 0
      • slkamathS Offline
        slkamath @johnpoz
        last edited by

        @johnpoz

        Ohhh Ok.
        Thanks.

        We have upstream & downstream network from LAN to VLAN.

        Initially 192.192.0.1 was Gateway with squid proxy (due to some issues squid stopped working.) If we give this IP as gateway then users can not access internet. If i give PFSENSE ip address in gateway all users can use Internet. So in pfsense box i given 192.192.0.1 a gateway.

        All the users have mail access but only few have internet access. in that few have full internet access & few have restricted access.

        Network diagram (very poor diagram, please excuse)
        0_1535733633647_network diagram.png

        Lokesh Kamath

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

          Yeah that is an asymmetrical mess.. Is this 180.x.x.x actually yours, your isp gave you this address space or its it like your 192.192 where you just used public space you picked out of the blue sky?

          That needs to be fixed dude... Why do you have the 2 firewalls? If you want to use 2 firewalls then you should connect them with a transit network between So that your lan and other vlans can talking to each other without being asymmetrical.

          Is this 180 network routed to you? I am not quite understanding the ISP 214.x.x.x and then lan of 180.x.x.x do you have devices on this 180 network or just your firewall/routers connected to it?

          Please explain this 180 network and be happy to draw up diagram of how this should be connected.

          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 25.07 | Lab VMs 2.8, 25.07

          slkamathS 1 Reply Last reply Reply Quote 0
          • slkamathS Offline
            slkamath @johnpoz
            last edited by slkamath

            @johnpoz
            Thank you very much.

            Dear John,

            WAN PORT of ISP is - 214.XXX.XXX.153 & Gateway - 214.XXX.XXX.154
            LAN PORT of ISP is - 180.XXX.XXX.XXX - Gateway - 180.XXX.XXX.33 (only 6 IP Address included)
            COMPANY LAN is - 192.192.0.1 / 24
            VLAN1 - Finance - 192.168.20.1 / 24
            VLAN2 - Marketing - 192.168.30.1 / 24
            VLAN3 - Purchase - 192.168.40.1 / 24
            VLAN4 - Moulding - 192.168.50.1 / 24
            VLAN5 - Purchase - 192.168.60.1 / 24

            WAN Port of ISP from L3 Switch - 214.Gateway (Configured here by ISP) in L3 Switch connected to System with 2 NW Cards (Ubuntu Server)

            Ubuntu Server
            1st NW Card - 214.XXX.XXX.XXX
            2nd NW Card - 180.XXX.XXX.XXX - (Only IP Address & Subnet Mask Configured, NO Gateway. This is ISP LAN Gateway)

            From 2nd NW Card connected to L2 Switch

            From L2 Switch 2 Servers (1 Ubuntu Server, 1 PFSENSE Server)

            UBUNTU Server
            1st NW Card - 180.XXX.XXX.XXX & ISP LAN Gateway
            2nd NW Card
            IP Address -192.192.0.1
            Subnet Mask - 255.255.255.0
            No Gateway Configured for 2nd NW Card

            PFSENSE - 10LAN Cards - 1000Mbps
            1st NW Card - 180.XXX.XXX.XXX & ISP LAN Gateway
            2nd NW Card - 192.192.0.3, Subnet Mask - 255.255.255.0
            VLAN's
            3rd NW Card - 192.168.20.1
            4th NW Card - 192.168.30.1
            5th NW Card - 192.168.40.1
            6th NW Card - 192.168.50.1
            7th NW Card - 192.168.60.1
            8th NW Card - Empty
            9th NW Card - Empty
            10th NW Card - Empty

            70 Client Systems are there and in that 20 Windows & 50 Ubuntu.

            Please find the Network Diagram of the same (if anything wrong please suggest).

            0_1535779747828_Network Diagram.png

            Lokesh Kamath

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

              So 180 is routed to you, and your using your wan for your ubuntu router your calling server.. If its routing - its routing!! If you have clients using it as gateway then you have asymmetrical problem.. When they want to talk to vlans

              In your drawing What are these loops suppose to represent exactly??

              0_1535887253868_loops.png

              So connect your 2 routers via a transit network - lets call it 172.16/30

              0_1535887749320_transitconnection.png

              Now you do not have asymmetrical.. Router on left says to get to that 192.192 talk to router on right 172.16.0.2... Route on right that says hey want to talk to vlans on left talk to router on left 172.16.0.1

              BTW - FIX that 192.192 - that is NOT yours and PUBLIC... Use RFC1918!!!

              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 25.07 | Lab VMs 2.8, 25.07

              slkamathS 3 Replies Last reply Reply Quote 0
              • slkamathS Offline
                slkamath @johnpoz
                last edited by

                @johnpoz
                Thanks John.

                I created the drawing using jNetMap software.

                when i am adding interface it shows like that. Firewall means RED right so may be it shows RED and other shows green.

                I will try based on your suggestion. Will let you know by tuesday. Sure I will change the 192.192 series.

                Thanks once again.

                Lokesh Kamath

                1 Reply Last reply Reply Quote 0
                • slkamathS Offline
                  slkamath @johnpoz
                  last edited by slkamath

                  @johnpoz said in VLAN IP to LAN IP - Not pinging:

                  So 180 is routed to you, and your using your wan for your ubuntu router your calling server.. If its routing - its routing!! If you have clients using it as gateway then you have asymmetrical problem.. When they want to talk to vlans

                  In your drawing What are these loops suppose to represent exactly??

                  0_1535887253868_loops.png

                  So connect your 2 routers via a transit network - lets call it 172.16/30

                  0_1535887749320_transitconnection.png

                  Now you do not have asymmetrical.. Router on left says to get to that 192.192 talk to router on right 172.16.0.2... Route on right that says hey want to talk to vlans on left talk to router on left 172.16.0.1

                  BTW - FIX that 192.192 - that is NOT yours and PUBLIC... Use RFC1918!!!

                  Dear John,

                  How can i configure as per your diagram? Please suggest.

                  My Requirements

                  I want to place 1 Server pfsense and other I want to remove. Everything has to work through pfsense. Also I dont want to give full internet access to all. Only 5 users has to get full internet access and rest users has to get internet via SQUID. So Please guide me.

                  Thank you once again.

                  Lokesh Kamath

                  1 Reply Last reply Reply Quote 0
                  • jvelez88J Offline
                    jvelez88 @slkamath
                    last edited by

                    @slkamath I guess your problem is that you only allow TCP / UDP traffic and not ICMP, maybe you could allow ANY....

                    slkamathS 1 Reply Last reply Reply Quote 0
                    • slkamathS Offline
                      slkamath @jvelez88
                      last edited by

                      @jvelez88
                      Thank you.

                      With that my issue is not solving. I tried that already.

                      Lokesh Kamath

                      1 Reply Last reply Reply Quote 0
                      • slkamathS Offline
                        slkamath @johnpoz
                        last edited by

                        @johnpoz
                        Dear John,

                        Thank you. My issue solved.

                        I got confused and made everyone confuse.

                        WAN- 203 Series
                        LAN - 192 Series (192.192. series will change in few days to 192.168.) Currently Windows DC is running in that 192.192 series. So will change in few days.

                        Please find the below link.
                        https://forum.netgate.com/topic/134674/how-to-configure-3-ip-s-internet-restriction/20

                        Big Thanks to you John. No words to express my gratitude.

                        Lokesh Kamath

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