Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2003 11:33:17 +0200
From:      Andrey Lakhno <land@dnepr.net>
To:        stable@freebsd.org
Subject:   ipfw fwd to gif interface
Message-ID:  <20031211093317.GA5309@gx.dnepr.net>

next in thread | raw e-mail | index | archive | help
Hello,

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 10.249.1.5 --> 10.249.1.6 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 10.249.1.6 ip from any to any out recv tun0

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

-- 
Andrey Lakhno,
land-ripe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031211093317.GA5309>