SmartSwitch Router User Reference Manual 73Chapter 7: DHCP Configuration Guide6. Include ‘scope2’ in the superscope ‘super1’.Since there are multiple pools of IP addresses, the pool associated with ‘scope1’ is usedfirst since ‘scope1’ is applied to the interface before ‘scope2’. Clients that are given anaddress from ‘scope1’ will also be given parameters from ‘scope1,’ which includes thedefault gateway 10.1.1.1 that resides on the 10.1.x.x subnet. When all the addresses for‘scope1’ are assigned, the server will start giving out addresses from ‘scope2’ which willinclude the default gateway parameter 10.2.1.1 on subnet 10.2.x.x.Secondary Subnets and Directly-Connected ClientsA directly-connected client is a system that resides on the same physical network as theDHCP server and does not have to go through a router or relay agent to communicatewith the server. If you configure the DHCP server on the SSR to service directly-connectedclients on a secondary subnet, you must configure the secondary subnet using theinterface add ip command. The interface add ip command configures a secondaryaddress for an interface that was previously created with the interface create ipcommand.The following example shows a simple configuration to support directly-connectedclients on a secondary subnet.1. Create an interface ‘clients’ with the primary address 10.1.1.1.2. Assign a secondary address 10.2.1.1 to the interface ‘clients’.3. Define the network parameters for ‘scope1’ with the default gateway 10.1.1.1.4. Define the address pool for ‘scope1’.5. Define the network parameters for ‘scope2’ with the default gateway 10.2.1.1.dhcp scope2 attach superscope super1interface create ip clients address-mask 10.1.1.1/16 port et.1.1interface add ip clients address-mask 10.2.1.1/16dhcp scope1 define parameters address-netmask 10.1.0.0/16 gateway10.1.1.1 dns-domain acme.com dns-server 10.1.44.55dhcp scope1 define pool 10.1.1.10-10.1.1.20dhcp scope2 define parameters address-netmask 10.2.0.0/16 gateway10.2.1.1 dns-domain acme.com dns-server 10.1.77.88