04-21-2023 04:23 AM
Hi all!
I have a CISCO 3850 switch as core switch in my network with VLANs configured. In the MAC address table, I can see the MAC address of the machines of users connecting to the switch. The traffic then passes out from the switch to the firewall. However, at the firewall, I could see only the MAC address of VLAN interface that the switch replaces with in place of machine address in the packet.
How can I disable this and keep the machine address? I have dhcp snooping and spanning tree enabled.
Thanks
04-21-2023 04:30 AM
why you want the MAC address keep same ? are you use static DHCP using Client ID ?
04-21-2023 04:43 AM
Need to do MAC filter at firewall
04-21-2023 04:50 AM - edited 04-21-2023 04:50 AM
MAC filter meaning the FW is transparent mode.
then the MAC of Host will not change, the traffic will follow to FW in FW the VLAN ID will change and then return to GW (SVI of SW) then the MAC will change
so you can use MAC filter for Host MAC
04-21-2023 05:00 AM
The traffic from different VLANs (say 10,11,12) is routed from core to FW (vlan 2). So the MAC shown on FW in the packet is of vlan 2 interface. Users have login Ids to access but few machines need to be provided access based on MAC address of machines. How to achieve this.
04-21-2023 05:13 AM
Ohh, it hard to achieve but I have idea
config DHCP with static IP-MAC (host MAC) and in this case the DHCP server always use same IP for same MAC
then in FW use ACL filter the IP, the IP will preserve same (thanks to DHCP).
if any other Host get IP from DHCP , the DHCP will assign different IP and the FW will deny it
04-21-2023 05:28 AM
OK. Thanks!! I believe there something to retain the machine mac.
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