3com 8807 User Guide

Page of 883
274
C
HAPTER
 27: P
ORTAL
 C
ONFIGURATION
When the Portal ReDHCP authentication method is adopted, the switch must 
be configured as DHCP Relay instead of DHCP Server. Additionally, the master 
IP address ( public address ) and the slave IP address (private IP address) must be 
configured on the Portal-enabled VLAN interface.
# Set the Portal to run in the ReDHCP authentication method.
[SW8800] portal method redhcp 
# Configure the DHCP server.
[SW8800] dhcp server ip-pool dhcp_ip
 
[3Com-dhcp-dhcp_ip] network 172.21.0.0 mask 255.255.0.0
 
[3Com-dhcp-dhcp_ip] gateway-list 172.21.1.1
 
[3Com-dhcp-dhcp_ip] quit
 
[SW8800] dhcp server ip-pool dhcp_ip2
 
[3Com-dhcp-dhcp_ip2] network 18.21.0.0 mask 255.255.0.0
 
[3Com-dhcp-dhcp_ip2] gateway-list 18.21.1.1
 
[3Com-dhcp-dhcp_ip2] quit 
# Configure VLAN 3
[SW8800] vlan 3
 
[3Com-vlan3] port ethernet 2/1/3
 
[SW8800] interface vlan-interface 3
 
[3Com-Vlan-interface3] ip address 172.21.1.1 255.255.0.0
 
[3Com-Vlan-interface3] ip address 18.21.1.1 255.255.0.0 sub 
# Configure the DHCP Relay address check (ip relay address must be specified as a 
VALN interface in Up state).
[3Com-Vlan-interface3] ip relay address 9.0.0.1
 
[3Com-Vlan-interface3] dhcp select relay
 
[3Com-Vlan-interface3] dhcp relay security address-check enable 
# Enable Portal authentication function on VLAN-interface 3. The name of the 
Portal server is newp. Refer to “Portal Direct Authentication Method 
Configuration Example”
 for related configurations.
[3Com-Vlan-interface3] portal newp 
Layer 3 Portal 
Authentication Method 
Configuration Example
Network requirements
The user PC2 accesses the switch through a router. Layer 3 Portal 
authentication method is enabled on the switch. User PC2 can access external 
networks after passing Portal authentication.