ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yuri Perelyaev <ynp-home@yandex.ru>
To: community@altlinux.ru
Subject: Re: [Comm] forward packets
Date: Fri, 21 Nov 2003 20:34:54 +0800
Message-ID: <200311212034.55264.ynp-home@yandex.ru> (raw)
In-Reply-To: <200311190932.37071.dima@academy.cap.ru>

On Wednesday 19 November 2003 14:32, Dmitry Nechaev wrote:
> В сообщении от Среда 19 Ноябрь 2003 02:29 Yuri Perelyaev 
написал(a):
> > Привет всем!
> >
> > Помогите советом.
> > Не идут пакеты из одной сети в другую через комп. с двумя
> > eth0 и eh1 интерфейсами.
> >
> > Схемка:
> > 192.168.5.1 (gate)
> > ^
> >
> > 192.168.5.2
> > (eth1)
> > (eth0)
> > 192.168.2.100
> >
> > v
> > 192.168.2.1-15 (15 комп.)
> > (они видят 192.168.5.2, но не видят 192.168.5.1)
> >
> > Настройка:
> > # cat /etc/sysctl.conf
> > # Disables packet forwarding
> > net.ipv4.ip_forward = 1
> > # Enables source route verification
> > net.ipv4.conf.default.rp_filter = 1
> > net.ipv4.conf.all.rp_filter = 1
> > # Enables automatic defragmentation (needed for
> > masquerading, LVS)
> > net.ipv4.ip_always_defrag = 1
> > # Enable the magic-sysrq key
> > kernel.sysrq = 1
> > # Disable tcp_timestamps
> > net.ipv4.tcp_timestamps = 0
> > # Enable tcp_syncookies
> > net.ipv4.tcp_syncookies= 1
> >
> >
> > Куда копать?
>
> На 192.168.5.1 и 192.168.2.0/24 везде гейты прописаны? Покажи
> таблицу роутинга на 192.168.5.1 (ip route - если linux, route
> print - win)

На компе, где настраиваю форвардинг (с eth1 и eth0), стоит еще 
НТ4, так там все ОК (форвард пакетов работает).

-- 
WBR
Yuri Perelyaev
ICQ 8976542
http://yp.hypermart.net



  reply	other threads:[~2003-11-21 12:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-18 23:29 Yuri Perelyaev
2003-11-19  6:32 ` Dmitry Nechaev
2003-11-21 12:34   ` Yuri Perelyaev [this message]
2003-11-19  7:13 ` Slava Dubrovskiy

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=200311212034.55264.ynp-home@yandex.ru \
    --to=ynp-home@yandex.ru \
    --cc=community@altlinux.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