28
To specify a source IP address for a specific RADIUS scheme:
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Enter RADIUS scheme
view.
radius scheme
radius-scheme-
name
—
3.
Specify a source IP
address for outgoing
RADIUS packets.
nas-ip
{
ip-address
|
ipv6
ipv6-address
}
Required.
By default, the IP address of the outbound
interface is used as the source IP address.
Specifying a backup source IP address for outgoing RADIUS packets
This feature is supported only on centralized routers.
In a stateful failover scenario, the active router authenticates portal users by interacting with the RADIUS
server and synchronizes its online portal user information to the standby router through the backup link
established between them. The standby router only receives and processes synchronization messages
from the active router. However, when the active router fails, the RADIUS server does not send RADIUS
packets to the standby router because it does not know the IP address of the standby router. To solve this
problem, configure the source IP address for outgoing RADIUS packets on each router as the backup
source IP address for outgoing RADIUS packets on the other router. With such configuration, the active
router sends the source IP address for outgoing RADIUS packets that is configured on the standby router
to the RADIUS server, so that the RADIUS server can send unsolicited RADIUS packets to the standby
router.
Specify a backup IP address for outgoing RADIUS packets in RADIUS scheme view for a specific
RADIUS scheme, or in system view for all RADIUS schemes whose servers are in a VPN or the public
network. Before sending a RADIUS packet, a NAS selects a backup source IP address in this order:
1.
The backup source IP address specified for the RADIUS scheme.
2.
The backup source IP address specified in system view for the VPN or public network, depending
on where the RADIUS server resides.
If no backup source IP address is specified in the views, the NAS sends no backup source IP address to
the server.
To specify a backup source IP address for all RADIUS schemes of a VPN or the public network:
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Specify a backup source IP
address for outgoing RADIUS
packets.
radius nas-backup-ip
ip-address
[
vpn-instance
vpn-instance-name
]
Required
Not specified by default
To specify a backup source IP address for a RADIUS scheme:
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Enter RADIUS scheme view.
radius scheme
radius-scheme-
name
—
3.
Specify a backup source IP
address for outgoing RADIUS
packets.
nas-backup-ip
ip-address
Required
Not specified by default