Hi Leandro,

Did you configured the radius accounting on the switch? It needs to be
enabled for the network detection to work. You can look at this thread for
more informations and you can test the configuration with tcpdump and
raddebug.

https://sourceforge.net/p/packetfence/mailman/message/35231721/

-- 
Émile Grenier-St-Onge
[email protected]

Le jeu. 11 avr. 2019, à 08 h 31, Leandro . via PacketFence-users <
[email protected]> a écrit :

> Hi I installed PacketFence  in my production network using vlan
> enforcement, and everything works fine , expect network detection, all
> hosts shows "unknown" in   Online/Offline column.
>
> So I followed install guide using vlan enforcement option and setup a
> minimal lab  to try to isolate the issue with no luck, same results:
>
> PackerFence(192.168.1.2)
>     |
>     |trunk
>     |
> Cisco2960----vlan10----ActiveDirectory/DNS(192.168.1.4)
>     |
>     |vlan10
>     |
> InternetConnectionRouter(192.168.1.1)
>
> PacketFence Interfaces:
>
> DEVICE=enp2s0.10
> VLAN=yes
> IPADDR=192.168.1.2
>
> DEVICE=enp2s0.60
> VLAN=yes
> IPADDR=192.168.60.1
>
> DEVICE=enp2s0.70
> VLAN=yes
> IPADDR=192.168.70.1
>
> /etc/resolv.conf
> search domain.com
> nameserver 192.168.1.4
>
> /etc/hosts
> 127.0.0.1   localhost
> 127.0.0.1 packetfence
>
> For simplicity, my default vlan when access is granted is vlan10 too,
> vlan60 and 70  are registration and isolation . I'm using portal
> authentication
>
> Everything works great, puts the clients in the registration vlan, after
> correct access via ad authentication , puts the client (a laptop connected
> to the switch) in the correct  vlan (vlan 10) , and it has correct internet
> access.
>
> Problem is with network detection :
>
> I get the message "unable to detect network" :
>
> https://i.imgur.com/GHkRPEd.png
>
> After that it forwards the client to a web page (everything works)
>
> Network detection has defaults values, so it tries to access inverse
> servers (http://192.95.20.194/common/network-access-detection.gif):
>
> https://i.imgur.com/PMLK1y3.png
>
> On the packetfence server using tcpdump I can view the requests going
> through too.
>
> On packetfence logs (/usr/local/pf/logs/httpd.*) and pfdns.log  I don't
> see anything related to 192.95.20.194 , network-access-detection.gif   .
>
>
> I'll appreciate any help , thanks!
>
>
>
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to