12-14-2021 08:27 PM - edited 12-14-2021 08:29 PM
Hi,
I have a voice device. It connected to a voice vlan. But there is no "int vlan 10" in the config. However it is getting IP from vlan 1. When "sh mac address-table", it falls under vlan 2. But "sh ip arp", it falls under vlan 1.
May I know what is the logical explanation in this scenario?
interface GigabitEthernet5/0/1
switchport mode access
switchport nonegotiate
switchport voice vlan 10
interface Vlan1
ip address 10.1.1.3 255.255.255.192
ip helper-address 10.4.5.12
sh mac address-table
Vlan Mac Address Type Ports
1 6798.8bd4.40b0 STATIC Gi5/0/43
2 0090.8456.2674 STATIC Gi5/0/1
sh ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.4.3.14 2 6798.8bd4.40b0 ARPA Vlan1
Internet 10.4.3.12 1 0090.8456.2674 ARPA Vlan1
12-15-2021 12:09 AM
Hello,
post the full running configuration of the switch.
12-15-2021 03:24 AM
Hello
The reason why is that Switchports by default are assigned to vlan 1
12-15-2021 03:38 AM
But under "sh mac address-table", it falls under Vlan 2. But sh ip arp , is under vlan 1. Any reason?
12-15-2021 06:35 AM
Hello
How are the native vlans set up in your switches!
12-15-2021 10:14 AM
The original poster asks " But sh ip arp , is under vlan 1. Any reason?" I would begin my explanation by reminding us that a switch port can have a data vlan and a voice vlan. In this case the voice vlan is explicitly configured (vlan 10). In this case the data vlan is not explicitly configured and so it defaults to vlan 1. If the data vlan is vlan 1 then the arp entry is what we would expect, the mac address is associated with vlan 1.
I do not have a good explanation why the show mac address-table seems to associate the mac with vlan 2.
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