Вы находитесь на странице: 1из 7

How To Configure Cyberoam as DHCP Server

How To Configure Cyberoam as DHCP server

Applicable Version: 10.00 Build 309 onwards


Overview
Cyberoam can act as a DHCP server to control IP address allocation on the network.
Cyberoam assigns a unique IP address to a host from the IP pool, releases the address as host leaves and
re-joins the network. Host can have different IP address every time it connects to the network. In other
words, it provides a mechanism for allocating IP address dynamically so that addresses can be re-used.
Apart from Dynamic IP allocation, Cyberoam also supports Static IP allocation through the DHCP server,
which might help in case of any specific server.

Scenario
Configure Cyberoam as a DHCP Server. The article is devided into the following two sections:

Configure DHCP Server to Lease Dynamic IP address


Configure DHCP Server to Lease Static IP address

Configuration
You must be logged on to the Web Admin Console as an administrator with Read-Write permission for
relevant feature(s).
Step 1: Enable DHCP service on an Interface for Dynamic Lease
Go to Network > DHCP > Server and click Add to define DHCP Server.
Parameters

Value

General Settings
Name

CyberoamDHCPServer

Interface

Port A 192.168.1.40

Lease Type

Dynamic

Lease IP Range

192.168.1.1 192.168.1.25

Subnet Mask
Domain Name

/24 (255.255.255.0)
cyberoam.com

Gateway

Enabled

Description
Provide a name to identify DHCP server
uniquely.
Select any internal interface to set it as DHCPv4
server. DHCP service can be configured on
virtual sub-interface but cannot be configured on
Interface alias.
Select Lease Type.
Available Options:
Dynamic
Static
Specify range of IP Address from which DHCP
server must assign to the clients and subnet
mask for the IP Address range. It is also
possible to configure multiple IP range for a
same interface. You can provide multiple IP
range for the DHCP Server.
Select subnet mask for the server.
Specify domain name that the DHCP server will
assign to the DHCP Clients.
Enable to use Interface IP as Gateway.

How To Configure Cyberoam as DHCP server

Default Lease Time

1440

Specify IP Address for default Gateway or click


Use Interface IP as Gateway.
Specify default lease time and maximum lease
time.
Acceptable Range - 1 to 43200 minutes (30
days)
Default - 1440 minutes

Maximum Lease Time

2880

Specify maximum lease time. DHCP client must


ask the DHCP server for new settings after the
specified maximum lease time.
Acceptable Range - 1 to 43200 minutes (30
days)
Default - 2880 minutes

Conflict Detection

Enable

Enable IP conflict detection to check the IP


Address before leasing. If enabled the already
leased IP Address will not be leased again.

DNS Server
Primary DNS
Secondary DNS

8.8.8.8
4.2.2.2

Specify IP Address of Primary DNS server.


Specify IP Address of Secondary DNS server.

How To Configure Cyberoam as DHCP server

Click OK and the DHCP Server Configuration will be added successfully as shown in the image below.

How To Configure Cyberoam as DHCP server

Step 2: Confirm DHCP service status


Go to System > Maintenance > Services and click Start against DHCP server if service is Stopped/not
running.

With the above configuration, Cyberoam will act as a DHCP server and lease an IP address from an address
pool - 192.168.1.1 192.168.1.25 (as configured in step 1), to a host DHCP client.
The IP address is leased up to the time maximum lease time configured in step 1.
To see the ist of leased IP addresses, go to Network > DHCP > Lease.

Configure DHCP Server to Lease Static IP address


Step 1: Enable DHCP service on an Interface for Static Lease
Go to Network > DHCP > Server and click Add button to add DHCP Server.
Parameters

Value

General Settings
Name

DHCPServer_Static

Interface

Port A 192.168.1.40

Provide a name to identify DHCP


server uniquely.
Select any internal interface to set it
as DHCPv4 server. DHCP service
can be configured on virtual subinterface but cannot be configured

How To Configure Cyberoam as DHCP server

Lease Type

IP MAC Mapping List

Static

Host Name: John


MAC Address: 00-15-C5-BF-67-C1
IP Address: 192.168.1.50

Subnet Mask
Domain Name

/24 (255.255.255.0)
cyberoam.com

Gateway

Enabled

Default Lease Time

Maximum Lease
Time

DNS Server
Primary DNS
Secondary DNS

1440

2880

8.8.8.8
4.2.2.2

on Interface alias.
Select Lease Type.
Available Options:
Dynamic
Static
If you always want to assign
specific IP Addresses to some or all
clients, you can define static MAC
Address to IP Address mappings.
For defining, MAC-IP mapping, you
should know the MAC Address of
the clients network card. The MAC
Address is usually specified in a
hexadecimal digits separated by
colons
(for
example,
00:08:76:16:BC:21). Specify host
name, MAC Address and IP
Address. You can provide multiple
MAC-IP mappings for the DHCP
Server.
Select subnet mask for the server.
Specify domain name that the
DHCP server will assign to the
DHCP Clients.
Enable to use Interface IP as
Gateway.
Specify IP Address for default
Gateway or click Use Interface IP
as Gateway.
Specify default lease time and
maximum lease time.
Acceptable Range - 1 to 43200
minutes (30 days)
Default - 1440 minutes
Specify maximum lease time.
DHCP client must ask the DHCP
server for new settings after the
specified maximum lease time.

How To Configure Cyberoam as DHCP server

Click OK and the DHCP Server Configuration will be added successfully as shown in the image below.

To view the lease detail, click View Detail.

How To Configure Cyberoam as DHCP server

Step 2: Confirm DHCP service status


With above configuration, Cyberoam will act as a DHCP server and lease an IP address 192.168.1.50 to
the host John (as configured in step 1), to a host DHCP client.
The IP address is leased up to the time maximum lease time configured in step 1.
After completion of the lease time, server will assign the same IP address to the host John.
Note:
DHCP Server can be configured only in Gateway mode or Mixed Mode.
Document version: 2.0 21 November, 2014

Вам также может понравиться