IPW problem
Julian Elischer
julian at freebsd.org
Mon May 23 06:12:48 UTC 2016
On 22/05/2016 4:39 AM, Jack Raats 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
where is the NAT hapenning? at each of the modems?
If so, configure 2 FIBs
then assign regular behaviour fib 0 but make fib 1 have the cable
modem as default
all 'fetch' operations should then be performed with fib 1. e.g.
setfib 1 fetch https:example.com/test.txt
> Jack
>
>
> _______________________________________________
> freebsd-ipfw at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe at freebsd.org"
>
More information about the freebsd-ipfw
mailing list