Thread: dns problem with dhcp ubuntu 12.04 lts
i had had problem dhcp manged fix problem network start have problem dns clients in network don't dns dhcp.
network works follow connect wireless device share throw out ethernet cable.
configuration:
/etc/dhcp/dhcpd.confin /etc/default/dhcp-server addedcode:#/etc/dhcp3/dhcpd.conf option subnet-mask 255.255.255.0; default-lease-time 600; max-lease-time 7200; subnet 192.168.27.0 netmask 255.255.255.0 { range 192.168.27.10 192.168.27.20; option broadcast-address 192.168.27.255; option routers 192.168.27.1; }
/etc/network/interfacescode:interfaces="eth0"
code:iface wlan0 inet dhcp wireless-essid default iface eth0 inet static address 192.168.27.1 netmask 255.255.255.0 gateway 192.168.0.100 pre-up /sbin/iptables-restore /etc/network/iptables
in /etc/resolv.conf
have 2 nameservers dns clients in network don't them , if give them static ones no internet work.
b appreciated.![]()
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] dns problem with dhcp ubuntu 12.04 lts
Ubuntu
Comments
Post a Comment