APIPA and LAN Broadcast Domain
I just want to know can a Local Area Network broadcast domain be operated by only relying on APIPA?
networking
New contributor
add a comment |
I just want to know can a Local Area Network broadcast domain be operated by only relying on APIPA?
networking
New contributor
add a comment |
I just want to know can a Local Area Network broadcast domain be operated by only relying on APIPA?
networking
New contributor
I just want to know can a Local Area Network broadcast domain be operated by only relying on APIPA?
networking
networking
New contributor
New contributor
edited 2 days ago
Cown
6,99131031
6,99131031
New contributor
asked 2 days ago
Pooja RajputPooja Rajput
163
163
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Welcome to Network Engineering! If I understand your question, it's "can my network devices communicate on a single LAN using APIPA addresses?
The answer is YES. APIPA addresses are in the 169.254.0.0/16 range, so every device is in the same subnet, and therefore same broadcast domain. If fact, this is exactly what APIPA was created for: to allow hosts to communicate without the need for DHCP, individual addressing, etc.
add a comment |
If the computers are in the same LAN or VLAN, they will be able to communicate with the APIPA-assigned addresses. In fact, that is the reason that the APIPA even exists - to allow computers to communicate in a single LAN without requiring any manual IP configuration in the case DHCP is not available.
The only problem is the name-to-IP resolution. Usually, DNS is used for that but in a single LAN with APIPA addressing, the DNS would not be available. So you would either need to use IP addresses instead of computer names to communicate, or some other dynamic mechanisms would need to be used that allow stations to discover their names and IP addresses dynamically. Traditionally, Windows File and Printer Sharing services have such mechanisms. Other network services may not support it so it strongly depends on the kind of service you would like to use in an APIPA-addressed network whether you could use names or IP addresses when speaking to a different computer.
Please note that a switch never learns MAC addresses of connected stations into its MAC address table using ARP. This is a common misconception. A switch learns MAC addresses simply by observing the frames flowing through it. Click here
1
The mechanism for name resolution would be mDNS (Multicast-DNS) which is essentially the same as DNS except that Queries are sent to a Multicast Group instead of to a single host, and every member of that group is allowed to respond. APIPA, mDNS, and DNS-SD (for Service Discovery using DNS and thus also mDNS) together are also sometimes called "Zeroconf", or after Apple's implementation of those protocols "Bonjour". A Linux implementation (which also works on most BSDs) is Avahi.
– Jörg W Mittag
2 days ago
Perhaps it would be a better answer without the last paragraph about MAC addresses and switches, which doesn't seem to be much to do with the question.
– jonathanjo
2 days ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "496"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Pooja Rajput is a new contributor. Be nice, and check out our Code of Conduct.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f58368%2fapipa-and-lan-broadcast-domain%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Welcome to Network Engineering! If I understand your question, it's "can my network devices communicate on a single LAN using APIPA addresses?
The answer is YES. APIPA addresses are in the 169.254.0.0/16 range, so every device is in the same subnet, and therefore same broadcast domain. If fact, this is exactly what APIPA was created for: to allow hosts to communicate without the need for DHCP, individual addressing, etc.
add a comment |
Welcome to Network Engineering! If I understand your question, it's "can my network devices communicate on a single LAN using APIPA addresses?
The answer is YES. APIPA addresses are in the 169.254.0.0/16 range, so every device is in the same subnet, and therefore same broadcast domain. If fact, this is exactly what APIPA was created for: to allow hosts to communicate without the need for DHCP, individual addressing, etc.
add a comment |
Welcome to Network Engineering! If I understand your question, it's "can my network devices communicate on a single LAN using APIPA addresses?
The answer is YES. APIPA addresses are in the 169.254.0.0/16 range, so every device is in the same subnet, and therefore same broadcast domain. If fact, this is exactly what APIPA was created for: to allow hosts to communicate without the need for DHCP, individual addressing, etc.
Welcome to Network Engineering! If I understand your question, it's "can my network devices communicate on a single LAN using APIPA addresses?
The answer is YES. APIPA addresses are in the 169.254.0.0/16 range, so every device is in the same subnet, and therefore same broadcast domain. If fact, this is exactly what APIPA was created for: to allow hosts to communicate without the need for DHCP, individual addressing, etc.
answered 2 days ago
Ron TrunkRon Trunk
39.8k33781
39.8k33781
add a comment |
add a comment |
If the computers are in the same LAN or VLAN, they will be able to communicate with the APIPA-assigned addresses. In fact, that is the reason that the APIPA even exists - to allow computers to communicate in a single LAN without requiring any manual IP configuration in the case DHCP is not available.
The only problem is the name-to-IP resolution. Usually, DNS is used for that but in a single LAN with APIPA addressing, the DNS would not be available. So you would either need to use IP addresses instead of computer names to communicate, or some other dynamic mechanisms would need to be used that allow stations to discover their names and IP addresses dynamically. Traditionally, Windows File and Printer Sharing services have such mechanisms. Other network services may not support it so it strongly depends on the kind of service you would like to use in an APIPA-addressed network whether you could use names or IP addresses when speaking to a different computer.
Please note that a switch never learns MAC addresses of connected stations into its MAC address table using ARP. This is a common misconception. A switch learns MAC addresses simply by observing the frames flowing through it. Click here
1
The mechanism for name resolution would be mDNS (Multicast-DNS) which is essentially the same as DNS except that Queries are sent to a Multicast Group instead of to a single host, and every member of that group is allowed to respond. APIPA, mDNS, and DNS-SD (for Service Discovery using DNS and thus also mDNS) together are also sometimes called "Zeroconf", or after Apple's implementation of those protocols "Bonjour". A Linux implementation (which also works on most BSDs) is Avahi.
– Jörg W Mittag
2 days ago
Perhaps it would be a better answer without the last paragraph about MAC addresses and switches, which doesn't seem to be much to do with the question.
– jonathanjo
2 days ago
add a comment |
If the computers are in the same LAN or VLAN, they will be able to communicate with the APIPA-assigned addresses. In fact, that is the reason that the APIPA even exists - to allow computers to communicate in a single LAN without requiring any manual IP configuration in the case DHCP is not available.
The only problem is the name-to-IP resolution. Usually, DNS is used for that but in a single LAN with APIPA addressing, the DNS would not be available. So you would either need to use IP addresses instead of computer names to communicate, or some other dynamic mechanisms would need to be used that allow stations to discover their names and IP addresses dynamically. Traditionally, Windows File and Printer Sharing services have such mechanisms. Other network services may not support it so it strongly depends on the kind of service you would like to use in an APIPA-addressed network whether you could use names or IP addresses when speaking to a different computer.
Please note that a switch never learns MAC addresses of connected stations into its MAC address table using ARP. This is a common misconception. A switch learns MAC addresses simply by observing the frames flowing through it. Click here
1
The mechanism for name resolution would be mDNS (Multicast-DNS) which is essentially the same as DNS except that Queries are sent to a Multicast Group instead of to a single host, and every member of that group is allowed to respond. APIPA, mDNS, and DNS-SD (for Service Discovery using DNS and thus also mDNS) together are also sometimes called "Zeroconf", or after Apple's implementation of those protocols "Bonjour". A Linux implementation (which also works on most BSDs) is Avahi.
– Jörg W Mittag
2 days ago
Perhaps it would be a better answer without the last paragraph about MAC addresses and switches, which doesn't seem to be much to do with the question.
– jonathanjo
2 days ago
add a comment |
If the computers are in the same LAN or VLAN, they will be able to communicate with the APIPA-assigned addresses. In fact, that is the reason that the APIPA even exists - to allow computers to communicate in a single LAN without requiring any manual IP configuration in the case DHCP is not available.
The only problem is the name-to-IP resolution. Usually, DNS is used for that but in a single LAN with APIPA addressing, the DNS would not be available. So you would either need to use IP addresses instead of computer names to communicate, or some other dynamic mechanisms would need to be used that allow stations to discover their names and IP addresses dynamically. Traditionally, Windows File and Printer Sharing services have such mechanisms. Other network services may not support it so it strongly depends on the kind of service you would like to use in an APIPA-addressed network whether you could use names or IP addresses when speaking to a different computer.
Please note that a switch never learns MAC addresses of connected stations into its MAC address table using ARP. This is a common misconception. A switch learns MAC addresses simply by observing the frames flowing through it. Click here
If the computers are in the same LAN or VLAN, they will be able to communicate with the APIPA-assigned addresses. In fact, that is the reason that the APIPA even exists - to allow computers to communicate in a single LAN without requiring any manual IP configuration in the case DHCP is not available.
The only problem is the name-to-IP resolution. Usually, DNS is used for that but in a single LAN with APIPA addressing, the DNS would not be available. So you would either need to use IP addresses instead of computer names to communicate, or some other dynamic mechanisms would need to be used that allow stations to discover their names and IP addresses dynamically. Traditionally, Windows File and Printer Sharing services have such mechanisms. Other network services may not support it so it strongly depends on the kind of service you would like to use in an APIPA-addressed network whether you could use names or IP addresses when speaking to a different computer.
Please note that a switch never learns MAC addresses of connected stations into its MAC address table using ARP. This is a common misconception. A switch learns MAC addresses simply by observing the frames flowing through it. Click here
answered 2 days ago
serverAdmin123serverAdmin123
3397
3397
1
The mechanism for name resolution would be mDNS (Multicast-DNS) which is essentially the same as DNS except that Queries are sent to a Multicast Group instead of to a single host, and every member of that group is allowed to respond. APIPA, mDNS, and DNS-SD (for Service Discovery using DNS and thus also mDNS) together are also sometimes called "Zeroconf", or after Apple's implementation of those protocols "Bonjour". A Linux implementation (which also works on most BSDs) is Avahi.
– Jörg W Mittag
2 days ago
Perhaps it would be a better answer without the last paragraph about MAC addresses and switches, which doesn't seem to be much to do with the question.
– jonathanjo
2 days ago
add a comment |
1
The mechanism for name resolution would be mDNS (Multicast-DNS) which is essentially the same as DNS except that Queries are sent to a Multicast Group instead of to a single host, and every member of that group is allowed to respond. APIPA, mDNS, and DNS-SD (for Service Discovery using DNS and thus also mDNS) together are also sometimes called "Zeroconf", or after Apple's implementation of those protocols "Bonjour". A Linux implementation (which also works on most BSDs) is Avahi.
– Jörg W Mittag
2 days ago
Perhaps it would be a better answer without the last paragraph about MAC addresses and switches, which doesn't seem to be much to do with the question.
– jonathanjo
2 days ago
1
1
The mechanism for name resolution would be mDNS (Multicast-DNS) which is essentially the same as DNS except that Queries are sent to a Multicast Group instead of to a single host, and every member of that group is allowed to respond. APIPA, mDNS, and DNS-SD (for Service Discovery using DNS and thus also mDNS) together are also sometimes called "Zeroconf", or after Apple's implementation of those protocols "Bonjour". A Linux implementation (which also works on most BSDs) is Avahi.
– Jörg W Mittag
2 days ago
The mechanism for name resolution would be mDNS (Multicast-DNS) which is essentially the same as DNS except that Queries are sent to a Multicast Group instead of to a single host, and every member of that group is allowed to respond. APIPA, mDNS, and DNS-SD (for Service Discovery using DNS and thus also mDNS) together are also sometimes called "Zeroconf", or after Apple's implementation of those protocols "Bonjour". A Linux implementation (which also works on most BSDs) is Avahi.
– Jörg W Mittag
2 days ago
Perhaps it would be a better answer without the last paragraph about MAC addresses and switches, which doesn't seem to be much to do with the question.
– jonathanjo
2 days ago
Perhaps it would be a better answer without the last paragraph about MAC addresses and switches, which doesn't seem to be much to do with the question.
– jonathanjo
2 days ago
add a comment |
Pooja Rajput is a new contributor. Be nice, and check out our Code of Conduct.
Pooja Rajput is a new contributor. Be nice, and check out our Code of Conduct.
Pooja Rajput is a new contributor. Be nice, and check out our Code of Conduct.
Pooja Rajput is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Network Engineering Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f58368%2fapipa-and-lan-broadcast-domain%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown