Hello André,
can you do that:
curl http://127.0.0.1:22222/api/v1/dhcp/stats/eth2 | python -m json.tool
and paste the result ?
Regards
Fabrice
Le 19-10-01 à 11 h 23, André Scrivener via PacketFence-users a écrit :
Hi guys, I hope you are fine.
I have created a captive portal for network authentication, but I have
a very strange problem, after authentication in captive portal, dhcp
puts a different gateway than configured in PF.
For example, after authentication it changes the gateway to 172.20.0.129.
Does anyone have any ideas?
PF Version: packetfence-9.1.0-1.el7.noarch
PS: I'm using the appliance
Config files:
[root@PacketFence-ZEN conf]# cat pf.conf
[general]
#
# general.domain
#
# Domain name of PacketFence system.
domain=scrivener.corp
[alerting]
#
# alerting.emailaddr
#
# Comma-delimited list of email addresses to which notifications of
rogue DHCP servers, security_events with an action of "email", or any
other
# PacketFence-related message goes to.
emailaddr=t...@mail.com.br <mailto:t...@mail.com.br>
[database]
#
# database.pass
#
# Password for the mysql database used by PacketFence. Changing this
parameter after the initial configuration will *not* change it in the
database it self, only in the configuration.
pass=pass
[interface eth2]
enforcement=inlinel2
ip=172.20.0.1
type=internal
mask=255.255.255.0
[interface eth0]
ip=10.0.0.1
type=management
mask=255.255.255.0
[root@PacketFence-ZEN conf]#
[root@PacketFence-ZEN conf]# cat networks.conf
[172.20.0.0]
dns=172.20.0.1
gateway=172.20.0.1
domain-name=inlinel2.scrivener.corp
named=enabled
dhcp_end=172.20.0.246
netmask=255.255.255.0
split_network=disabled
dhcp_start=172.20.0.10
nat_enabled=enabled
dhcp_max_lease_time=86400
dhcpd=enabled
fake_mac_enabled=disabled
type=inlinel2
dhcp_default_lease_time=86400
coa=disabled
[root@PacketFence-ZEN conf]#
Regards
*Andre Scrivener*
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users