From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Yuri Perelyaev Organization: HOME To: Community Date: Wed, 19 Nov 2003 07:29:58 +0800 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200311190729.58105.ynp-home@yandex.ru> Subject: [Comm] forward packets 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: Tue, 18 Nov 2003 23:30:29 -0000 Archived-At: List-Archive: List-Post: Привет всем! Помогите советом. Не идут пакеты из одной сети в другую через комп. с двумя 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