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

Re: Настройка/Сохранение параметров соединения сети интернет.



>>
>> > /etc/network/interfaces, man interfaces описывает формат файла
>>
>> # cat /etc/network/interfaces
>> #  GNU nano 2.0.9          Файл: /etc/network/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 dhcp
>>
>> auto eth0
>> iface eth0 inet static
>
>
>> address 109.86.191.59
>> netmask 255.255.255.254
>
> Маска кривая. Откуда она такая взялась? Hint: смотреть при работающем
> интернете сюда:
>
>  # ifconfig  | grep inet
>
>> gateway 109.86.191.62


ifconfig  | grep inet
          inet addr:109.86.191.53  Bcast:109.86.191.63  Mask:255.255.255.192
          inet6 addr: fe80::21d:7dff:fe99:fcb1/64 Scope:Link
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host

Вот. Правда это данные другие. Только что запустил dhclient3 и все
нормально. Но все же.


Reply to: