ipfw fwd to gif interface

Andrey Lakhno land at dnepr.net
Thu Dec 11 01:33:20 PST 2003


I'v tried to forward all traffic incoming on the interface (tun0) to another
one (gif0). And got following kernel message:
gif_output: recursively called too many times(2)

My configuration:

# ifconfig gif0
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
	tunnel inet x.x.x.x --> y.y.y.y
	inet --> netmask 0xfffffffc 

x.x.x.x is on fxp0, y.y.y.y is on cisco router

Traffic is forwarded by the following rule:
# ipfw add fwd ip from any to any out recv tun0

Packets matched by this rule, but nothing was going out gif0.

Andrey Lakhno,

More information about the freebsd-stable mailing list