ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] forward packets
@ 2003-11-18 23:29 Yuri Perelyaev
  2003-11-19  6:32 ` Dmitry Nechaev
  2003-11-19  7:13 ` Slava Dubrovskiy
  0 siblings, 2 replies; 4+ messages in thread
From: Yuri Perelyaev @ 2003-11-18 23:29 UTC (permalink / raw)
  To: Community

Привет всем!

Помогите советом.
Не идут пакеты из одной сети в другую через комп. с двумя 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
  

Куда копать?
-- 
WBR
Yuri Perelyaev
ICQ 8976542
http://yp.hypermart.net



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] forward packets
  2003-11-18 23:29 [Comm] forward packets Yuri Perelyaev
@ 2003-11-19  6:32 ` Dmitry Nechaev
  2003-11-21 12:34   ` Yuri Perelyaev
  2003-11-19  7:13 ` Slava Dubrovskiy
  1 sibling, 1 reply; 4+ messages in thread
From: Dmitry Nechaev @ 2003-11-19  6:32 UTC (permalink / raw)
  To: community

В сообщении от Среда 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)

-- 
2.4.20-alt5-up GNU/Linux

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] forward packets
  2003-11-18 23:29 [Comm] forward packets Yuri Perelyaev
  2003-11-19  6:32 ` Dmitry Nechaev
@ 2003-11-19  7:13 ` Slava Dubrovskiy
  1 sibling, 0 replies; 4+ messages in thread
From: Slava Dubrovskiy @ 2003-11-19  7:13 UTC (permalink / raw)
  To: community

Yuri Perelyaev пишет:

>Привет всем!
>
>Помогите советом.
>Не идут пакеты из одной сети в другую через комп. с двумя 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
>  
>
>Куда копать?
>  
>
А роутинг настроен?
# route

Слава Д.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] forward packets
  2003-11-19  6:32 ` Dmitry Nechaev
@ 2003-11-21 12:34   ` Yuri Perelyaev
  0 siblings, 0 replies; 4+ messages in thread
From: Yuri Perelyaev @ 2003-11-21 12:34 UTC (permalink / raw)
  To: community

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-11-21 12:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-18 23:29 [Comm] forward packets Yuri Perelyaev
2003-11-19  6:32 ` Dmitry Nechaev
2003-11-21 12:34   ` Yuri Perelyaev
2003-11-19  7:13 ` Slava Dubrovskiy

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