Hi,

8021x is the only method that's being used on the switch. RADIUS gets the 
request from the client and it accepts the request but it assigns it to VLAN 2 
(Registry VLAN) and the client also doesn't get an IP Address.

In my setup, I don't have have a DHCP server for my access VLAN, is it possible 
that I could configure a DHCP server in PacketFence for the access VLAN or do I 
need an external DHCP server?

Regards,
Sean

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: G PL via PacketFence-users <[email protected]>
Sent: Wednesday, March 6, 2019 7:51:59 PM
To: [email protected]
Cc: G PL
Subject: Re: [PacketFence-users] Wrong VLAN / IP Address assigned to Client

Good subject.
I am not a specialist but in my configuration  (routed out of band), the dhcp 
service of PF is for isolation or registration.
 The registration role is only for the "no 8021x captif portal". On my access 
vlan, I have an other dhcp server.

You can do a "sh auth session" on the switch to see the authentication method.
To be sure to use 8021x, do the command "no mab" on all the switch interface.


Le mer. 6 mars 2019 à 19:51, Seán Mac Lochlainn via PacketFence-users 
<[email protected]<mailto:[email protected]>>
 a écrit :
Hi Everyone,

I’m a student and I’m using PacketFence for my project. I’m just trying to do a 
simple 802.1x authentication lab.

My setup is:
2960 Switch
PacketFence 8.3.0
Client

When I plug my client (windows) into the switchport, a username and password 
box comes up on the client.

My issue is that once I enter the credentials, they get accepted and the VLAN 
that gets returned to the client is VLAN 2. VLAN 2 is the registration VLAN in 
my setup so it shouldn’t get put into this VLAN since I already entered 
credentials which was accepted, correct? Also, the IP address on the client PC 
doesn’t change when the switchport is connected or when the client enters the 
credentials. The IP of the client stays as the same IP address which was 
automatically configured to it.

My question is....Once the client is plugged into the switchport, should it 
automatically gain an IP address within the VLAN 2 (Registration VLAN) subnet 
with the DHCP service provided by PacketFence?

I’m not sure what I can do and I was wondering if there was anyone that could 
help me or indicate what’s wrong. I know this may be a very simple setup but I 
just can’t seem to get it working!

If any config is needed please let me know and I’ll show my config setup! Any 
help is appreciated!

Regards,
Sean


_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[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