Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mac-address]

For questions about Media Access Control (MAC) address which is used as the OSI layer-2 address for many OSI layer-2 protocols.

32
votes
8answers
7k views

How can I stop an intruder plugging into an Ethernet wall socket getting access to the network?

Is MAC address filtering the most suitable option to prevent someone connecting their own device to the network by plugging into Ethernet wall sockets? What if they unplug a device and clone its MAC?
20
votes
3answers
52k views

How does a switch learn a switch table?

Say the switch table is empty. If computer A sends a frame destined to computer B, the switch will broadcast asking who has the mac address of B. What if C suddenly sends a frame to A? What is the ...
15
votes
4answers
5k views

Why is the CAM table in a switch called CAM table and not MAC table even though it holds MAC addresses?

I know the CAM table in a switch holds MAC addresses and the ports that are associated with the respective MAC addresses. There are no such thing as CAM addresses from my knowledge, so why is it ...
24
votes
9answers
64k views

Reason for both a MAC and an IP address

If my computer has an IP address,why does it need a MAC address?
9
votes
3answers
31k views

How does a switch learn a MAC address not in its lookup table?

I have a relatively dumb question. Suppose the Switch just started, and it received a frame that contains a destination MAC address for a network device not in its MAC addresses table. What happens ...
8
votes
3answers
3k views

How are MAC/IP addresses used in routing

I have to teach my sixth form about MAC Addresses and IP Addresses in a few weeks time and there are some areas I am unclear on which I am hoping some of you will be able to clarify for me. I have ...
5
votes
2answers
3k views

Does a switch MAC address table sync across all switches in the same VLAN?

Ok, I have read up about this 16K limit for the MAC address table, or better known as the CAM table, on certain switches. Lets say I have 14 different edge switches with that 16K limit, and I have ...
14
votes
6answers
21k views

How are IP addresses mapped to MAC addresses?

I've been reading about the differences between MAC and IP addresses, and why we need both of them. To summarize, MAC addresses are physical unchangeable unique IDs for every single device while IP ...
5
votes
2answers
2k views

Why do LANs use MAC addressing instead of IP addressing?

Why do LANs use MAC addressing instead of IP addressing? In other words, why can't a network just assign an IP address to a local area network device and send the data to that, instead of the MAC ...
3
votes
2answers
592 views

What is the point of ARP?

I'm a complete beginner at networking, but if I've understood this correctly, the gist of ARP is: We want to use high level adresses to the highest degree possible but ultimately, we actually need ...
9
votes
3answers
10k views

Why don't switches rewrite mac-addresses?

Is there any particular reason why Ethernet switches don't change the MAC address of a packet? Is it for end host identification using the MAC address, or anything else?
8
votes
1answer
10k views

What are EUI-48 and EUI-64?

What are EUI-48 and EUI-64 addresses formed and used? Give me examples. What are MA-L, MA-S and MA-M assignments? I have read https://standards.ieee.org/develop/regauth/tut/eui48.pdf and https://...
23
votes
1answer
111k views

TCPDump - Filter by MAC Address

I would like to display all traffic for or from a specific MAC address. For that I tried sudo tcpdump host aa:bb:cc:11:22:33 It does not work and returns me an error tcpdump: pktap_filter_packet: ...
5
votes
2answers
8k views

Why each and every single port on Layer 2 switches need to have it's own MAC address?

A switch doesn't alter the frame, and source/destination mac addresses remain how sending host specified them,so let me say it again Layer 2 Switching never changes the frames means no changes in MAC ...
9
votes
2answers
2k views

Differences and functions of type codes 0800 and 0806

What are the primary differences and functions (or applications) of type codes 0800 and 0806? Through my own research, I found the 0800 was related to the 0800 to the IP/Layer 3 of the OSI model. ...
16
votes
3answers
6k views

Can my MAC address be identified by a web site?

Can my MAC address be identified by a web site when I access the site? Does it make a difference if the site requires me to upload files?
6
votes
2answers
594 views

Learn MAC addresses via replies to other hosts requests

I have a question regarding ARP: If host A wants to send a message to host B and the ARP table of host A does not contain a MAC address for host B then he sends an ARP request and host B replies with ...
5
votes
1answer
2k views

MAC address can be used to generate an IPv6 link local address

MAC address can be used to generate an IPv6 link local address. What is the process of using MAC address to derive an IPv6 address ? What are the problems that can be caused due to process of using ...
5
votes
3answers
1k views

IP Address vs MAC Address, how does that really work together illustration

My question is simple, i don't really know if I understand it so I'm asking. Why do we have both addresses, if we know the ip address of the target and source computer, why do we need some physical ...
4
votes
1answer
1k views

Cisco Catalyst 2960 X MAC access list

I am using a MAC access list on this switch, so I go about it by first creating the MAC access list: #conf t #mac access-list extended aclname # permit host XXXX.XXXX.XXXX any Then, I tie this list ...
4
votes
1answer
202 views

How do we prevent loss of sensitive information from MAC spoofing?

While IP addresses are often dynamically assigned during runtime, hardware addresses (so called MAC addresses) are usually statically allotted when a network interface card is manufactured. What ...
3
votes
2answers
108 views

Why do we allow Mac-Address to be changed by software?

In CISCO routers, they provide a provision to change the MAC-Address. My question is MAC-Address is supposed to be a burned-in address i.e. a permanent address. If we allow the mac-address to be ...
3
votes
1answer
4k views

What happens if two hosts with the same MAC address are in the same broadcast domain?

I am aware that situation, where duplicate MAC addresses appear in the same broadcast domain, should never happen. However, if such situation happens, then how will the network work? I think one ...
3
votes
2answers
145 views

does MAC filtering provide security against MAC spoofing in wired networks?

i have googled about mac address spoofing.All I know is that MAC filtering is not much of a protection in wireless network.And in wired network it only works for routers that support MAC Filtering.Is ...
2
votes
1answer
395 views

MAC Spoofing and EUI-64

I have two questions that both assume an attacker who has my MAC address: Suppose an attacker connects to the Internet before me, spoofing my MAC. I then connect and tell people to connect to my EUI-...
-1
votes
3answers
611 views

How do 2 PCs learn each other's IP addresses for ARP resolution? [closed]

So, if one PC will use another PC's IP address for ARP resolution, how does the PC sending the ARP Request even know which IP address to call for in the first place? What happens in a scenario where ...