[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: две сетевушки



On Tue, 14 Jan 2014, Andrei Lomov wrote:

Что-то не могу итерфейс поднять на 2-й сетевой карте ...
То ли карта того ...
Гляньте, пожалуйста, свежим взглядом:


# cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
       address 192.168.72.41
       netmask 255.255.224.0
       network 192.168.64.0
       broadcast 192.168.95.255
       gateway 192.168.64.1
       # dns-* options are implemented by the resolvconf package, if
installed
       dns-nameservers 217.117.80.1

# The secondary network interface
allow-hotplug eth1
iface eth1 inet static
      address 192.168.1.11 #192.168.0.11
      netmask 255.255.255.0
      network 192.168.1.0
      broadcast 192.168.1.255
      gateway 192.168.1.11
      # dns-* options are implemented by the resolvconf package, if
installed
      dns-nameservers 217.117.80.1

....

 А зачем allow-hotplug?
 Поставьте allow-auto, что бы поднимались автоматом.
Ю.

Reply to: