Date: Fri, 8 Oct 2004 13:47:10 +0200 (CEST) From: Ed Schouten <ed@il.fontys.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/72444: PF can't properly detect interface after 'ifconfig XXX name YYY' Message-ID: <200410081147.i98BlAwx000653@compy.fxq.nl> Resent-Message-ID: <200410081150.i98BoGAd017972@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 72444 >Category: kern >Synopsis: PF can't properly detect interface after 'ifconfig XXX name YYY' >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 08 11:50:16 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 5.3-BETA7 i386 >Organization: (none) >Environment: System: FreeBSD compy.fxq.nl 5.3-BETA7 FreeBSD 5.3-BETA7 #0: Thu Oct 7 13:24:34 CEST 2004 ed@compy.fxq.nl:/usr/obj/usr/src/sys/COMPY i386 Intel Celeron 400 MHz 256 MB SDRAM memory 3 network interfaces: - pcn0 - xl0 - rl0 >Description: When I rename my network interfaces with ifconfig, I can't use them with PF anymore. For example: nat on rl0 from 10.0.0.0/24 to any -> (rl0) This line works. But renaming the interface: ifconfig rl0 name foo and using the following line in pf.conf: nat on foo from 10.0.0.0/24 to any (foo) does not. It won't apply NAT to my network packets (according to tcpdump). >How-To-Repeat: ifconfig rl0 name foo >Fix: Sorry, don't have one. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410081147.i98BlAwx000653>