This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Multiple Networks under On External Interface ????

Is there anyway I can have (3) seorate networks MASQ'ed to (1) External Interface??

I would like 

Internal1-->192.168.1.1-254 DHCP 24 port switch

Internal2-->192.168.2.1-254 DHCP 12 port hub

Internal3-->192.168.3.1-254 Static WiFi DMZ

I'm sure this is possible but I just cant figure out the whole MASQ thing

Oh yeah MOST Important !!!! All networks must be COMPELTELY seperate and unaware of the others ( No traffic can pass )

Can anyone point me in the right directiion???


This thread was automatically locked due to age.
Parents
  • You can masquerade as many different local networks as you have available in behind a single external interface. Just create a separate masquerading rule for each.

    Isolation between the several networks is maintained. You don't have to do anything special. No traffic can pass between between separate Network Address Translators that face against each other.
  • VelvetFog, 
    one more remark. When you are creating rule, to acces outside world, then it is mostlly specified as:
    Internal NW - Any - alow

    And if you have in that case several "internal" networks, then this rule could couse also routing to other internal networks. This is at least how I understand routing. And so I mentioned in above post that you should explicitly deny trafic between those networks.

    BR, Matjaz
  • I thought that was all I had to do for MASQ.

    Ok now for part two.

    My understanding is that in order for a packet to leave the local network a gateway must be set.

    lets say I have 192.168.1.0/24 if I'm trying to get to yahoo.com which is NOT local then the packet must be forwarded to the gateway where it can be further processed. 

    However when I try to set the gateway of any one of my Internal Networks I get an error message saying I cannot have more than one default gateway.

    I tried setting the gateway to everything I could think of ....

    DHCP
    my External Interface IP
    my External Interface Gateway IP
    192.168.1.1

    Everytime I get the same error massage.

    Any ideas what I'm doing wrong.
  • Your external interface is the only interface which needs a default gateway assigned.

    Your packet filters should look something like this.

    Src: Inertnal_net_1 Dest: Internal_net_2 Svc: Any Action: Drop
    Src: Inertnal_net_1 Dest: Internal_net_3 Svc: Any Action: Drop
    Src: Inertnal_net_1 Dest: Any Svc: Any Action: Allow
    Src: Inertnal_net_2 Dest: Internal_net_1 Svc: Any Action: Drop
    Src: Inertnal_net_2 Dest: Internal_net_3 Svc: Any Action: Drop
    Src: Inertnal_net_2 Dest: Any Svc: Any Action: Allow
    Src: Inertnal_net_3 Dest: Internal_net_1 Svc: Any Action: Drop
    Src: Inertnal_net_3 Dest: Internal_net_2 Svc: Any Action: Drop
    Src: Inertnal_net_3 Dest: Any Svc: Any Action: Allow
Reply
  • Your external interface is the only interface which needs a default gateway assigned.

    Your packet filters should look something like this.

    Src: Inertnal_net_1 Dest: Internal_net_2 Svc: Any Action: Drop
    Src: Inertnal_net_1 Dest: Internal_net_3 Svc: Any Action: Drop
    Src: Inertnal_net_1 Dest: Any Svc: Any Action: Allow
    Src: Inertnal_net_2 Dest: Internal_net_1 Svc: Any Action: Drop
    Src: Inertnal_net_2 Dest: Internal_net_3 Svc: Any Action: Drop
    Src: Inertnal_net_2 Dest: Any Svc: Any Action: Allow
    Src: Inertnal_net_3 Dest: Internal_net_1 Svc: Any Action: Drop
    Src: Inertnal_net_3 Dest: Internal_net_2 Svc: Any Action: Drop
    Src: Inertnal_net_3 Dest: Any Svc: Any Action: Allow
Children
No Data