Re: Freebsd multiple gateways

2002-10-27 Thread Julian Elischer
On Sun, 27 Oct 2002, Baldur Gislason wrote: > The solution is simple. > Compile your kernel with: > options IPFW2 > options IPFIREWALL > options IPFIREWALL_DEFAULT_TO_ACCEPT > options IPFIREWALL_FORWARD > > Then, sysctl net.inet.ip.sourceroute=1 I'm not sure you need this last line,, and optio

Re: Freebsd multiple gateways

2002-10-27 Thread Baldur Gislason
I forgot to mention... echo "IPFW2=TRUE" >> /etc/make.conf cd /usr/src/lib/libalias/ make make install make clean cd /usr/src/sbin/ipfw make make install make clean Then add the correct fwd rule. Baldur To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of

Re: Freebsd multiple gateways

2002-10-27 Thread Baldur Gislason
The solution is simple. Compile your kernel with: options IPFW2 options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_FORWARD Then, sysctl net.inet.ip.sourceroute=1 Finally: ipfw add fwd 69.1.78.1 ip from 69.1.78.8 to not 69.1.78.8 and you should have a working route from 69.1

Freebsd multiple gateways

2002-10-27 Thread Neil Doody
*I sent this to the freebsd-questions mailing list, then realised there was a freebsd-net mailing list, my apologies if this is a repeat for you* I have a problem with having 2 nics and the need for multiple gateways for IP's that are bound to them, heres my prognosis in detail :-# Background Sce