Re: [PacketFence-users] Apply to Vlan

2015-06-04 Thread Minh Trung
and install db again or something like that? Best regards, -- From: Durand fabrice fdur...@inverse.ca Sent: ‎5/‎26/‎2015 8:32 AM To: packetfence-users@lists.sourceforge.net Subject: Re: [PacketFence-users] Apply to Vlan Hello Minh, it miss a procedure in your

Re: [PacketFence-users] Apply to Vlan

2015-05-26 Thread Fabrice DURAND
mailto:packetfence-users@lists.sourceforge.net Subject: Re: [PacketFence-users] Apply to Vlan Hello Minh, it miss a procedure in your database. Let's do: mysqldump -uroot -p pf --no-data --routines and compare with db/pf-schema.sql Regards Fabrice Le 2015-05-25 04:57, Minh Trung

Re: [PacketFence-users] Apply to Vlan

2015-05-26 Thread minh van
/‎2015 8:32 AM To: packetfence-users@lists.sourceforge.net packetfence-users@lists.sourceforge.net Subject: Re: [PacketFence-users] Apply to Vlan Hello Minh, it miss a procedure in your database. Let's do: mysqldump -uroot -p pf --no-data --routines and compare with db/pf-schema.sql Regards

Re: [PacketFence-users] Apply to Vlan

2015-05-25 Thread Minh Trung
Hello, I am still not able to resolved this issue: Mon May 25 15:33:20 2015 : Error: [sql] Couldn't update SQL accounting STOP record - PROCEDURE pf.acct_stop does not exist Mon May 25 15:33:20 2015 : Error: rlm_sql_mysql: Cannot store result Mon May 25 15:33:20 2015 : Error: rlm_sql_mysql:

Re: [PacketFence-users] Apply to Vlan

2015-05-25 Thread Durand fabrice
Hello Minh, it miss a procedure in your database. Let's do: mysqldump -uroot -p pf --no-data --routines and compare with db/pf-schema.sql Regards Fabrice Le 2015-05-25 04:57, Minh Trung a écrit : Hello, I am still not able to resolved this issue: Mon May 25 15:33:20 2015 : Error:

Re: [PacketFence-users] Apply to Vlan

2015-05-06 Thread Minh Trung
Hello Juan, I showed and it empty. *mysql use pf;Database changedmysql show procedure status;Empty set (0.00 sec)* Now, i using PF v5.0.5 and i saw many procedures just after the radius tables at docs in db's PF directory. Would you please point me the exact command to insert them? Thank

Re: [PacketFence-users] Apply to Vlan

2015-05-06 Thread Juan Camilo Valencia
Hi Minh, I don´t have the excatly procedure write it, however is very simple. 1. Open up in a text editor, nedit is my preference, the schema of the database that match your version of pf. 2. At the same time connect to pf database, mysql -u pf -p pf. 3. Search in the schema for the keyword

Re: [PacketFence-users] Apply to Vlan

2015-04-28 Thread Minh Trung
Hello Fabrice, I was successful in configured the vmware machine in tag the vlan as above we discussed (it take long time to figure out [?]) and i also see the portal on device which is plugged in the port testing. But on radius log still show the error: *Tue Apr 28 16:53:57 2015 :

Re: [PacketFence-users] Apply to Vlan

2015-04-01 Thread Minh Trung
Hello Fabrice, You are right, my VMware connected 4500 via gi7/6, here is the spaning-tree command: *VLAN0210 Spanning tree enabled protocol ieee Root IDPriority 32978 Address 5475.d0c3.e100 This bridge is the root

Re: [PacketFence-users] Apply to Vlan

2015-03-31 Thread Minh Trung
Hello Fabrice, I changed reg and iso interface back to 10.126.210.1, 10.126.220.1 but still no luck. As you comment could we call PF as a switch L2? Then after plug a device to 4500 i am not able ping to 10.126.210.1 even from 4500 can not ping 10.126.210.1 also. Do i misconfiguration on vmware?

Re: [PacketFence-users] Apply to Vlan

2015-03-31 Thread Durand fabrice
Hello Minh, based on what i can see and suppose packetfence has been plugged on Gi7/6 (vmware). So check : 'show spanning-tree' if vlan 210 and 220 are forwarded to gi7/6 Where packetfence is connected on vmware ? is it connected to a trunk port where the vlan 220 and 230 are allowed and

Re: [PacketFence-users] Apply to Vlan

