3Com Router 3000 Ethernet FamilyConfiguration Guide Chapter 9 DHCP Configuration3Com Corporation9-49[client-Ethernet0/0/0.1] vlan-type dot1q vid 10[client-Ethernet0/0/0.1] ip addr dhcp-alloc# Configure the sub-interface which gets IP address from DHCP server2.[client] interface ethernet0/0/0.2[client-Ethernet0/0/0.2] vlan-type dot1q vid 20[client-Ethernet0/0/0.2] ip addr dhcp-alloc9.9.4 DHCP Accounting Configuration ExampleI. Network requirementsAs shown in Figure 9-10,z The DHCP server is connected to the DHCP client and the RADIUS serverthrough interface Ethernet1/0/0 and Ethernet1/0/1 respectively.z The IP address of the RADIUS server is 10.1.2.2/24.z DHCP accounting is enabled on the DHCP server. The global DHCP address poolis 10.1.1.0 and domain 123 is assigned to the pool for DHCP accounting.It is required that the RADIUS accounting server could track IP address use of theDHCP client.II. Network diagramRADIUS server10.1.2.2/24DHCP clientEthernet1/0/010.1.1.1/24Ethernet1/0/110.1.2.1/24DHCP serverFigure 9-10 Network diagram for DHCP accountingIII. Configuration procedure# Configure DHCP server network parameters.<3Com> system-view[3Com] interface Ethernet 1/0/0[3Com-Ethernet1/0/0] ip address 10.1.1.1 255.255.255.0[3Com-Ethernet1/0/0] quit[3Com] interface Ethernet 1/0/1[3Com-Ethernet1/0/1] ip address 10.1.2.1 255.255.255.0[3Com-Ethernet1/0/1] quit# Enable DHCP server.[3Com] dhcp enable[3Com] dhcp select global interface ethernet 1/0/0 to ethernet 1/0/1