Skip to main content
mcdaniels
New Member
April 29, 2020
Question

Add 3rd IP do WAN Interface

  • April 29, 2020
  • 4 replies
  • 4423 views

Hi folks,

is it possible to add a 3rd IP Adress do WAN1 interface. I already have running an secondary IP on WAN1 and would need a 3rd one.

 

Thanks!

4 replies

tanr
New Member
April 29, 2020

Yes, you can add multiple secondary IPs on a single interface.

 

Depending on what you're using it for you may need to set up IP Pools or VIP appropriately.

ede_pfau
SuperUser
SuperUser
April 30, 2020

config system interface
   edit wan1
      set secondary-IP enable
      config secondaryip
         edit 1
            set ip 1.2.3.4 255.255.255.248
            set allowaccess ping
         next
         edit 2
            set ip 10.10.20.20 255.255.255.248
            set allowaccess https
         next
      end
   next
end

 

Notes:

1- while entering addresses, type "edit 0" to create the next available ID.

2- with "set ip", you can enter an IP with netmask like this: "set ip 4.4.5.6/29"

3- secondary addresses will respond to arp requests

fcb
Visitor III
April 30, 2020

I don't see why you'd do that... A VIP (NAT) would be the more preferred way. perhaps a little more background as to why you want the third as a sub-interface?

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.