Failover Configuration with Failover Cable
Before configuring, make certain the two PIX Firewall units
are identical, as discussed earlier, and the standby unit is powered off. The
steps to configure failover with a failover cable are as follows:
-
Set the clock on the active PIX Firewall unit using the clock set time command or
using the Network Time Protocol (NTP) commands introduced in
Chapter 18 for
version 6.2 and newer.
-
Connect the failover serial cable to the units. Make sure
the end labeled “Primary” attaches to the primary unit and the end labeled
“Secondary” connects to the secondary unit. Don’t power up the secondary
unit.
-
If stateful failover is planned, attach a crossover cable
between the primary and secondary units for the network interfaces.
-
Go to Configuration mode with the configure
terminal command.
-
Always specify the speed for the interface, such as 10baset for 10 Mbps or 100basetx for 100 Mbps.
Don’t use the auto or the 1000auto option on
any interface. Verify that the interface speed and duplex settings match any
connected devices. Use the write terminal command to confirm
the settings. For stateful failover, set the dedicated interface speed, using
either the 100full or the 1000sxfull
command. Set the link maximum transfer unit by using the mtu
interface_name
1500 command. For PIX Firewall version 6.2, the MTU size must be at least
1,500 for the stateful failover link and at least 576 for the LAN-based failover
link.
-
Use the clear xlate command after changing
the interface command.
-
Use the ip address command to assign IP
addresses to each interface. The following output shows examples of the commands
so far.
-
Use the failover command statement to
enable the failover feature. The no failover command will
disable the failover feature.
The related failover active command on the
standby unit triggers a failover switch, causing that unit to become the active
unit. The no failover active command from the active unit
triggers a failover switch to make the standby unit become the active unit. This
command is used to force an active unit offline for maintenance and to return a
updated unit to service. Pix# clock set 14:27:0 jun 1 2004 Pix# config t Pix(config)# nameif ethernet2 intf2 sec50 Pix(config)# ip address outside 10.1.1.1 255.255.255.0 Pix(config)# ip address inside 192.168.1.1 255.255.255.0 Pix(config)# ip address intf2 192.168.2.1 255.255.255.252 Pix(config)# interface e0 100full Pix(config)# interface e1 100full Pix(config)# interface e2 100full Pix(config)# mtu intf2 1500 Pix(config)# clear xlate Pix(config)# failover
-
Use the show ip address command to see the
addresses. The Current IP Addresses is the same as the System IP Addresses on the failover active unit. Pix(config)# show ip address System IP Addresses: ip address outside 10.1.1.1 255.255.255.0 ip address inside 192.168.1.1 255.255.255.0 ip address intf2 192.168.2.1 255.255.255.252 Current IP Addresses: ip address outside 10.1.1.1 255.255.255.0 ip address inside 192.168.1.1 255.255.255.0 ip address intf2 192.168.2.1 255.255.255.252
-
Use the show failover command to verify
the failover feature by looking for the This host: primary -
Active statement. You can see failover is on and the other unit isn’t
powered up.
Pix(config)# show failover Failover On Cable status: Other side powered off Reconnect timeout 0:00:00 Poll frequency 15 seconds This host: primary - Active Active time: 330 (sec) Interface intf2 (192.168.2.1): Normal (Waiting) Interface outside (10.1.1.1): Normal (Waiting) Interface inside (192.168.1.1): Normal (Waiting) Other host: secondary - Standby Active time: 0 (sec) Interface intf2 (0.0.0.0): Unknown (Waiting) Interface outside (0.0.0.0): Unknown (Waiting) Interface inside (0.0.0.0): Unknown (Waiting)
-
Use the failover IP address int_name ip_addr command to define the
standby unit’s interface addresses. The IP addresses for the standby unit are
different from the active unit’s addresses, but in the same subnet for each
interface. The standby unit needn’t be powered up for this command to work
correctly.
Without setting, the failover IP addresses failover won’t work,
the show failover command will display 0.0.0.0 for the IP
address, and monitoring of the interfaces will remain in the “waiting”
state.
Pix(config)# failover ip address inside 192.168.1.2 Pix(config)# failover ip address outside 10.1.1.2 Pix(config)# failover ip address intf2 192.168.2.2
Pix(config)# show failover Failover On Cable status: Other side powered off Reconnect timeout 0:00:00 Poll frequency 15 seconds This host: primary - Active Active time: 740 (sec) Interface intf2 (192.168.2.1): Normal (Waiting) Interface outside (10.1.1.1): Normal (Waiting) Interface inside (192.168.1.1): Normal (Waiting) Other host: secondary - Standby Active time: 0 (sec) Interface intf2 (192.168.2.2): Unknown (Waiting) Interface outside (10.1.1.2): Unknown (Waiting) Interface inside (192.168.1.2): Unknown (Waiting)
-
Use the failover link [stateful_if_name] command to enable
stateful failover. Use the no failover link command to disable
the feature.
Pix(config)# failover link intf2 Pix(config)# show failover Failover On Cable status: Other side powered off Reconnect timeout 0:00:00 Poll frequency 15 seconds This host: primary - Active Active time: 740 (sec) Interface intf2 (192.168.2.1): Normal (Waiting) Interface outside (10.1.1.1): Normal (Waiting) Interface inside (192.168.1.1): Normal (Waiting) Other host: secondary - Standby Active time: 0 (sec) Interface intf2 (192.168.2.2): Unknown (Waiting) Interface outside (10.1.1.2): Unknown (Waiting) Interface inside (192.168.1.2): Unknown (Waiting)
-
13. If necessary, use the failover poll seconds command to set a hello interval
shorter than 15 seconds (range 3 to 15).
-
Power up the secondary unit. The primary unit will detect it
and start synchronizing the configurations. The messages “Sync Started” and
“Sync Completed” will appear.
-
If any other changes are made to the active unit
configuration, use the write memory command to save the
configuration and to synchronize the standby unit.
1349 times read
|
|
|
Did you enjoy this article?
(total 0 votes)
|