Temat: Dnsmasq nie przypisuje IPv4 tylko IPv6
Witam
nagle dzisiaj przestało mi działać przypisywanie adresów IP4, ruter nadaje adresy IP6 i one działają (można połączyć się do rutera).
Mogę komputerom nadać adresy IP4 ręcznie i wszystko chodzi.. ale coś tu dziwnego się dzieje ![]()
moja konfiguracja:
cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option localservice '1'
list addnhosts '/tmp/adblock_hosts'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv6 'server'
option ra 'server'
list dhcp_option '6,8.8.8.8,8.8.4.4'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'Co ciekawe podczas restartu dnsmasq dostaje taki komunikat (szczególnie początek)
Mon May 9 19:21:31 2016 user.notice dnsmasq: found already running DHCP-server on interface 'br-lan' refusing to start, use 'option force 1' to override
Mon May 9 19:21:31 2016 daemon.info dnsmasq[2401]: started, version 2.73 cachesize 150
Mon May 9 19:21:31 2016 daemon.info dnsmasq[2401]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Mon May 9 19:21:31 2016 daemon.info dnsmasq[2401]: DNS service limited to local subnets
Mon May 9 19:21:31 2016 daemon.info dnsmasq[2401]: using local addresses only for domain lan
Mon May 9 19:21:31 2016 daemon.info dnsmasq[2401]: reading /tmp/resolv.conf.auto
Mon May 9 19:21:31 2016 daemon.info dnsmasq[2401]: using local addresses only for domain lan
Mon May 9 19:21:31 2016 daemon.info dnsmasq[2401]: using nameserver 192.168.8.1#53
Mon May 9 19:21:31 2016 daemon.info dnsmasq[2401]: using nameserver 192.168.8.1#53
Mon May 9 19:21:31 2016 daemon.info dnsmasq[2401]: read /etc/hosts - 1 addresses
Mon May 9 19:21:31 2016 daemon.info dnsmasq[2401]: read /tmp/hosts/dhcp - 1 addresses
Mon May 9 19:21:31 2016 daemon.info dnsmasq[2401]: read /tmp/hosts/odhcpd - 4 addressesWidzę że mam uruchomiomy proces odhcp ale niezbyt rozumiem do czego on służy i czy to on jest problemem?
Z góry dziękuję za pomoc
Pozdrawiam