Questions tagged [mac-address]

A Media Access Control address (MAC address) is a unique identifier assigned to network interfaces for communications on the physical network segment.

Filter by
Sorted by
Tagged with
187 votes
13 answers
44k views

Why couldn't MAC addresses be used instead of IPv4|6 for networking? [closed]

I am reading up on TCP/IP and other related protocols and technologies. MAC addresses are described as being (reasonably :) unique, and as having a large possibility space (several hundred trillions), ...
Félix Saparelli's user avatar
101 votes
6 answers
122k views

What range of MAC addresses can I safely use for my virtual machines?

I want to assign my virtual machines MAC addresses so that I can configure DHCP reservations for them so that they always get the same IP address regardless of which host hypervisor they are running ...
Chris Magnuson's user avatar
25 votes
4 answers
68k views

multiple MAC addresses on one physical network interface (linux)

Simple question: How can I setup multiple MAC addresses on one physical network interface (linux)? Why? My ISP is checking ip<->mac on GW and I d like to route traffic through my "linuxbox" and ...
grapefruyt's user avatar
23 votes
4 answers
107k views

Duplicate MAC address on the same LAN possible?

Let's say someone is on the same network as me and spoofs their MAC address to match mine: Is this possible? Can two or more clients with the same MAC address be on the same network at the same time ...
Aaron's user avatar
  • 732
7 votes
2 answers
8k views

VirtualBox Import & Same Mac Address

Exported Virtual Box VM (CentOS 5.5 with Guest Additions Installed) - Success Imported CentOS VM Successfully on another Windows Machine via Windows Batch Problem : VM After Import retains the same ...
Mutahir's user avatar
  • 2,357
4 votes
1 answer
2k views

Assign DHCP IPs for specific MAC prefixes on Windows Server 2008 R2

I'm running Windows Server 2008 R2 for my DHCP server. We are about to switch over to a VoIP system and Cisco VoIP phones. I would like to assign a specific range of IPs to these phones which will ...
Daniel B's user avatar
  • 113
35 votes
13 answers
52k views

how to generate a random MAC address from the Linux command line

How do I generate a random MAC address from the Linux command line? I search for a solution that only requires standard tools commonly found on the Linux command line. The MAC address will be used ...
Erik Sjölund's user avatar
11 votes
5 answers
175k views

Can I use nmap to discover IPs and mac addresses?

When I need to locate the IPs of devices by their mac address on a Windows system, I normally use Advanced IP Scanner (from radmin.com) to scan the network, then I use arp -a to list the mac addresses....
vfclists's user avatar
  • 1,652
10 votes
3 answers
33k views

iptables, allow access from certain MAC addresses

Presently, I limit which clients can access my server by using IP addresses via iptables, only approved IP addresses can connect. However, the problem with this is if a client is on a laptop and goes ...
user788171's user avatar
9 votes
2 answers
24k views

Assign DHCP IPs for specific MAC prefixes

I'm running a ISC DHCPd server for my network serving a number of subnets. One of the things I would like to do is assign a specific range of IPs to hosts with a common MAC prefix (ex. 00:01:02). Also,...
Jon Bailey's user avatar
6 votes
1 answer
6k views

Ubuntu Linux - two interfaces, same subnet, different vlan - MAC/ARP issues

I'm attempting to setup a server that needs to have interfaces on the same IP subnet, but different VLANs: eth1.102 Link encap:Ethernet HWaddr 00:50:56:b1:00:0f inet addr:10.1.1.6 ...
Andy Coates's user avatar
6 votes
1 answer
10k views

Why are eth0 and vmbr0 (bridge) having the same MAC addresses?

I configured my Debian (with KVM on board) as following: /etc/network/interfaces: auto lo iface lo inet loopback auto eth0 iface eth0 inet manual auto vmbr0 iface vmbr0 inet static address 176....
static's user avatar
  • 351
4 votes
2 answers
4k views

ARP responds with single MAC address on Linux server with multiple interfaces on the same network

Linux server has 2 active network interfaces: IF:eth1 IP:192.168.1.1/24 MAC:11:11:11:11:11:11 (1GbE) IF:eth2 IP:192.168.1.2/24 MAC:22:22:22:22:22:22 (10GbE) The idea is that the ...
sardean's user avatar
  • 843
4 votes
2 answers
5k views

Physical interface MAC rather than macvlan MAC is sent as ARP response [closed]

On Arch Linux ARM (Raspberry Pi) Kernel 4.4.37, I created a macvlan e.g. ip link add link eth0 mac0 type macvlan The macvlan virtual NIC then appears in the list so I assign it an IP address, and ...
bao7uo's user avatar
  • 1,714
3 votes
2 answers
2k views

How to get a report of all mac addresses on another subnet?

We have an MPLS consisting of two branches: Location1 and Location2. I am using the Softperfect netscan to report all ip addresses and mac addresses of devices on Location1 where my workstation is ...
bgmCoder's user avatar
  • 726
3 votes
1 answer
3k views

hostapd: mapping MAC address to VLAN ID (static mapping via accept_mac_file)

I want hostapd to assign each station a given VLAN based on MAC address. BTW, my network is quite small. Using RADIUS would be an overkill. According to the hostapd manual: Optionally, the local ...
Pedro Abrantes's user avatar
2 votes
1 answer
9k views

Assign two static IP addresses to one mac address

Can Isc-dhcp-server give two static ip addresses to one mac address? I have several Genexis terminals in my network. Each terminal have two interfaces, one for public traffic and one for a management ...
Timo Ylikännö's user avatar
2 votes
0 answers
2k views

Filtering traffic by MAC address with nftables

TL;DR: when spoofing MAC addresses, how can I make sure the real addresses won't be leaked to the rest of the network using nftables ? Context For network security training purposes I am currently ...
Kate's user avatar
  • 485
-5 votes
2 answers
2k views

Connectivity issues when setting guest MAC to the same as the host MAC on ESXi 5

I am using VMWare ESXi 5. The ESXi 5 host has a NIC with the MAC XXXX:XXXX:XXXX I have created a console port for that card. I have added a new guest named COMP and manually assigned the MAC address ...
Henry Aloni's user avatar