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.
internal DHCP Server
Re: internal DHCP Server
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:
regards
Silvio
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;
}}
Silvio
-
almatel
Re: internal DHCP Server
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.
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
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
regards
Silvio
-
yasirsattar06
Re: internal DHCP Server
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,
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,
-
devnull
Re: internal DHCP Server
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;
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;

