Do I need MAC addresses if I'm connecting Raspberry Pi Zeros together together on a subnet via a switch?

Clash Royale CLAN TAG#URR8PPP
up vote
5
down vote
favorite
I'm connecting a few Raspberry Pi Zeros together over Ethernet through a switch on a subnet. I've assigned them all static IP addresses and I'm wondering if that is adequate or if I also need to assign them each a MAC address (since Raspberry Pi Zeros don't come with a MAC address).
Do I need to give them all MAC addresses/will having MAC addresses speed up data transmission between them. Or is it fine to just stick with static IP addresses?
networking raspberry-pi switch mac-address static-ip
add a comment |Â
up vote
5
down vote
favorite
I'm connecting a few Raspberry Pi Zeros together over Ethernet through a switch on a subnet. I've assigned them all static IP addresses and I'm wondering if that is adequate or if I also need to assign them each a MAC address (since Raspberry Pi Zeros don't come with a MAC address).
Do I need to give them all MAC addresses/will having MAC addresses speed up data transmission between them. Or is it fine to just stick with static IP addresses?
networking raspberry-pi switch mac-address static-ip
2
As the answers noted, if you have an Ethernet port (whether built-in, added on or via USB adapter), you have a factory-assigned MAC address. The only place I have found where you can relatively easily change a MAC address is some routers will let you override the default MAC address for purposes of spoofing a previous router or other device to fool a cable modem, which shouldn't be necessary at all - yet sometimes is.
â manassehkatz
Sep 7 at 20:33
2
@manadsehkatz ThereâÂÂs a lot of software out there that lets you arbitrarily change or spoof a MAC address, too. ItâÂÂs not at all a hard problem.
â HopelessN00b
Sep 7 at 21:53
2
@HopelessN00b I knew people would latch onto âÂÂBut you know you can spoof a MAC address, right?â and such. But for pretty much 99.9% of the usage cases out there utterly nobody knows, cares or âÂÂspoofsâ MAC addresses.
â JakeGould
Sep 7 at 23:08
add a comment |Â
up vote
5
down vote
favorite
up vote
5
down vote
favorite
I'm connecting a few Raspberry Pi Zeros together over Ethernet through a switch on a subnet. I've assigned them all static IP addresses and I'm wondering if that is adequate or if I also need to assign them each a MAC address (since Raspberry Pi Zeros don't come with a MAC address).
Do I need to give them all MAC addresses/will having MAC addresses speed up data transmission between them. Or is it fine to just stick with static IP addresses?
networking raspberry-pi switch mac-address static-ip
I'm connecting a few Raspberry Pi Zeros together over Ethernet through a switch on a subnet. I've assigned them all static IP addresses and I'm wondering if that is adequate or if I also need to assign them each a MAC address (since Raspberry Pi Zeros don't come with a MAC address).
Do I need to give them all MAC addresses/will having MAC addresses speed up data transmission between them. Or is it fine to just stick with static IP addresses?
networking raspberry-pi switch mac-address static-ip
networking raspberry-pi switch mac-address static-ip
edited Sep 8 at 1:25
JakeGould
29.7k1089132
29.7k1089132
asked Sep 7 at 17:54
Matt
1238
1238
2
As the answers noted, if you have an Ethernet port (whether built-in, added on or via USB adapter), you have a factory-assigned MAC address. The only place I have found where you can relatively easily change a MAC address is some routers will let you override the default MAC address for purposes of spoofing a previous router or other device to fool a cable modem, which shouldn't be necessary at all - yet sometimes is.
â manassehkatz
Sep 7 at 20:33
2
@manadsehkatz ThereâÂÂs a lot of software out there that lets you arbitrarily change or spoof a MAC address, too. ItâÂÂs not at all a hard problem.
â HopelessN00b
Sep 7 at 21:53
2
@HopelessN00b I knew people would latch onto âÂÂBut you know you can spoof a MAC address, right?â and such. But for pretty much 99.9% of the usage cases out there utterly nobody knows, cares or âÂÂspoofsâ MAC addresses.
â JakeGould
Sep 7 at 23:08
add a comment |Â
2
As the answers noted, if you have an Ethernet port (whether built-in, added on or via USB adapter), you have a factory-assigned MAC address. The only place I have found where you can relatively easily change a MAC address is some routers will let you override the default MAC address for purposes of spoofing a previous router or other device to fool a cable modem, which shouldn't be necessary at all - yet sometimes is.
â manassehkatz
Sep 7 at 20:33
2
@manadsehkatz ThereâÂÂs a lot of software out there that lets you arbitrarily change or spoof a MAC address, too. ItâÂÂs not at all a hard problem.
â HopelessN00b
Sep 7 at 21:53
2
@HopelessN00b I knew people would latch onto âÂÂBut you know you can spoof a MAC address, right?â and such. But for pretty much 99.9% of the usage cases out there utterly nobody knows, cares or âÂÂspoofsâ MAC addresses.
â JakeGould
Sep 7 at 23:08
2
2
As the answers noted, if you have an Ethernet port (whether built-in, added on or via USB adapter), you have a factory-assigned MAC address. The only place I have found where you can relatively easily change a MAC address is some routers will let you override the default MAC address for purposes of spoofing a previous router or other device to fool a cable modem, which shouldn't be necessary at all - yet sometimes is.
â manassehkatz
Sep 7 at 20:33
As the answers noted, if you have an Ethernet port (whether built-in, added on or via USB adapter), you have a factory-assigned MAC address. The only place I have found where you can relatively easily change a MAC address is some routers will let you override the default MAC address for purposes of spoofing a previous router or other device to fool a cable modem, which shouldn't be necessary at all - yet sometimes is.
â manassehkatz
Sep 7 at 20:33
2
2
@manadsehkatz ThereâÂÂs a lot of software out there that lets you arbitrarily change or spoof a MAC address, too. ItâÂÂs not at all a hard problem.
â HopelessN00b
Sep 7 at 21:53
@manadsehkatz ThereâÂÂs a lot of software out there that lets you arbitrarily change or spoof a MAC address, too. ItâÂÂs not at all a hard problem.
â HopelessN00b
Sep 7 at 21:53
2
2
@HopelessN00b I knew people would latch onto âÂÂBut you know you can spoof a MAC address, right?â and such. But for pretty much 99.9% of the usage cases out there utterly nobody knows, cares or âÂÂspoofsâ MAC addresses.
â JakeGould
Sep 7 at 23:08
@HopelessN00b I knew people would latch onto âÂÂBut you know you can spoof a MAC address, right?â and such. But for pretty much 99.9% of the usage cases out there utterly nobody knows, cares or âÂÂspoofsâ MAC addresses.
â JakeGould
Sep 7 at 23:08
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
27
down vote
accepted
If you are networking in any way with common networking interfaces you have MAC addresses whether you know it or not but you shouldnâÂÂt really have to worry about them.
So, I understand your question but itâÂÂs still a bit confusing when you ask something like this:
â¦I'm wondering if that is adequate or if I also need to assign them each a MAC address (since Raspberry Pi Zeros don't come with a MAC address).
So this is what a Raspberry Pi Zero looks like:

