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

Using WAN Alias IP for multiple LAN

Hello

I got an SG135 with 8 eth.

i have 4 lans (on 4 eth) and a Wan (on 1 eth) .

I have 5 public Ip adresses.

I want to have

LAN 1 --> public ip 1.2.3.4

LAN 2 --> public ip 1.2.3.5

... and so on

actually each lan gets the WAN IP address

can you help me ?



This thread was automatically locked due to age.
Parents
  • Stéphane,

    LAN and wan are zones, so you should bind the physical ports (where public ip addresses arrive) to wan zone. Use alias on the same physical interface, unless the used ip are not in the same subnet.

    Regards

  • my config is :

     

    eth0 : 192.168.1.254

    eth1 : 192.168.2.254

    eth3 : 192.168.3.254

    eth 4 : (for example : 12.12.12.12 /29)

     

    on eth0 --> LAN (1) 192.168.1.1 to 192.168.1.250

    on eth1 --> LAN (2) 192.168.2.1 to 192.168.2.250

    on eth2 --> LAN (3) 192.168.3.1 to 192.168.3.250

     

    On each lan, when a pc goes to www.monip.org my public ip is 12.12.12.12

    I want to have in LAN (1) the public ip 12.12.12.13, in LAN (2) the public ip 12.12.12.14

    ....

Reply
  • my config is :

     

    eth0 : 192.168.1.254

    eth1 : 192.168.2.254

    eth3 : 192.168.3.254

    eth 4 : (for example : 12.12.12.12 /29)

     

    on eth0 --> LAN (1) 192.168.1.1 to 192.168.1.250

    on eth1 --> LAN (2) 192.168.2.1 to 192.168.2.250

    on eth2 --> LAN (3) 192.168.3.1 to 192.168.3.250

     

    On each lan, when a pc goes to www.monip.org my public ip is 12.12.12.12

    I want to have in LAN (1) the public ip 12.12.12.13, in LAN (2) the public ip 12.12.12.14

    ....

Children
  • Ok so you need to create a firewall rule and apply masquerading nat. So create 2 rules, one for the first LAN with nat 12.12.12.13 and another one for LAN 2 and  nat 12.12.12.14. You can create additional nat inside services menu.

    Regards

  • thanks you for your support ..

    I try this

    then

    and

     

    are you OK ?

  • Stéphane,

    you are posting on the wrong forum. Anyway the configuration will work.

    You are using UTM9.

    Regards

  • Sorry,

    thanks you for your support, but it still doesn't work ....

    I'll check and post in the right forum :-))

     

  • lferrara said:

    Ok so you need to create a firewall rule and apply masquerading nat. So create 2 rules, one for the first LAN with nat 12.12.12.13 and another one for LAN 2 and  nat 12.12.12.14. You can create additional nat inside services menu.

    Regards

    Just moved from UTM 9 to XG and am unable to accomplish this in XG.  Like the OP, I have multiple static IP addresses from my ISP.  For example ISP Static 1, ISP Static 2, ISP Static 3, etc.  I'm trying to figure out how to make any traffic originating from my SERVER1 device (LAN IP 192.168.0.5) to the WAN to reflect ISP Static 1.  No matter what I do, whatismyip.org reflects the WAN IP instead of ISP Static 1.

    I've been able to do this in UTM 9 without issue.  Am completely perplexed as to how to achieve this with XG v17.

    Any detailed assistance would be much appreciated.