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

Re: Несколкьо адресов на интерфейс и /etc/network/interfaces



На Thu, 12 Jul 2007 12:05:22 +0200
Gossen Alexey <swar0g@web.de> записано:

> On Thu, Jul 12, 2007 at 04:27:38PM +0800, Konstantin A. Zolotuhin
> wrote:
> > Maxim V. Kotov wrote:
> >> Konstantin A. Zolotuhin пишет:
> >>> без использования алиасов и хака с up ip 
> >>> addr add?
> >> создать secondary. eth0:0 например.
> >>
> > Это будет алиас. Или я не прав?
> 
> нет, не прав
> 
> алиас это когда создаются интерфейсы home и work и поднимаются
> соответсвенно ifup eth0=home или ifup eth0=work
это не те алиасы.

interface
 The name of the interface.  This is usually a driver name  followed
by a unit number, for example eth0 for the first Ethernet interface. If
your kernel supports  alias  interfaces,  you can specify  them  with
eth0:0 for the first alias of eth0. You can use them to assign a second
address. To delete an  alias inter- face use ifconfig eth0:0 down
aliases are deleted, if you delete the first (primary).

ifconfig(8)

-- 
Best regards,
 Alexander GQ Gerasiov

 Contacts:
 e-mail: gq@cs.msu.su
 Homepage: http://gq.net.ru



Reply to: