Skip to main content
nmackie
New Member
December 29, 2017
Question

WAN Interface with DHCP and Multiple IPs

  • December 29, 2017
  • 2 replies
  • 25477 views

Hello,

 

We run a Fortigate 100E running 5.4.6 and have an ISP that will only assign IPs through DHCP. They do reserve the IP so it remains static however they can only assign 1 IP per MAC address. So far I cannot find a way to make the Fortigate have multiple MAC addresses on the one interface. I thought maybe I could plug more than 1 interface in my ISP's modem but I imagine this would give me routing issues as both interfaces would be on the same subnet.

 

Has anyone tested a solution to this? The firewall at my old job was configured to allowed us to add MAC addresses. I'd rather not put a switch between my modem and firewall and use the switches MAC address for the 2nd IP.

 

Thank you for any suggestions,

Neil

    2 replies

    Sidewaysguy
    New Member
    December 29, 2017

    Is it possible for the ISP to assign a block instead of a single IP?  Which ISP is it out of curiosity?

     

    Off the top of my head, probably the fastest way around will be to use a switch between the Fotigate and the Modem.  The good news is that if you use Wan LLB and define the gateway for each WAN interface as 0.0.0.0, which as of 5.4.x+ should let you configure without having the routing issue.  The scenario I have this in currently is a very remote school in the Artic with two DSL modems, both assigning IP's from the same subnet to Wan1/2 in a LLB scenario.  Fully realizing that you scenario is different in that you have one modem, it should be relatively similar.

     

    I know that this isn't what you are wanting to hear, but as you can't use DHCP with a secondary IP on the interface this may be the option that will work if you can't get a block of IP's assigned by the ISP.

    nmackie
    nmackieAuthor
    New Member
    December 29, 2017

    Hello Sidewaysguy,

    Thanks for replying.

     

    The ISP is TELUS and I would rather not have to put a switch in between the modem and router. I don't know how the fortigate's policies would handle an IP that isn't assigned to one of its interfaces - it may work but I'm not sure and don't have a test network to work it out on. I was thinking that I could use a second connection and load balance them. However I can't seem to find the LLB option on my Fortigate. All documentation seems to say I should find it under the network section but I don't seem to have it (see the attached picture). I thought the 100E was a more feature rich model but maybe it doesn't have that ability?

     

     I think LLB might just solve the issue.

    Sidewaysguy
    New Member
    December 30, 2017

    Hi there nmackie,

     

    No problem at all.  Telus is also one of the ISPs that I deal with regularly.  What type of connection are you on (eg. VDSL, Fibre), as you may want to call your rep or sales about getting a block of multiple IPs.  It should be doable, you may just need to fill out a justification form.  Requesting a /29/30/31 shouldn't be too bad.  There are some other options on the ISP side that may be doable, depending on which city you are in that could provide other options while using the same infrastructure.

     

    As for Wan LLB, you will need to go to System --> Feature Visibility and turn it on if you don't see it under the Network area. 

     

    Hope that helps some. 

     

    Cheers,

     

    Sidewaysguy

    saneeshpv_FTNT
    Staff
    Staff
    January 1, 2018

    Try to WAN LLB and feature can be enabled as per above comment from Sidewaysguy

     

    System --> Feature Visibility and turn on "SD-WAN Interface" or "WAN Link Load balancing" depending on the FortiOS you are in.

     

    Also use the below command to allow-subnet-overlap if the IP assigned to both the interfaces are from the range to avoid conflict.

     

    config system settings

    set allow-subnet-overlap enable end

     

    Hope this helps.

     

    regards, San.

    nmackie
    nmackieAuthor
    New Member
    January 2, 2018

    Hello,

     

    Thank you both for the replies. I've got the LLB feature visible now and will report back once I get this internet connection installed. It is a fibre connection sideways guy.

     

    Neil

    Sidewaysguy
    New Member
    January 2, 2018

    Hey Neil,

     

    If it is Telus fibre, then definitely just request a block of ip's that will be the best way to go.  Is it the Pure Fibre or regular managed fiber?

     

    Cheers,

     

    Jared