Hello Younes,
i think you misunderstood the way that packetfence work.

I suppose that packetfence is configured as out of band and you have 3 vlans: Vlan id 2 for registration : dhcpd enabled and named (your device in this vlan must be forward to the captive portal) Vlan id 3 for isolation: dhcpd enabled and named (your device in this vlan must be forward to the captive portal)

For this 2 vlans, dhcps will provide a ip address with eth0.2 ip as the default gateway and dns server. Dns is use to resolve any domain as the ip of eth0.2. So when your device try to hit www.google.ca , it is forwarded to the captive portal.

Then the regular vlan is a vlan of your organization with your own services (dns,dhcp,gateway), it´s your production vlan and packetfence doen´t act as a dhcp server or dns server in this vlan. So forget to try to configure dhcp on the management interface and set the normal vlan as a vlan that already exist in your enterprise.

Regards
Fabrice



Le 2013-04-18 04:51, HAIFI Younes a écrit :
when i restart packetfence i have :

Listening on LPF/eth0.3/00:0c:29:b9:44:fa/192.168.3.0/24
Sending on   LPF/eth0.3/00:0c:29:b9:44:fa/192.168.3.0/24
Listening on LPF/eth0.2/00:0c:29:b9:44:fa/192.168.2.0/24
Sending on   LPF/eth0.2/00:0c:29:b9:44:fa/192.168.2.0/24
Sending on   Socket/fallback/fallback-net

i think that i should have : Listening on LPF/eth0/00:0c:29:b9:44:fa/192.168.1.0/24 Sending on LPF/eth0/00:0c:29:b9:44:fa/192.168.1.0/24

192.168.1.0 is the vlan regular (management)


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users


--
Fabrice Durand
[email protected] ::  +1.514.447.4918 (x135) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org)

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to