It obviously does not have any networking ports built in; I assume you mean Ethernet since you mention a Switch. So I assume you are using some kind of USB to Ethernet adapter?
While you are correct that the Raspberry Pi Zero does not have a built-in networking portâÂÂand thus does not have a MAC addressâÂÂa networking device like a USB to Ethernet adapter definitely does have a MAC address.
That said, you ask:
Do I need to give them all MAC addresses/will having MAC addresses speed up data transmission between them. Or is it fine to just stick with static IP addresses?
You are mixing things up. For the most part, any common basic networking device of any kindâÂÂwired, wireless, etcâ¦âÂÂwill have a MAC address which is a media access control address. An IP address is the network address. You connect devices together via IP addresses, but MAC addresses are pretty much invisible to you as an end user and are only really used by networking equipmentâÂÂlike switchesâÂÂto help manage traffic.
So you donâÂÂt need to ever think about assigning a MAC address in the same way you assign an IP address. A MAC address is unique to a networking interface and is hard-coded in at the factory. An IP address is what you are managing when youâÂÂa userâÂÂsets up a system and related devices. And speed is not determined by MAC addresses; itâÂÂs simply a lower-level control item you really donâÂÂt need to think about.
add a comment |Â
up vote
4
down vote
A MAC address is a hardware identification number that uniquely identifies each device on a network. The MAC address is manufactured into every network card.
Your Raspberry Pi has a MAC address built in from the factory if it has any kind of network card. You can't have a working IP address solution without having a MAC address layer under it. The MAC address is at layer 2 of the OSI model. TCP is at level four, TCP/IP depends and requires MAC to work.
Here is a way to find your MAC address on a Raspberry Pi:
https://raspberrypi.stackexchange.com/questions/71824/how-can-i-find-the-mac-address-of-my-wi-fi-interface
2
While IP depends on a MAC layer, not all MAC layers have a MAC address. In particular point-to-point links don't need one (because there's only one place that MAC frames can go to anyway), and some types don't have one.
â grawity
Sep 8 at 10:09
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
27
down vote
accepted
If you are networking in any way with common networking interfaces you have MAC addresses whether you know it or not but you shouldnâÂÂt really have to worry about them.
So, I understand your question but itâÂÂs still a bit confusing when you ask something like this:
â¦I'm wondering if that is adequate or if I also need to assign them each a MAC address (since Raspberry Pi Zeros don't come with a MAC address).
So this is what a Raspberry Pi Zero looks like:

