ipfw fwd

Chuck Swiger cswiger at mac.com
Thu Jul 1 09:56:30 PDT 2004


sid at merlin.com.ua wrote:
> does anyone think, what fwd is side feature,
> and we are using fwd because we do not have
> enougt route options ?

That's perhaps a reasonable option.  :-)

> why we cant write
> route add NETS1 for USERS1 gw 1.1.1.1
> route add NETS2 for USERS1 gw 1.1.1.2
> or route add from *** to ** gw ***
> or route add from any to NETS fwd ***
> ?
> if it will be done, what yet reason to use fwd ?

The normal IP routing table only makes decisions based upon the destination IP 
address.  The IPFW fwd command can make decisions based on many other 
criteria, such as the sender IP address, port # or protocol, etc.

However, there are also some ports will handle other routing mechanisms beyond 
RIPv2, such as OSPF and BGP/EGP: quagga, zebra, etc....

-- 
-Chuck


More information about the freebsd-ipfw mailing list