Date: Mon, 8 Mar 2004 17:17:10 +0300 From: bjorn@eikeland.info To: freebsd-net@freebsd.org Subject: replacing bridge with router Message-ID: <1078755430.404c8066a7453@mail.eikeland.info>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1078755430.404c8066a7453>