DNS для домашней сети с dnsmask: не меняет IP

625
Drew

У меня есть домашняя сеть: три хоста на OS X и принтер. Все устройства являются беспроводными и подключены к сети через маршрутизатор Actiontech T1200H, который также обеспечивает доступ в Интернет. Один компьютер (MacPro) работает как сервер и никогда не выключается.

Но сейчас службы DNS и DHCP, предоставляемые маршрутизатором (которые я получил от моего провайдера) ...

Можно ли использовать Dnsmasq для переопределения сервисов, предоставляемых маршрутизатором?

мой dnsmasq.conf :

port=5353 interface=en2 dhcp-range=192.168.1.70,192.168.1.250,12h  # Static IP addresses for home WLAN: dhcp-host=c8:bc:c8:d4:b9:e8,my.macbookpro.local,192.168.1.60 dhcp-host=80:00:6e:f1:c3:4a,my.macpro.local,192.168.1.61 dhcp-host=84:85:06:97:4C:95,my.ipad.local,192.168.1.62 dhcp-host=00:26:ab:6c:f7:fc,my.epson.local,192.168.1.63  expand-hosts domain=drew-sh.org  # My router's IP: dhcp-option=option:router,192.168.1.254  # Web dev settings: address=/.dev/127.0.0.1 # to listen for DHCP and DNS requests on addresses: listen-address=127.0.0.1  # Google public DNS: server=8.8.8.8 server=8.8.4.4 

Я перезагружал dnsmasq несколько раз, но старые IP-адреса всех устройств не менялись ... Что я делаю, с какой скоростью?

РЕДАКТИРОВАТЬ:

после того, как я вошел в свой маршрутизатор и зашел в настройки WAN, я нашел следующие опции:

Select the ISP protocol below. PPPoE * RFC 1483 via DHCP RFC 1483 via Static IP` 

и когда я переключаюсь PPPoE(по умолчанию это так RFC 1483 via DHCP), получая:

Enter your PPP username and password. PPP Username:  PPP Password: 

Это то, что вы подразумеваете под «определенной комбинацией ISP / шлюз для административного пароля»?

0
Вы пытались обновить свой IP на клиентах, они не будут менять IP, пока не истечет срок их аренды? https://support.apple.com/kb/PH18513?locale=en_US Enis P. Aginić 8 лет назад 0
Также отключите службы DHCP на вашем маршрутизаторе. Наличие двух серверов DHCP в сети не очень хорошая вещь. Enis P. Aginić 8 лет назад 0
Спасибо за ответ! Я пробовал, но кажется, что маршрутизатор Actiontech T1200H не позволяет отключить DHCP ... Drew 8 лет назад 0

1 ответ на вопрос

0
Enis P. Aginić

First of all, you will need to disable DHCP on your router (or change it to give out your new DNS server addresses), having two on a network is not a good thing.

Second you will need to renew DHCP lease on every device, because devices will not do it automatically until their lease expires.

You've mentioned you can't turn DHCP off on your Actiontec T1200H, but to quote the manual:

"To change the Gateway's DHCP settings: 1. Click Enable to activate the Gateway's DHCP server."

Now what some telecommunications companies do is they give you a username and password that is limited to setting up WiFi, rebooting and doing some other basic settings. What they don't tell you about is there is another set of credentials to allow full control over the router. You don't get these because you can screw it up and they have to come to your house to fix it.

Try calling your ISP and asking for this administrative user/password (good luck with that) and try Google searching your specific ISP/gateway combination for administrative password, someone probably figured it out.

__EDIT

PPoE settings are for VPN, and DHCP can assign IPs to VPN clients, but it's not DHCP itself.

Here is an example of what I mean:

I use Telekom Srbija as ISP and they gave me a username "user" and password "123456" to log into my gateway. This user can't change DHCP settings. enter image description here

So I went online and typed into Google search "Telekom Srbija ADSL admin user" and it came up with username "admin" and password "adminpassword". Logging in with these gave a much different menu and access to changing DHCP. enter image description here

Я обновил пост ... пожалуйста, посмотрите Drew 8 лет назад 0

Похожие вопросы