It obviously does not have any networking ports built in; I assume you mean Ethernet since you mention a Switch. So I assume you are using some kind of USB to Ethernet adapter?
While you are correct that the Raspberry Pi Zero does not have a built-in networking portâÂÂand thus does not have a MAC addressâÂÂa networking device like a USB to Ethernet adapter definitely does have a MAC address.
That said, you ask:
Do I need to give them all MAC addresses/will having MAC addresses speed up data transmission between them. Or is it fine to just stick with static IP addresses?
You are mixing things up. For the most part, any common basic networking device of any kindâÂÂwired, wireless, etcâ¦âÂÂwill have a MAC address which is a media access control address. An IP address is the network address. You connect devices together via IP addresses, but MAC addresses are pretty much invisible to you as an end user and are only really used by networking equipmentâÂÂlike switchesâÂÂto help manage traffic.
So you donâÂÂt need to ever think about assigning a MAC address in the same way you assign an IP address. A MAC address is unique to a networking interface and is hard-coded in at the factory. An IP address is what you are managing when youâÂÂa userâÂÂsets up a system and related devices. And speed is not determined by MAC addresses; itâÂÂs simply a lower-level control item you really donâÂÂt need to think about.
add a comment |Â
up vote
27
down vote
accepted
If you are networking in any way with common networking interfaces you have MAC addresses whether you know it or not but you shouldnâÂÂt really have to worry about them.
So, I understand your question but itâÂÂs still a bit confusing when you ask something like this:
â¦I'm wondering if that is adequate or if I also need to assign them each a MAC address (since Raspberry Pi Zeros don't come with a MAC address).
So this is what a Raspberry Pi Zero looks like:

It obviously does not have any networking ports built in; I assume you mean Ethernet since you mention a Switch. So I assume you are using some kind of USB to Ethernet adapter?
While you are correct that the Raspberry Pi Zero does not have a built-in networking portâÂÂand thus does not have a MAC addressâÂÂa networking device like a USB to Ethernet adapter definitely does have a MAC address.
That said, you ask:
Do I need to give them all MAC addresses/will having MAC addresses speed up data transmission between them. Or is it fine to just stick with static IP addresses?
You are mixing things up. For the most part, any common basic networking device of any kindâÂÂwired, wireless, etcâ¦âÂÂwill have a MAC address which is a media access control address. An IP address is the network address. You connect devices together via IP addresses, but MAC addresses are pretty much invisible to you as an end user and are only really used by networking equipmentâÂÂlike switchesâÂÂto help manage traffic.
So you donâÂÂt need to ever think about assigning a MAC address in the same way you assign an IP address. A MAC address is unique to a networking interface and is hard-coded in at the factory. An IP address is what you are managing when youâÂÂa userâÂÂsets up a system and related devices. And speed is not determined by MAC addresses; itâÂÂs simply a lower-level control item you really donâÂÂt need to think about.
add a comment |Â
up vote
27
down vote
accepted
up vote
27
down vote
accepted
If you are networking in any way with common networking interfaces you have MAC addresses whether you know it or not but you shouldnâÂÂt really have to worry about them.
So, I understand your question but itâÂÂs still a bit confusing when you ask something like this:
â¦I'm wondering if that is adequate or if I also need to assign them each a MAC address (since Raspberry Pi Zeros don't come with a MAC address).
So this is what a Raspberry Pi Zero looks like:

