compile a kernel with more than the default 2 FIB tables (16 for example), and

setfib 0 route add default $GATEWAY_A
setfib 1 route add default $GATEWAY_B
setfib 2 route add default $GATEWAY_C

[ ... ]

ipfw table 1 add $NET_LAN               0
ipfw table 1 add $NET_VOIP              2
ipfw table 1 add $NET_VPN               0
ipfw table 1 add $NET_WIFI              0
ipfw table 1 add $NET_GUEST             1
ipfw table 1 add $NET_SECURITY          0
ipfw table 1 add $NET_COMMON            1
ipfw table 1 add $NET_FINANCE           1
ipfw table 1 add $NET_CORE              2
ipfw table 1 add $NET_EVENT             0

[ ... ]

ipfw add 00500 setfib tablearg ip from table\(1\) to any in lookup src-ip 1
_______________________________________________
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"

Reply via email to