07-22-2012 03:19 AM - edited 03-10-2019 07:19 PM
hi ,
I have implemented cisco nac solution in layer 2 Virtual Gateway out of band mode , but I have a problem with Remediation process ( I am using NAC agent),
when clients are not compliant with my security policy , they move from unauthenticated role to temporary role , the problem is users in temporary role can not ping anywhere , I want to allow users to connect to internet and download the proper file , but they can not , I create access rule and permit all thing for temporary role but it does not work ,
I think nac server does not retag traffic correctly ( I set a clan mapping rule that do mapping between my authentication and access vlan),
is it correct that nac server does vlan retagging for all remediation traffic ? if yes how can i solve this problem?
best regard
07-22-2012 04:14 AM
You can verify this by issuing a show mac address
on the switch that the Cas is connected to and see two entries one on the untrusted vlan from the trunking interface of the downstream switch, and the other from the trusted vlan on the trusted interface. If these entries are present then check your routing to see if these subnets can get through your firewall.Thanks,
Tarik Admani
Sent from Cisco Technical Support iPad App
07-22-2012 09:00 AM
Thank you for your attention ,
I did not see such out put of my sho mac add command ,
I sent a image of my current topology , it may be useful , please find it.
I used router instead of cisco layer 3 switches (SVI for user access vlan is configured on router as sub interfaces) , and On my NAC Server I created a vlan mapping rule that map unauthenticated vlan to one of my access vlan ,
I have a problem with my Managed subnet !! I have to put my Managed Subnet as default gateway for my client because if I put the router SVI cisco nac agent client does not pop up at all !!!
I read different documents about that and all of them said that your client default gateway must be SVI , but it does not work,
best regard
07-22-2012 02:51 PM
Hi can you please post the configuration of the port settings for the untrusted and trusted interfaces? When you issue the show mac address (macaddr of client) what entries do you see? Also when you made these changes did you reboot the CAS? Keep in mind that everytime you make a network related change on the CAS the unit must be rebooted in order for the changes to take affect.
Thanks,
Tarik Admani
*Please rate helpful posts*
07-22-2012 11:00 PM
Dear Tarik Admani,
Thank you for your reply ,
The out put of sho mac add for my client mac address is as follow:
Switch#sho mac address-table dynamic address 5404.a674.f220
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
110 5404.a674.f220 DYNAMIC Fa0/6 (Unauthenticated vlan)
50 5404.a674.f220 DYNAMIC Fa0/2 (Access vlan)
Total Mac Addresses for this criterion: 2
And it is my configuration for NAS ports:
interface FastEthernet0/2
description CONNECT TO TRUSTED-NAS
switchport trunk native vlan 100
switchport trunk allowed vlan 20,50
switchport mode trunk
!
interface FastEthernet0/3
description CONNECT TO UNTRUSTED-NAS
switchport trunk native vlan 101
switchport trunk allowed vlan 110
switchport mode trunk
best regard
07-23-2012 03:28 AM
Hi,
Can you please post a screenshot of your temporary role traffic policies, at this point the traffic is being mapped correctly. Based on the entries provided from the mac address table. At this point we need to see where the traffic is being dropped on your network.
thanks,
Tarik Admani
*Please rate helpful posts*
07-23-2012 04:15 AM
07-23-2012 08:41 AM
Please uncheck the top option "Enable subnet based vlan retag" I have seen this cause issues in other deployments as well. Then try to set the default gateway for you client to the router's interface.
Thanks,
Tarik Admani
Tarik Admani
*Please rate helpful posts*
07-23-2012 11:29 PM
Dear Tarik Admani,
I unchecked " subnet based vlan retag" , but it doesnt work , when I changed client DG to SVI ( because I alter my router with a C3750) , the client does not resolve the mac address of DG and it is sending ARP request for this purpose but does not get the response at all,
Does ARP Traffic retag through NAS?
Best regard
07-23-2012 11:43 PM
When you made these changes did you reboot the CAS? After further research the default gateway for these users is the managed subnet found in this guide: http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/48/cas/s_addSrvr.html#wp1060206
thanks,
Tarik Admani
*Please rate helpful posts*
07-24-2012 11:24 PM
Dear Tarik Admani ,
Yes I do that when I changed configuration on my CAS ,
I have read this document before but I also see some other document that say you must use SVI as gateway (I attache one of them ) , when I use the managed subnet as gateway cisco agent pops up but in remediation process they did not ping anywhere, client in remediation process must connect to a ftp server to download the files ( I created it in Requirement part in clean access) , but when the client placed in temporary rule they always send arp request for the ftp ip address and did not get any response , I think the problem is there , but I do not know how I should do with it?
07-24-2012 11:36 PM
What is the model of the switch you are running and what is the current code? Also the vlan that you are mapping to which is 50, is it allowed through the trunk on both sides of the link. Do you see the clients mac address on vlan 50 on the router's subinterface? Is spanning tree forwarding vlan 50 on the uplink?
Thanks,
Tarik Admani
*Please rate helpful posts*
07-24-2012 11:58 PM
Dear Tarik Admani ,
I have two switch one of them is WS-C3750-24TS with IOS “c3750-ipservicesk9-mz.122-52.SE.bin” , I used it as core switch that NAM and NAS and my ftp server connected to it , and the other on is my access switch that clients connected to it which is WS-C2950G-24-EI with ios “c2950-i6q4l2-mz.121-22.EA14.bin” ,
Version of My Nac manager is 4.9 and it is installed on esx 4.1 , and it has a trial license.
I attached my configuration of both of the switches ,
07-25-2012 12:49 AM
What vlan is the ftp server on? If it is on vlan 50 then you will have to create a static route that points this ip address through the trusted interface. This is because of the managed subnet configuration....it always assumes that all ip addresses that belong to this ip space are behind the untrusted vlan. It is best to keep network resources including the NAM on a seperate vlan to which the CAS is connected to.
Let me know if this is the case.
Thanks,
Tarik Admani
*Please rate helpful posts*
07-25-2012 01:13 AM
Dear Tarik Admani,
Yes my ftp server was in vlan 50 , I changed the vlan and put it in the vlan 200 , but the problem is still there and my client in unauthenticated vlan does not connect to it, in my switches I turned debugging for arp traffic on but It shows nothing!!
Thanks .
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide