Product:
Flowpoint 128, 144, 2025, 2100, 2200, SSR245, SSR255, SSR250
Speedstream 5711, 5781, 5851, 5861, 5871
Article Topic:
Adding subnetworks and client leases
Description:
Adding a subnetwork
The following commands are used when network administrators need to add/delete subnetworks. Only one subnetwork with one pool of ip addresses may be defined for a subnet.
To add a subnetwork, use:dhcp add <net> <mask>
To remove a subnetwork:
dhcp del <net>
All client leases associated with this subnetwork are automatically deleted.
Examples:
The following command will create a subnetwork 192.168.254.0 with a subnet mask
of 255.255.255.0:
dhcp add 192.168.254.0 255.255.255.0
The following command will delete the subnetwork 192.168.254.0 and will delete all client leases associated with that subnetwork:
dhcp del 192.168.254.0
Adding explicit or dynamic client leases
Client leases may either be created
dynamically or explicitly. Usually client leases are created dynamically when
PCs boot and ask for IP addresses.
Explicit client leases
To add an explicit client lease, a subnetwork MUST already exist (use dhcp add
<net> <mask> to add the subnetwork) before the client lease may
be added. Use the command:
dhcp add <ipAddr>
To remove a client lease, type:
dhcp del <ipAddr>
NOTE: An administrator MAY create a client lease that is part of a subnet but does not fall within the pool of IP addresses.
Examples:
To explicitly add the client lease 192.168.254.31, use:
dhcp add 192.168.254.31
To delete the client lease 192.168.254.31, use:
dhcp del 192.168.254.31
Dynamic Client Leases
Dynamic client leases are created from the pool of IP addresses associated with that subnetwork.
To set or change the pool, use:
dhcp set addresses <firstipAddr> <lastipAddr>
To clear the values from the pool, use:
dhcp clear addresses <net>
Any client leases that currently exist will NOT be affected.
To remove a client lease that was dynamically created, use:
dhcp del <ipAddr>
Caution: If <ipAddr> is a subnet, you will delete the entire subnet.