Page 1 of 1
internal DHCP Server
Posted: 27 Dec 2015 05:37
by almatel
Hi all,
Can a 6850E switch act as a multi scope DHCP Server for Multi Vlans,if yes
So may You help to give an example( vlan 10 , vlan 20 ).
your help is appreciated .
Regards.
Re: internal DHCP Server
Posted: 28 Dec 2015 04:22
by silvio
Hi,
your switch need ip interfaces in all your vlans where it act as dhcp server.
here an example of a dhcpd.conf file for 3 ranges:
Code: Select all
server-identifier alcatel-lucent.com;
subnet 192.168.1.0 netmask 255.255.255.0 {
dynamic-dhcp range 192.168.1.100 192.168.1.199 {
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
option domain-name-servers 8.8.8.8;
option dhcp-lease-time 900;
}}
subnet 192.168.2.0 netmask 255.255.255.0 {
dynamic-dhcp range 192.168.2.100 192.168.2.199 {
option subnet-mask 255.255.255.0;
option routers 192.168.2.1;
option domain-name-servers 8.8.8.8;
option dhcp-lease-time 900;
}}
subnet 192.168.3.0 netmask 255.255.255.0 {
dynamic-dhcp range 192.168.3.100 192.168.3.199 {
option subnet-mask 255.255.255.0;
option routers 192.168.3.1;
option domain-name-servers 8.8.8.8;
option dhcp-lease-time 900;
}}
regards
Silvio
Re: internal DHCP Server
Posted: 28 Dec 2015 17:07
by almatel
thank you Silvio for your help,but...
should I configured that in dhcpd.conf file only (referring to doc.)
1 Navigate to /flash/switch directory.
-> cd /flash/switch
2 Copy the dhcpd.conf.template file and save it as dhcpd.conf. The dhcpd.conf file can then be
customized as necessary.
-> cp dhcpd.conf.template dhcpd.conf
4 Customize the dhcp.conf and dhcpd.pcy files according to your requirements. Use the vi command to
modify the existing configuration file.
-> vi dhcpd.conf
and restart & enable the dhcp server. that's all ?
Is it working fine.... no common issues you have faced.
please advise.
regards.
Re: internal DHCP Server
Posted: 29 Dec 2015 01:56
by silvio
correct. You can create and edit the fiel with vi. Or you copy it via FTP or USB from you computer to the directory. Also there must be an empty file dhcpd.pcy. Than you have to enable and restart dhcp server with AOS command. You will find some posts in the forum (it is the same at all omniswitches).
regards
Silvio
Re: internal DHCP Server
Posted: 29 Dec 2015 17:43
by almatel
hi, silvio
thanks allot
Re: internal DHCP Server
Posted: 12 Jul 2016 02:36
by yasirsattar06
Hi Silvio,
If i have two Domain-Name -Servers, how i'll configure second Domain-Name -Server in dhcp pool?
Current configuration is as below:
server-identifier alcatel-lucent.com;
subnet 10.1.1.0 netmask 255.255.255.0
{
dynamic-dhcp range 10.1.1.1 10.1.1.150
{
option subnet-mask 255.255.255.0;
option routers 10.1.1.254;
option domain-name-servers 192.168.8.1;
option dhcp-lease-time 900;
}
}
I have second domain-name-server 10.1.1.10.
Regards,
Re: internal DHCP Server
Posted: 25 Jul 2016 10:42
by devnull
It will probably be
option domain-name-servers 192.168.8.1, 8.8.8.8;
If its not working try
option domain-name-servers 192.168.8.1 8.8.8.8;