1 Pluspunkt 0 Minuspunkte

In den Fortigate Docs steht ich kann die IP Adresse mit dem Befehl

set ip <ip> <netmask>

statisch setzen. Wenn ich aber versuche die IP Adresse auf port1 meiner Fortigate umzustellen bekomme ich einen Fehler.

FortiGate-VM64-KVM # config system interface
FortiGate-VM64-KVM (interface) # edit port1
FortiGate-VM64-KVM (port1) # set ip 10.0.0.2 255.255.255.0
Can't change dynamic IP

FortiGate-VM64-KVM (port1) #

Wie kann ich eine dynamische IP ändern?

von  

1 Antwort

0 Pluspunkte 0 Minuspunkte

Port1 ist von Haus aus mit DHCP konfiguriert.

set mode dhcp

Um die IP Adresse zu ändern musst du den Mode auf "static" ändern.

FortiGate-VM64-KVM # config system interface
FortiGate-VM64-KVM (interface) # edit port1
FortiGate-VM64-KVM (port1) # set mode static
FortiGate-VM64-KVM (port1) # set ip 10.0.0.2 255.255.255.0
FortiGate-VM64-KVM (port1) #

von (706 Punkte)