From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3FBB182B.1060403@psv.com.ua> Date: Wed, 19 Nov 2003 09:13:47 +0200 From: Slava Dubrovskiy User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.4) Gecko/20031103 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [Comm] forward packets References: <200311190729.58105.ynp-home@yandex.ru> In-Reply-To: <200311190729.58105.ynp-home@yandex.ru> X-Enigmail-Version: 0.76.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.3 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 07:14:49 -0000 Archived-At: List-Archive: List-Post: 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 Слава Д.