Базовая настройка интерфейса.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 12.34.56.109
netmask 255.255.255.248
gateway 12.34.56.105
# dns-* options are implemented by the resolvconf package, if
installed
dns-nameservers 12.34.56.105
auto eth0
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 12.34.56.109
netmask 255.255.255.248
gateway 12.34.56.105
# dns-* options are implemented by the resolvconf package, if
installed
dns-nameservers 12.34.56.105
auto eth0
Комментариев нет:
Отправить комментарий