12 063
правки
(Новая страница: «====DNS and routing settings====») |
(Новая страница: «'''Important!''' By default, the ppp0 interface '''does not add a new default route via ppp during initialization''', if such a route exists and is configured, fo…») |
||
Строка 180: | Строка 180: | ||
====DNS and routing settings==== | ====DNS and routing settings==== | ||
''' | '''Important!''' By default, the ppp0 interface '''does not add a new default route via ppp during initialization''', if such a route exists and is configured, for example, via eth0. If required, you can modify the routing table through scripts in the ip-down.d, ip-up.d directories. In the simplest case, you can assign different metrics to the default gateways, so that if one falls, the second begins to be used. However, the situation, when the interface is operating normally but the traffic does not pass at the provider level, makes such a mechanism unusable. See the next section on how to use a ppp connection as a backup. | ||
Адреса DNS-серверов заменяются на те, которые были получены от провайдера мобильной связи. При использовании DHCP на ethernet-интерфейсах и интерфейсе ppp0 файл /etc/resolv.conf меняется при установлении соединения через каждый из этих интерфейсов в соответствии с адресами DNS-серверов, полученными от провайдера. | Адреса DNS-серверов заменяются на те, которые были получены от провайдера мобильной связи. При использовании DHCP на ethernet-интерфейсах и интерфейсе ppp0 файл /etc/resolv.conf меняется при установлении соединения через каждый из этих интерфейсов в соответствии с адресами DNS-серверов, полученными от провайдера. |
правки