beautypg.com

Configuring re-dhcp portal authentication, Network requirements, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 156

background image

8-19

[Switch] domain default enable dm1

z

Configure portal authentication

# Configure the portal server as follows:

z

Name: newpt

z

IP address: 192.168.0.111

z

Key: portal

z

Port number: 50100

z

URL: http://192.168.0.111:8080/portal.

[Switch] portal server newpt ip 192.168.0.111 key portal port 50100 url

http://192.168.0.111:8080/portal

# Enable portal authentication on the interface connecting the host.

[Switch] interface vlan-interface 100

[Switch–Vlan-interface100] portal server newpt method direct

[Switch–Vlan-interface100] quit

Configuring Re-DHCP Portal Authentication

Network requirements

As shown in

Figure 8-10

:

z

The host is directly connected to the switch and the switch is configured for re-DHCP

authentication. The host is assigned with an IP address through the DHCP server. Before

portal authentication, the host uses an assigned private IP address. After passing portal

authentication, it can get a public IP address and then the user can access Internet

resources.

z

A RADIUS server serves as the authentication/accounting server.

Figure 8-10 Configure re-DHCP portal authentication

192.168.0.111/24

192.168.0.113/24

192.168.0.112/24

Switch

Host

automatically obtains

an IP address

Vlan-int100

20.20.20.1/24

10.0.0.1/24 sub

Vlan-int2
192.168.0.100/24

Portal server

RADIUS server

DHCP server

Configuration procedure