kern/170081: [fxp] pf/nat/jails not working if checksum offloading is enabled on fxp0

Johan Broman je.broman at gmail.com
Fri Apr 12 08:40:02 UTC 2013


The following reply was made to PR kern/170081; it has been noted by GNATS.

From: Johan Broman <je.broman at gmail.com>
To: bug-followup at FreeBSD.org, h.skuhra at 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 at 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
 
 <div dir=3D"ltr"><div><div>Hi!<br><br></div>Getting the exact same problem.=
  No network traffic to my jails.<br><br># uname -a<br><br>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 at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC=A0 amd6=
 4<br>
 <br></div><div></div><div>Here's part of my <a href=3D"http://pf.cf">pf=
 .cf</a> file<br><br></div><div>-- snip--<br></div><div><br>ext_if=3D"f=
 xp0"<br>int_if=3D"bge0"<br>jail_if=3D"lo1"<br>ext_=
 ip=3D"192.168.1.2" # behind a firewall<br>
 int_ip=3D"192.168.0.1"<br>jail_net=3D"<a href=3D"http://10.0=
 .0.0/24">10.0.0.0/24</a>"<br><br><br>scrub in all<br><br>nat on $ext_i=
 f from !($ext_if) -> $ext_ip<br><br></div><div>--snip --<br><br></div><d=
 iv>
 I removed rxcsum from fxp0 using:<br><br># ifconfig fxp0 -rxcsum<br><br></d=
 iv><div>Now everything works great and jails get network traffic. <br><br><=
 /div><div>Let me know if you need more detailed information.<br></div><div>
 <br></div><div>Thanks<br>Johan<br></div></div>
 
 --001a11c299667b887504da25b87f--


More information about the freebsd-net mailing list