ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] Re: НесколькоIP на одной сетевой карте?
  @ 2003-06-16 22:27   ` Владимир
  0 siblings, 0 replies; only message in thread
From: Владимир @ 2003-06-16 22:27 UTC (permalink / raw)
  To: community

Sergey Vlasov пишет:

>On Tue, 17 Jun 2003 16:33:50 +0400
>Misha <tungusik@kartina.ru> wrote:
>
>  
>
>>Для поднятия нескольких IP на одном сетевом интерфейсе можно использовать 2 
>>способа:
>>1.
>>	root# ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
>>	root# route add -net 192.168.1.0 netmask 255.255.255.0 eth0
>>	
>>	root# ifconfig eth0:0 192.168.10.1 netmask 255.255.255.0 up
>>	root# route add -net 192.168.10.0 netmask 255.255.255.0 eth0:0
>>2. 
>>	С использованием netfilter
>>    
>>
>
>netfilter здесь не при чём - смотрите пакет iproute2, в нём есть
>документация.
>
>  
>


Тогда одно уточнение. В таком случае способ будет один (ipalias), только 
инструменты разные.
Примерно то же самое, разбивать диск на разделы с помощью sfdisk или 
fdisk - результат одинаковый.

Альтернатива  (может не лучшая) перевести сетевой интерфейс в 
promiscuous mode и
"вырезать" ненужное с помощью netfilter (а что будет с broadcast и т.п., 
судить не берусь).


-- 
Best regards
Vladimir



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-16 22:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-16 22:27   ` [Comm] Re: НесколькоIP на одной сетевой карте? Владимир

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git