It obviously does not have any networking ports built in; I assume you mean Ethernet since you mention a Switch. So I assume you are using some kind of USB to Ethernet adapter?
While you are correct that the Raspberry Pi Zero does not have a built-in networking portâÂÂand thus does not have a MAC addressâÂÂa networking device like a USB to Ethernet adapter definitely does have a MAC address.
That said, you ask:
Do I need to give them all MAC addresses/will having MAC addresses speed up data transmission between them. Or is it fine to just stick with static IP addresses?
You are mixing things up. For the most part, any common basic networking device of any kindâÂÂwired, wireless, etcâ¦âÂÂwill have a MAC address which is a media access control address. An IP address is the network address. You connect devices together via IP addresses, but MAC addresses are pretty much invisible to you as an end user and are only really used by networking equipmentâÂÂlike switchesâÂÂto help manage traffic.
So you donâÂÂt need to ever think about assigning a MAC address in the same way you assign an IP address. A MAC address is unique to a networking interface and is hard-coded in at the factory. An IP address is what you are managing when youâÂÂa userâÂÂsets up a system and related devices. And speed is not determined by MAC addresses; itâÂÂs simply a lower-level control item you really donâÂÂt need to think about.
If you are networking in any way with common networking interfaces you have MAC addresses whether you know it or not but you shouldnâÂÂt really have to worry about them.
So, I understand your question but itâÂÂs still a bit confusing when you ask something like this:
â¦I'm wondering if that is adequate or if I also need to assign them each a MAC address (since Raspberry Pi Zeros don't come with a MAC address).
So this is what a Raspberry Pi Zero looks like:

