OS DHCP server problem whit DNS.

Post Reply
copanto
Member
Posts: 13
Joined: 16 Mar 2017 14:55

OS DHCP server problem whit DNS.

Post by copanto »

I've use this dhcpd.conf for an alcatel used as DHCP server. I've that clients don't get the DNS, I've to put it manually.
Why?

dhcpd.conf:

#Global parameters

subnet 192.168.1.0 netmask 255.255.255.0
{
dynamic-dhcp range 192.168.1.100 192.168.1.200
{
option subnet-mask 255.255.255.0;
option routers 192.168.1.204;
option dhcp-lease-time 20000;
option domain-name-servers 8.8.8.8;
}
}

Alcatel Config

! Stack Manager :
! Chassis :
system daylight savings time disable
! Configuration:
! VLAN :
vlan 1 enable name "VLAN 1"
vlan 2 enable name "VLAN 2"
vlan 2 port default 1/21
vlan 2 port default 1/22
vlan 2 port default 1/23
vlan 2 port default 1/24
! VLAN SL:
! IP :
ip service all
ip interface "vlan_1" address 192.168.1.204 mask 255.255.255.0 vlan 1 ifindex 1
ip interface "vlan_2" address 192.168.2.204 mask 255.255.255.0 vlan 2 ifindex 2
! IPMS :
! AAA :
aaa authentication default "local"
aaa authentication console "local"
aaa authentication telnet "local"
aaa authentication ftp "local"
aaa authentication ssh "local"
! PARTM :
! 802.1x :
! QOS :
! Policy manager :
! Session manager :
! SNMP :
! RIP :
! IPv6 :
! IP multicast :
! IPRM :
ip static-route 0.0.0.0/0 gateway 192.168.2.75 metric 1
ip static-route 0.0.0.0/0 gateway 17.11.2.1 metric 1
! RIPng :
! Health monitor :
health threshold temperature 78
! Interface :
! Udld :
! Port Mapping :
! Link Aggregate :
! VLAN AGG:
! 802.1Q :
! Spanning tree :
bridge mode 1x1
! Bridging :
! Bridging :
! Port mirroring :
! UDP Relay :
! System service :
swlog console level info
! SSH :
! VRRP :
! Web :
! AMAP :
! Lan Power :
lanpower start 1
! NTP :
! RDP :
! VLAN STACKING:
! EFM-OAM :
! SAA :
! Loopback-detection :
! ERP :
! TEST-OAM :
! DHL :
! LLDP :
! DHCP Server :
dhcp-server enable
! Stack Split-Protection Helper :
! Openflow :
! DHCPv6 :
! TWAMP :
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1886
Joined: 01 Jul 2008 10:51
Location: Germany

Re: OS DHCP server problem whit DNS.

Post by silvio »

Hi,
try to add the following options to your file and restart the server.
option broadcast-address 192.168.1.255;
option domain-name "mydomain.org";
regards
Silvio
copanto
Member
Posts: 13
Joined: 16 Mar 2017 14:55

Re: OS DHCP server problem whit DNS.

Post by copanto »

have I to add in the subnet or in the global? Acoording to you?

Thanks.
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1886
Joined: 01 Jul 2008 10:51
Location: Germany

Re: OS DHCP server problem whit DNS.

Post by silvio »

Hi,
In the subnets (at least the first option). Try it. Hope it will help.
regards
Silvio
Post Reply

Return to “OmniSwitch 6450”