From owner-freebsd-net@FreeBSD.ORG Mon Mar 8 06:17:22 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08F5816A4CE for ; Mon, 8 Mar 2004 06:17:22 -0800 (PST) Received: from mail.valuehost.co.uk (mail.valuehost.co.uk [62.25.99.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C455C43D1D for ; Mon, 8 Mar 2004 06:17:20 -0800 (PST) (envelope-from bjorn@eikeland.info) Received: (from mail@localhost) by mail.valuehost.co.uk (8.11.6/8.11.6) id i28EHAv90620 for freebsd-net@freebsd.org; Mon, 8 Mar 2004 17:17:10 +0300 (MSK) (envelope-from bjorn@eikeland.info) X-Authentication-Warning: mail.valuehost.co.uk: mail set sender to bjorn@eikeland.info using -f Received: from 80.202.106.55 ( [80.202.106.55]) as user bjorn@eikeland.info@localhost by mail.eikeland.info with HTTP; Mon, 8 Mar 2004 17:17:10 +0300 Message-ID: <1078755430.404c8066a7453@mail.eikeland.info> Date: Mon, 8 Mar 2004 17:17:10 +0300 From: bjorn@eikeland.info To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs Subject: replacing bridge with router X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 14:17:22 -0000 I've previously used my freebsd box as a bridge between ath0, fxp1 and fxp0 - but since the bridge doesnt allow me to divert packets I'm wanting to set up routing instead. Network sketch: ,- ath0 --- wireless lan netopia 3351 / 10.0.2.1/24 isp router ----- fxp0 FreeBSD fxp1 ----- wired lan 10.0.0.1/24 10.0.0.2/24 10.0.1.1/24 After a lot of trying and even more faling I fount a RIP option in my isps router, enabled it and started routed on my freebsd box and suddenly routing worked (the isp router didnt work with static routes). Altough I'm able to ping the isp dns server (217.13.4.24) from 10.0.2.0/24 I cant query it - tcpdump shows the query packets leaving fxp0. The FreeBSD box queries it without problems. I take it the problem is the isp router since the dns replies never make it to fxp0, but the isp router does route icmp traffic from 217.13.4.24 to 10.0.2.2/24 but not the dns reply? I suppose I can set up a caching dns server on the FreeBSD box, but just out of curiousity I'd like to know whats causing this somewhat confusing problem. Anyone have any ideas? (firewall is default to accept)