Date: Sun, 22 May 2016 22:46:34 -0700 From: Michael Sierchio <kudzu@tenebras.com> To: jack@jarasoft.org Cc: "freebsd-ipfw@freebsd.org" <freebsd-ipfw@freebsd.org> Subject: Re: IPW problem Message-ID: <CAHu1Y71RMePFbowtz=LVrrAjS4FGKC21=a4M8ORdm6GC_vNT7w@mail.gmail.com> In-Reply-To: <0cb16cbad9293c346cb6938505a9418c.squirrel@jarasoft.net> References: <0cb16cbad9293c346cb6938505a9418c.squirrel@jarasoft.net>
next in thread | previous in thread | raw e-mail | index | archive | help
You can do this with judicious use of a ruleset and setfib (see the man page). You can do all kinds of policy based routing. If you need more than 2 route tables, you'll need a custom kernel - but for your purposes, 2 will do. - M On Sat, May 21, 2016 at 1:39 PM, Jack Raats <jack@jarasoft.org> wrote: > Hi everyone, > > I have the following problem. > > My home server has 2 NICs > > NIC1 > bge0 ip-address 10.10.10.30 netmask 255.255.255.0 gateway 10.10.10.100 > ADSL connection 10 Mbit/1 Mbit > > NIC2 > bge1 ip-address 10.10.10.32 netmask 255.255.255.0 gateway 10.10.10.200 > Cable connection 200 Mbit/20 Mbit > > I have to use NIC1 for all services I'm running, but when the home server > wants to download something e.g. the ports, then it has to use NIC2 > > How can this be done using IPFW??? > IPFW is compiled in the kernel. I'm using FreeBSD 10.3-STABLE > > Thanks for the help > > Jack > > > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y71RMePFbowtz=LVrrAjS4FGKC21=a4M8ORdm6GC_vNT7w>