--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debian-networking.rst Sat Feb 20 23:13:00 2016 +0200
@@ -0,0 +1,40 @@
+.. -*- coding: utf-8; -*-
+.. include:: HEADER.rst
+
+===================
+ Debian networking
+===================
+.. contents::
+
+Описание файлов конфигурации::
+
+ $ cat /etc/hostname (сетевое имя компьютера без домена)
+ debian-vm
+ $ cat /etc/resolv.conf (Настройки DNS)
+ search bifit.int
+ nameserver 192.168.1.1
+ $ cat /etc/hostname.eri0 (имя из hosts или IP)
+ sparc
+ $ cat /etc/hosts (назначение IP хосту)
+ 127.0.0.1 localhost (обязательная строка)
+ 192.168.1.26 debian-vm.bifit.int debian-vm (обязательная строка)
+ $ cat /etc/interfaces
+ # 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 192.168.1.26 (назначить сетевой адрес интерфейса)
+ netmask 255.255.255.0 (назначить сетевую маску для подсетей)
+ network 192.168.1.0
+ broadcast 192.168.1.255
+ gateway 192.168.1.1
+ # dns-* options are implemented by the resolvconf package, if installed
+ dns-nameservers 192.168.1.1
+ dns-search bifit.int
+