I am running:
packetfence-pfcmd-suid-4.0.0-0.20130426.el6.x86_64
packetfence-4.0.0-0.20130426.el6.noarch
I added 3 routed networks through the webGUI without any errors, however if I
run the pfcmd checkup command I get the following:
[root@localhost ~]# /usr/local/pf/bin/pfcmd checkup
Checking configuration sanity...
FATAL - networks.conf: Incomplete DHCP information for network 10.11.10.0
FATAL - networks.conf: Incomplete DHCP information for network 10.11.30.0
FATAL - networks.conf: Incomplete DHCP information for network 10.11.70.0
On closer inspection I noticed a difference between the way the networks that
are created through the normal webGUI are declared and the way the network
created in the configurator GUI are declared.
Here is the declaration from the webGUI:
[10.11.70.0]
dns=10.2.1.32
next_hop=10.2.1.1
gateway=10.11.70.1
dhcp_start=10.11.70.1
named=enabled
dhcp_max_lease_time=600
dhcpd=enabled
dhcp_end=10.11.70.254
netmask=255.255.255.0
dhcp_default_lease_time=600
Here is the declaration from the configurator page:
[192.168.2.0]
netmask=255.255.255.0
gateway=192.168.2.1
next_hop=
domain-name=registration.umhb.edu
dns=192.168.2.1
dhcp_start=192.168.2.10
dhcp_end=192.168.2.200
dhcp_default_lease_time=300
dhcp_max_lease_time=600
type=vlan-registration
named=enabled
dhcpd=enabled
Notice the "domain-name" and "type" fields are not present. Manually adding
the "domain-name" field to the networks.conf file fixes the error thrown by
pfcmd checkup. However, I am not sure if the "type" field is important or not.
BTW, this error stops PF from starting / restarting.
Jake Sallee
Godfather of Bandwidth
System Engineer
University of Mary Hardin-Baylor
900 College St.
Belton TX. 76513
Fone: 254-295-4658
Phax: 254-295-4221
HTTP://WWW.UMHB.EDU
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
PacketFence-devel mailing list
PacketFence-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-devel