сетевая_конфигурация_astra
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
сетевая_конфигурация_astra [2023/03/21 10:24] – created jp | сетевая_конфигурация_astra [2023/03/21 10:28] (current) – jp | ||
---|---|---|---|
Line 3: | Line 3: | ||
Пример настройки сетевого интерфейса. | Пример настройки сетевого интерфейса. | ||
- | cat / | + | cat / |
- | | + | |
< | < | ||
allow-hotplug eth0 | allow-hotplug eth0 | ||
iface eth0 inet static | iface eth0 inet static | ||
- | address | + | address |
netmask 255.255.255.0 | netmask 255.255.255.0 | ||
- | gateway | + | gateway |
- | dns-domain | + | dns-domain |
- | dns-nameservers | + | dns-nameservers |
</ | </ | ||
+ | |||
+ | Нужно также добавлять DNS в /// | ||
+ | |||
+ | < | ||
+ | search my.domain.com | ||
+ | nameserver 192.168.0.1 | ||
+ | nameserver 192.168.0.2 | ||
+ | </ | ||
+ | |||
+ | {{tag> |
сетевая_конфигурация_astra.1679394253.txt.gz · Last modified: 2023/03/21 10:24 by jp