ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: denf@novosoft.ru
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] help need
Date: Thu Feb 15 19:45:14 2001
Message-ID: <OF21512FC2.F7EC467C-ONC62569F4.005B9499@novosoft.ru> (raw)


02/16/2001 07:34:20 AM mandrake-russian-admin wrote:
>Hi !
>On Thu, 15 Feb 2001 03:22:30 +0600 denf@novosoft.ru wrote:>
>
>> >> >нужно часть "локалок" замаскарадить под eth1:0
>> >> >вариант: /sbin/ipchains -A forward -s 192.168.1.0/24 -i eth1:0 -j
MASQ
>> не
>> >>
>> >> >работает.
>> >> >Т.е. ipchains не понимает -i eth1:0
>> >>
>> >> а просто  /sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ не
>> работает?
>> >
>> >Работает. Но маскарадит под eth1, а не под eth1:0
>> >
>> >   :-)
>> чего-то я не понимаю, если пакет пришел с 192.168.1.0/24 то он
>> замаскарадится, независимо от того с какого интерфейса он пришел.
>> а если с другой подсетки, то не должен (теоретически).
>> Если что-то не так, то скажите какие адреса/маски на eth1 и eth1:0.
>
>Вы мое первое письмо внимательно читали?
Виноват, но сейчас внимательно прочитал ;)
какой исходящий интерфейс быдет выбран зависит от настроек не маскарада, а
маршрутизации.
попробуйте с помощью iproute прикрутить таблицу маршрутизации, зависящюю от
адреса источника, хотя полной уверенности, что это сработает вместе с
маскарадом нет.



             reply	other threads:[~2001-02-15 19:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-15 19:45 denf [this message]
2001-02-15 19:58 ` Alexander Bokovoy
2001-02-16 19:27   ` Igor Solovyov
2001-02-19  1:16     ` Alexander Bokovoy
2001-02-19 19:33       ` Igor Solovyov
2001-02-19 19:40         ` Alexander Bokovoy
2001-02-19 20:18           ` Igor Solovyov
2001-02-19 20:35             ` Alexander Bokovoy
2001-02-19 21:34               ` Igor Solovyov
2001-02-16 19:27 ` Igor Solovyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OF21512FC2.F7EC467C-ONC62569F4.005B9499@novosoft.ru \
    --to=denf@novosoft.ru \
    --cc=mandrake-russian@linuxteam.iplabs.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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