Communicate Between LAN



  • Hi,

    Here is my setup :
                                                            |–-----> LAN1
    ISP ----> DSL Router (192.168.0.1)  |--------> Printer (192.168.0.8 )
                                                            |--------> Pfsense (192.168.0.7) -------> LAN2

    How can i communicate (send a document for printing) without change the printer configuration from LAN2 and communicate LAN1 and LAN2 with 192.168.0.1 is the gateway for this setup.  Where can i configure these to happen in 2.2.5.

    By the way, my LAN2 is the new LAN and currently working perfectly with pfsense for internet both on wired and wifi client.


  • Banned

    Your setup is totally and utterly broken. You have 4 networks on the same subnet. Get a clue.



  • I am guessing some things about your setup:

    1. LAN1 is the network behind your DSL router and in front of your pfSense.
    2. pfSense WAN is 192.168.0.7
    3. pfSense LAN is "LAN2" and it must have some different subnet (maybe 192.168.1.1/24)

    The default outbound NAT in pfSense should NAT out anything from "LAN2" going out WAN to 192.168.0.0/24 (and to the internet). So if you tell a device in LAN2 to connect to the printer at 192.168.0.8 then it should forward out through pfSense WAN and be NATed so that the printer will see the connection as if it came from 192.168.0.7 - in theory that should make it all transparent and "just work".

    You will not be able to browse for the printer, because that only works when the printer and the client are on the same broadcast network.

    Give more details of how you want to connect, your network, what I have guessed wrong above…

    And why is the printer sitting in front of pfSense???



  • @phil.davis:

    I am guessing some things about your setup:

    1. LAN1 is the network behind your DSL router and in front of your pfSense.
    2. pfSense WAN is 192.168.0.7
    3. pfSense LAN is "LAN2" and it must have some different subnet (maybe 192.168.1.1/24)

    The default outbound NAT in pfSense should NAT out anything from "LAN2" going out WAN to 192.168.0.0/24 (and to the internet). So if you tell a device in LAN2 to connect to the printer at 192.168.0.8 then it should forward out through pfSense WAN and be NATed so that the printer will see the connection as if it came from 192.168.0.7 - in theory that should make it all transparent and "just work".

    You will not be able to browse for the printer, because that only works when the printer and the client are on the same broadcast network.

    You are right for 1 & 2. But for 3, LAN2 have same subnet as LAN1 & Printer. Is it possible to set the connection from LAN2 as it is comes from 192.168.0.7?

    @phil.davis:

    And why is the printer sitting in front of pfSense???

    Because LAN2 is a new setup which i can't move pfsense to be next after DSL Router


  • Banned

    @interkrome:

    LAN2 have same subnet as LAN1 & Printer.

    Which is completely and utterly broken. Once again, get a clue.



  • @doktornotor:

    Your setup is totally and utterly broken. You have 4 networks on the same subnet. Get a clue.

    So there is nothing i can do even at DSL Router or pfsense? Anything that can send traffic from LAN2 as 192.168.0.7. Anyway my pfsense is on physical installation.



  • The same LAN IP address cannot be used for two different IP networks, which should directly communicate each other (in this case -  your pfSense internal and your pfSense external networks). IP packets cannot be routed between these networks on the IP layer.

    Think about the following situation: your pfSense has a packet for an IP address from your LAN. How pfSense should make a choice, which network interface to use to send it?



  • The WAN and LAN of pfSense must have different subnets. (or else you want it just to be a transparent firewall or…?)
    What are you trying to achieve putting pfSense like this?

    You can put the printer and any other devices into LAN2 behind pfSense. Then the front network is just a connection between pfSense WAN and DSL router. You can give that some other subnet. Or you can put DSL router into bridged mode and let the ISP-allocated IP address come right through to pfSense WAN.



  • @doktornotor:

    Your setup is totally and utterly broken. You have 4 networks on the same subnet. Get a clue.

    its broadcast multi access  8)



  • @phil.davis:

    The WAN and LAN of pfSense must have different subnets. (or else you want it just to be a transparent firewall or…?)
    What are you trying to achieve putting pfSense like this?

    You can put the printer and any other devices into LAN2 behind pfSense. Then the front network is just a connection between pfSense WAN and DSL router. You can give that some other subnet. Or you can put DSL router into bridged mode and let the ISP-allocated IP address come right through to pfSense WAN.

    Noted. Thank you guys!


Log in to reply