It obviously does not have any networking ports built in; I assume you mean Ethernet since you mention a Switch. So I assume you are using some kind of USB to Ethernet adapter?
While you are correct that the Raspberry Pi Zero does not have a built-in networking portâÂÂand thus does not have a MAC addressâÂÂa networking device like a USB to Ethernet adapter definitely does have a MAC address.
That said, you ask:
Do I need to give them all MAC addresses/will having MAC addresses speed up data transmission between them. Or is it fine to just stick with static IP addresses?
You are mixing things up. For the most part, any common basic networking device of any kindâÂÂwired, wireless, etcâ¦âÂÂwill have a MAC address which is a media access control address. An IP address is the network address. You connect devices together via IP addresses, but MAC addresses are pretty much invisible to you as an end user and are only really used by networking equipmentâÂÂlike switchesâÂÂto help manage traffic.
So you donâÂÂt need to ever think about assigning a MAC address in the same way you assign an IP address. A MAC address is unique to a networking interface and is hard-coded in at the factory. An IP address is what you are managing when youâÂÂa userâÂÂsets up a system and related devices. And speed is not determined by MAC addresses; itâÂÂs simply a lower-level control item you really donâÂÂt need to think about.
edited Sep 13 at 10:26
answered Sep 7 at 18:28
JakeGould
29.7k1089132
29.7k1089132
add a comment |Â
add a comment |Â
up vote
4
down vote
A MAC address is a hardware identification number that uniquely identifies each device on a network. The MAC address is manufactured into every network card.
Your Raspberry Pi has a MAC address built in from the factory if it has any kind of network card. You can't have a working IP address solution without having a MAC address layer under it. The MAC address is at layer 2 of the OSI model. TCP is at level four, TCP/IP depends and requires MAC to work.
Here is a way to find your MAC address on a Raspberry Pi:
https://raspberrypi.stackexchange.com/questions/71824/how-can-i-find-the-mac-address-of-my-wi-fi-interface
2
While IP depends on a MAC layer, not all MAC layers have a MAC address. In particular point-to-point links don't need one (because there's only one place that MAC frames can go to anyway), and some types don't have one.
â grawity
Sep 8 at 10:09
add a comment |Â
up vote
4
down vote
A MAC address is a hardware identification number that uniquely identifies each device on a network. The MAC address is manufactured into every network card.
Your Raspberry Pi has a MAC address built in from the factory if it has any kind of network card. You can't have a working IP address solution without having a MAC address layer under it. The MAC address is at layer 2 of the OSI model. TCP is at level four, TCP/IP depends and requires MAC to work.
Here is a way to find your MAC address on a Raspberry Pi:
https://raspberrypi.stackexchange.com/questions/71824/how-can-i-find-the-mac-address-of-my-wi-fi-interface
2
While IP depends on a MAC layer, not all MAC layers have a MAC address. In particular point-to-point links don't need one (because there's only one place that MAC frames can go to anyway), and some types don't have one.
â grawity
Sep 8 at 10:09
add a comment |Â
up vote
4
down vote
up vote
4
down vote
A MAC address is a hardware identification number that uniquely identifies each device on a network. The MAC address is manufactured into every network card.
Your Raspberry Pi has a MAC address built in from the factory if it has any kind of network card. You can't have a working IP address solution without having a MAC address layer under it. The MAC address is at layer 2 of the OSI model. TCP is at level four, TCP/IP depends and requires MAC to work.
Here is a way to find your MAC address on a Raspberry Pi:
https://raspberrypi.stackexchange.com/questions/71824/how-can-i-find-the-mac-address-of-my-wi-fi-interface
A MAC address is a hardware identification number that uniquely identifies each device on a network. The MAC address is manufactured into every network card.
Your Raspberry Pi has a MAC address built in from the factory if it has any kind of network card. You can't have a working IP address solution without having a MAC address layer under it. The MAC address is at layer 2 of the OSI model. TCP is at level four, TCP/IP depends and requires MAC to work.
Here is a way to find your MAC address on a Raspberry Pi:
https://raspberrypi.stackexchange.com/questions/71824/how-can-i-find-the-mac-address-of-my-wi-fi-interface
edited Sep 7 at 18:24
JakeGould
29.7k1089132
29.7k1089132
answered Sep 7 at 18:16
essjae
4148
4148
2
While IP depends on a MAC layer, not all MAC layers have a MAC address. In particular point-to-point links don't need one (because there's only one place that MAC frames can go to anyway), and some types don't have one.
â grawity
Sep 8 at 10:09
add a comment |Â
2
While IP depends on a MAC layer, not all MAC layers have a MAC address. In particular point-to-point links don't need one (because there's only one place that MAC frames can go to anyway), and some types don't have one.
â grawity
Sep 8 at 10:09
2
2
While IP depends on a MAC layer, not all MAC layers have a MAC address. In particular point-to-point links don't need one (because there's only one place that MAC frames can go to anyway), and some types don't have one.
â grawity
Sep 8 at 10:09
While IP depends on a MAC layer, not all MAC layers have a MAC address. In particular point-to-point links don't need one (because there's only one place that MAC frames can go to anyway), and some types don't have one.
â grawity
Sep 8 at 10:09
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1356241%2fdo-i-need-mac-addresses-if-im-connecting-raspberry-pi-zeros-together-together-o%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
As the answers noted, if you have an Ethernet port (whether built-in, added on or via USB adapter), you have a factory-assigned MAC address. The only place I have found where you can relatively easily change a MAC address is some routers will let you override the default MAC address for purposes of spoofing a previous router or other device to fool a cable modem, which shouldn't be necessary at all - yet sometimes is.
â manassehkatz
Sep 7 at 20:33
2
@manadsehkatz ThereâÂÂs a lot of software out there that lets you arbitrarily change or spoof a MAC address, too. ItâÂÂs not at all a hard problem.
â HopelessN00b
Sep 7 at 21:53
2
@HopelessN00b I knew people would latch onto âÂÂBut you know you can spoof a MAC address, right?â and such. But for pretty much 99.9% of the usage cases out there utterly nobody knows, cares or âÂÂspoofsâ MAC addresses.
â JakeGould
Sep 7 at 23:08