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

Re: /etc/network/interfaces



On Sun, 08 Dec 2002 11:34:23 +0300 "Nonkey Nonkey" <nonkey@mail.ru> wrote:

> Всем привет!
> как с помощью /etc/network/interfaces задать МАК-адрес интерфейму? hwaddr xx:...:xx после netmask не получается :(
В пакете iproute есть замечательная утилитка 'ip', которая прекрасно
вписывается в рамки /etc/network/interfaces (давно мечтаю, что Debian перейдёт
полностью на 'iproute' by default, отказавшись от ifconfig/route & friends).
За hw (MAC) адреса там отвечает раздел ip nei[ghbour].
См. идею в аттаче.

PS: /usr/share/doc/iproute/ тебе поможет.
-- 
 jabber: velikan@jabber.al.com.ua
 VEL-RIPE

Attachment: interfaces
Description: Binary data


Reply to: