From owner-freebsd-net@FreeBSD.ORG Fri Apr 12 08:40:02 2013 Return-Path: Delivered-To: freebsd-net@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 00F351AA for ; Fri, 12 Apr 2013 08:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id CD3821733 for ; Fri, 12 Apr 2013 08:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3C8e1us038265 for ; Fri, 12 Apr 2013 08:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3C8e1Sa038264; Fri, 12 Apr 2013 08:40:01 GMT (envelope-from gnats) Date: Fri, 12 Apr 2013 08:40:01 GMT Message-Id: <201304120840.r3C8e1Sa038264@freefall.freebsd.org> To: freebsd-net@FreeBSD.org Cc: From: Johan Broman Subject: Re: kern/170081: [fxp] pf/nat/jails not working if checksum offloading is enabled on fxp0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Johan Broman List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Apr 2013 08:40:02 -0000 The following reply was made to PR kern/170081; it has been noted by GNATS. From: Johan Broman To: bug-followup@FreeBSD.org, h.skuhra@gmail.com Cc: Subject: Re: kern/170081: [fxp] pf/nat/jails not working if checksum offloading is enabled on fxp0 Date: Fri, 12 Apr 2013 10:30:50 +0200 --001a11c299667b887504da25b87f Content-Type: text/plain; charset=ISO-8859-1 Hi! Getting the exact same problem. No network traffic to my jails. # uname -a FreeBSD nexus 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Here's part of my pf.cf file -- snip-- ext_if="fxp0" int_if="bge0" jail_if="lo1" ext_ip="192.168.1.2" # behind a firewall int_ip="192.168.0.1" jail_net="10.0.0.0/24" scrub in all nat on $ext_if from !($ext_if) -> $ext_ip --snip -- I removed rxcsum from fxp0 using: # ifconfig fxp0 -rxcsum Now everything works great and jails get network traffic. Let me know if you need more detailed information. Thanks Johan --001a11c299667b887504da25b87f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi!

Getting the exact same problem.= No network traffic to my jails.

# uname -a

FreeBSD nexus 9.1= -RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec=A0 4 09:23:10 UTC 2012=A0= =A0=A0=A0 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC=A0 amd6= 4

Here's part of my pf= .cf file

-- snip--

ext_if=3D"f= xp0"
int_if=3D"bge0"
jail_if=3D"lo1"
ext_= ip=3D"192.168.1.2" # behind a firewall
int_ip=3D"192.168.0.1"
jail_net=3D"10.0.0.0/24"


scrub in all

nat on $ext_i= f from !($ext_if) -> $ext_ip

--snip --

I removed rxcsum from fxp0 using:

# ifconfig fxp0 -rxcsum

Now everything works great and jails get network traffic.

<= /div>
Let me know if you need more detailed information.

Thanks
Johan
--001a11c299667b887504da25b87f--