3Com Switch 8800 Family Configuration Guide

Basic Portal Configuration 273
3 Configure Portal authentication
# Configure the portal server. Its name is newp, IP address is 192.168.1.200, key is
3Com, port is 50100, and URL is http://192.168.1.200:81/portal/index_page.jsp
[SW8800] portal server newp ip 192.168.1.200 key 3Com port 50100 url
http://192.168.1.200/portal/index_default.jsp
# Set the Portal to run in the Direct authentication method
[SW8800] portal method direct
4 Enable Portal authentication on the VLAN interface connected with the user PC
# Configure VLAN 2
[SW8800] vlan 2
[3Com-vlan2] port ethernet 2/1/1 ethernet 2/1/2
[SW8800] interface vlan-interface 2
[3Com-Vlan-interface2] ip address 192.168.1.160 255.255.0.0
[3Com-Vlan-interface2] quit
# Configure VLAN 3
[SW8800] vlan 3
[3Com-vlan3] port ethernet 2/1/3
[3Com-vlan3] quit
[SW8800] interface vlan-interface 3
[3Com-Vlan-interface3] ip address 172.21.1.1 255.255.0.0
# Enable Portal authentication on VLAN interface 3
[3Com-Vlan-interface3] portal newp
Portal ReDHCP
Authentication Method
Configuration Example
Network requirements
Portal is enabled on the switch and Portal runs in the ReDHCP authentication
method.
Configure address pools on the DHCP server: 172.21.0.0/16 for public
networks and 18.21.0.0/16 for private networks.
The user was assigned a private address before passing Portal authentication.
The user can access the external networks only after the user applies for a
public address after passing Portal authentication.
Network diagram
Refer to Figure 66.
Configuration procedure
n
Only the configurations related to the Portal ReDHCP authentication method
are listed below. Refer to
“Portal Direct Authentication Method Configuration
Example” for the configurations on RADIUS schemes, ISP domains and Portal
servers.