Dhcp Vs. Static Ip Addressing; Ip Address Configuration; Configuring An Ip Address Via Dhcp; Manually Configuring A Static Ip Address - Fortinet FortiSwitch-1000 Install Manual

Table of Contents

Advertisement

5.2.2 DHCP vs. Static IP Addressing

The FortiSwitch-1000 is configured to seek an IP address via DHCP by default, but a static IP
address can also easily be manually configured on the switch. If the network administrator
wishes to always access the switch by a consistent IP address, in switches with dual
management cards Fortinet recommends manually configuring the same static management IP
address on both cards. Because only one management card is active at a time, the duplicate
address does not cause an addressing conflict, and in the event of a switchover to the standby
management card the switch may still be accessed using the same IP address, even if the switch
is then rebooted with the second management card remaining active.
5.2.2.1 Management Card Switchover
During a switchover (when the standby management card becomes the active card without
rebooting, through either failover or use of the switchover command), the IP address of the
newly active card will depend on the configuration of the second management card.
Static (Manually Configured): If the IP addresses of both management cards are fixed, then the
standby card will take over the IP address of the active card when they switch roles; the IP
address remains the same even if the cards have different static IP addresses. On reboot,
however, the second management card will be reset to its manually configured, fixed IP address.
If the operator wishes to guarantee access to the switch by a single IP address under all
circumstances, both management cards should be configured with the same static IP address.
Dynamic (DHCP): If the IP addresses of both management cards are assigned dynamically by
DHCP, then the standby card will take the next available IP address from the DHCP server in the
event of a switchover. The management IP address for the switch will therefore be different after
switchover.

5.3 IP Address Configuration

5.3.1 Configuring an IP Address via DHCP

5.3.1.1 Setting the IP Address
By default, each FortiSwitch-1000 management card will attempt to acquire an IP address
automatically via DHCP once the switch is running and a network cable is plugged into the
management network port of the management card. If the management network port of the
active management card is connected to a network which includes a functioning DHCP server, an
IP address for the management network port should be automatically configured on the active
management card.
5.3.1.2 Finding the Assigned IP Address
If the DHCP-assigned management IP address for the management card cannot be easily
deduced from the network, it can be found through the CLI:
Log into the switch (see "Logging in to the Switch" below).
Type show mgmt-ip service-port to display configuration information for the management
service port, including the management IP address.

5.3.2 Manually Configuring a Static IP Address

The process below assumes that the operator is configuring the switch for out-of-band
management. Inband management is disabled on the switch by default; information on
– 20 –

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents