my-fw1> set interface-type WAN ipv4-address 10.2.3.38 subnet-mask 255.255.255.240 default-gw 10.2.3.33
That one worked!! Thank you!
Not sure why the WAN is of an "interface-type", but sure I can read up on the differences 🙂
Now another firewall(my lab) has the "internet" set to DMZ port of the firewall but then it does not work to change into something within the same subnet.(changing ip from 10.2.3.37)
set interface-type DMZ ipv4-address 10.2.3.38 subnet-mask 255.255.255.240 default-gw 10.2.3.33
Could not set internet-connection ipv4-address: IP address is in the subnet of an existing network
So DMZ and WAN is not same type of connection that I am aware of, but fail to understand the logic to why I cannot to the same change?
What started all this was that I wanted to write a script that falls back into configuring the old ip if not ... criteria is set or working. Also everytime I have to resort into the cli I just get confused being used to other cli's.
So I posted the question from the phone in pure desperation 😄 Thanks Guys!