2015-03-30 Thread Minh Trung
Hello Fabrice, I already check trunk port but still problem as previously posted. My PF as below: PC ---+ -- Switch_L2(2960- Cisco) ---trunk-- Switch_L3(4500) ---trunk--- PF(VMware- ESX) Here is the config interface that L2 connected on Core switch: i *nterface GigabitEthernet2/4

Re: [PacketFence-users] Apply to Vlan

2015-03-30 Thread Durand fabrice
Hi Minh, Keep in mind that reg and isol vlan are layer 2 networks, so you don't have to assign an ip address for these 2 vlan on the cisco config (packetfence is the only one who manage what happen on these 2 networks). So the the ip address of the reg interface is 10.126.210.1 (ifconfig)

Re: [PacketFence-users] Apply to Vlan

2015-03-28 Thread Minh Trung
- From: Durand fabrice fdur...@inverse.ca fdur...@inverse.ca Sent: ‎3/‎26/‎2015 10:37 PM To: packetfence-users@lists.sourceforge.net packetfence-users@lists.sourceforge.net packetfence-users@lists.sourceforge.net packetfence-users@lists.sourceforge.net Subject: Re: [PacketFence-users] Apply

Re: [PacketFence-users] Apply to Vlan

2015-03-27 Thread Durand fabrice
...@inverse.ca Sent: ‎3/‎26/‎2015 10:37 PM To: packetfence-users@lists.sourceforge.net packetfence-users@lists.sourceforge.net Subject: Re: [PacketFence-users] Apply to Vlan Hi Minh, If you already created a reg and isol interfaces then the dhcp will be enabled by default. Just plug a device

Re: [PacketFence-users] Apply to Vlan

2015-03-27 Thread Trung minh
:37 PM To: packetfence-users@lists.sourceforge.net packetfence-users@lists.sourceforge.net Subject: Re: [PacketFence-users] Apply to Vlan Hi Minh, If you already created a reg and isol interfaces then the dhcp will be enabled by default. Just plug a device on the vlan 210 to see if you have

Re: [PacketFence-users] Apply to Vlan

2015-03-26 Thread Minh Trung
Hello Fabrice, It seem be working fine after used (mysql -u root -p pf -v /usr/local/pf/db/upgrade-4.6.0-4.7.0.sql). But i think i installed PF from refresh so it included packet. So, what's next steps i have to do to supply DHCP for users which are Vlan 210, and 220? How to scan clients by

Re: [PacketFence-users] Apply to Vlan

2015-03-20 Thread Fabrice Durand
Hello Minh, You have to update the mysql schema. Take a look at the upgrade file. Regards Fabrice Le 20 mars 2015 05:21:00 GMT-04:00, Minh Trung mvtrun...@gmail.com a écrit : Hello Fabrice, I did as you recommended but error appeared while i don't know how to resolved. These are some errors

Re: [PacketFence-users] Apply to Vlan

2015-03-20 Thread Minh Trung
Hello Fabrice, I did as you recommended but error appeared while i don't know how to resolved. These are some errors related that i look on radius.log and packetfence.log *#packetfence.log:* *Mar 20 15:53:45 httpd.aaa(6337) INFO: [2c:27:d7:c3:c0:08] handling radius autz request: from

Re: [PacketFence-users] Apply to Vlan

2015-03-16 Thread Minh Trung
Hello Fabrice, Thank you for your quick responded, My LAN Cisco switches 2960 are almost using Version 12.2(44)SE6, does this version enough condition to MAB configured? And Core switches are 4500 model, Version 12.2(50)SG3. I did as you recommended but after configuration radius on switch then

Re: [PacketFence-users] Apply to Vlan

2015-03-14 Thread Durand fabrice
Hello Minh, your packetfence config looks ok, now next step is to configure your cisco switch, so let's check the documentation: https://github.com/inverse-inc/packetfence/blob/devel/docs/PacketFence_Network_Devices_Configuration_Guide.asciidoc#cisco If your cisco switch support MAB then use

[PacketFence-users] Apply to Vlan

2015-03-14 Thread Minh Trung
Hello experts, I am newbie. My network as attached file and i suggested i should use PF as Vlan enforcement. My infrastructure already has: Vlan122: Servers (including PF server, pf is vmware) Vlan123: Office Users (PCs, Desktops, IP Phone, Printer) Vlan124: Telephone Vlan:125 Firewall