On Tue, Jan 27, 2009 at 6:26 AM, a b <rclo...@yahoo.co.uk> wrote: > Hi all, > > First post here, so please be gentle.....;-) > > Let's get the > environmentals out of the way first : > -- OpenBSD 4.4 on i386 architecture > -- > All errata up to and including 008 (14 Jan 2009) installed > > Here's what I'm > seeing (IP addresses obfuscated to protect the innocent) : > > (1) ATTEMPT 1 > The following in pf.conf > > table <my_mgmt_net2> const > {10.0.170.0/24,172.16.200.70,172.16.100.98,192.168.155.174} > table > <my_mgmt_net2> persist > > I observe the following behaviour : > > pfctl -t > my_mgmt_net2 -T show returns nothing > pfctl -vvsTables does not list > my_mgmt_net2 > > (2) ATTEMPT 2 > > The following in pf.conf > > table <my_mgmt_net2> > {10.0.170.0/24,172.16.200.70,172.16.100.98,192.168.155.174} > table > <my_mgmt_net2> persist > > I observe the following behaviour : > > pfctl -t > my_mgmt_net2 -T show returns nothing > pfctl -vvsTables DOES list my_mgmt_net2 > Am I doing something incredibly silly, or is there a bug in the works ? > > Bye > for now !
You're declaring the same table twice in each case. What you want is: table <my_mgmt_net2> const persist {10.0.170.0/24,172.16.200.70,172.16.100.98,192.168.155.174} -HKS