MikroTik Layer-3 communication between 2 hosts
up vote
1
down vote
favorite
Test question - mikrotik
In MikroTik RouterOS, Layer-3 communication between 2 hosts can be achieved by using an address subnet. Which one of those "/29" "/30" "/31" "/32"?
Why?
I understand subnetting such as "x.x.x.x/n"(CIDR not. ..) but i don't understand what is it asking me for.. i mean you can connect 2 hosts even with /24, but on the internet you have to change it because of the bigger network, so, bigger networkID and that kind of stuff (at least this is what i've understood)... still can't get the difference between using /29,30,32 ... when should i use those, and why. I'd really appreciate an "in-dept" explanation.
networking connection subnet hosts mikrotik-routeros
add a comment |
up vote
1
down vote
favorite
Test question - mikrotik
In MikroTik RouterOS, Layer-3 communication between 2 hosts can be achieved by using an address subnet. Which one of those "/29" "/30" "/31" "/32"?
Why?
I understand subnetting such as "x.x.x.x/n"(CIDR not. ..) but i don't understand what is it asking me for.. i mean you can connect 2 hosts even with /24, but on the internet you have to change it because of the bigger network, so, bigger networkID and that kind of stuff (at least this is what i've understood)... still can't get the difference between using /29,30,32 ... when should i use those, and why. I'd really appreciate an "in-dept" explanation.
networking connection subnet hosts mikrotik-routeros
We could use more context, but I can gues that they are taling about a point to point connection. And a /32 will do for that. (no need for broadcast or net address in a 2 host link).
– Hennes
Jan 18 '17 at 15:10
actually the right answers are : /29,/30, /32, because of multibox selection, so yeah, /32 is right but why /29, /30 then? D:
– Rafael SoWhat
Jan 18 '17 at 15:17
Well, with /31 you could use 2 IPs and Network ID and broadcast. And anything bigger will also work but waste more IPs. Depending on the exam question that is either a waste and thus wrong (even though it will work), or it is preparing for the future but allocating slightly more than needed.
– Hennes
Jan 18 '17 at 15:20
with this "thinking", i can presume that /31 should work, yes it would waste IPs, but the question asks which one is correct between "/29,30,31,32"... but if you answer /31 it logs the answer as error. Can't figure out why >:(
– Rafael SoWhat
Jan 18 '17 at 15:26
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Test question - mikrotik
In MikroTik RouterOS, Layer-3 communication between 2 hosts can be achieved by using an address subnet. Which one of those "/29" "/30" "/31" "/32"?
Why?
I understand subnetting such as "x.x.x.x/n"(CIDR not. ..) but i don't understand what is it asking me for.. i mean you can connect 2 hosts even with /24, but on the internet you have to change it because of the bigger network, so, bigger networkID and that kind of stuff (at least this is what i've understood)... still can't get the difference between using /29,30,32 ... when should i use those, and why. I'd really appreciate an "in-dept" explanation.
networking connection subnet hosts mikrotik-routeros
Test question - mikrotik
In MikroTik RouterOS, Layer-3 communication between 2 hosts can be achieved by using an address subnet. Which one of those "/29" "/30" "/31" "/32"?
Why?
I understand subnetting such as "x.x.x.x/n"(CIDR not. ..) but i don't understand what is it asking me for.. i mean you can connect 2 hosts even with /24, but on the internet you have to change it because of the bigger network, so, bigger networkID and that kind of stuff (at least this is what i've understood)... still can't get the difference between using /29,30,32 ... when should i use those, and why. I'd really appreciate an "in-dept" explanation.
networking connection subnet hosts mikrotik-routeros
networking connection subnet hosts mikrotik-routeros
edited Oct 2 at 4:19
fixer1234
17.6k144481
17.6k144481
asked Jan 18 '17 at 15:06
Rafael SoWhat
613
613
We could use more context, but I can gues that they are taling about a point to point connection. And a /32 will do for that. (no need for broadcast or net address in a 2 host link).
– Hennes
Jan 18 '17 at 15:10
actually the right answers are : /29,/30, /32, because of multibox selection, so yeah, /32 is right but why /29, /30 then? D:
– Rafael SoWhat
Jan 18 '17 at 15:17
Well, with /31 you could use 2 IPs and Network ID and broadcast. And anything bigger will also work but waste more IPs. Depending on the exam question that is either a waste and thus wrong (even though it will work), or it is preparing for the future but allocating slightly more than needed.
– Hennes
Jan 18 '17 at 15:20
with this "thinking", i can presume that /31 should work, yes it would waste IPs, but the question asks which one is correct between "/29,30,31,32"... but if you answer /31 it logs the answer as error. Can't figure out why >:(
– Rafael SoWhat
Jan 18 '17 at 15:26
add a comment |
We could use more context, but I can gues that they are taling about a point to point connection. And a /32 will do for that. (no need for broadcast or net address in a 2 host link).
– Hennes
Jan 18 '17 at 15:10
actually the right answers are : /29,/30, /32, because of multibox selection, so yeah, /32 is right but why /29, /30 then? D:
– Rafael SoWhat
Jan 18 '17 at 15:17
Well, with /31 you could use 2 IPs and Network ID and broadcast. And anything bigger will also work but waste more IPs. Depending on the exam question that is either a waste and thus wrong (even though it will work), or it is preparing for the future but allocating slightly more than needed.
– Hennes
Jan 18 '17 at 15:20
with this "thinking", i can presume that /31 should work, yes it would waste IPs, but the question asks which one is correct between "/29,30,31,32"... but if you answer /31 it logs the answer as error. Can't figure out why >:(
– Rafael SoWhat
Jan 18 '17 at 15:26
We could use more context, but I can gues that they are taling about a point to point connection. And a /32 will do for that. (no need for broadcast or net address in a 2 host link).
– Hennes
Jan 18 '17 at 15:10
We could use more context, but I can gues that they are taling about a point to point connection. And a /32 will do for that. (no need for broadcast or net address in a 2 host link).
– Hennes
Jan 18 '17 at 15:10
actually the right answers are : /29,/30, /32, because of multibox selection, so yeah, /32 is right but why /29, /30 then? D:
– Rafael SoWhat
Jan 18 '17 at 15:17
actually the right answers are : /29,/30, /32, because of multibox selection, so yeah, /32 is right but why /29, /30 then? D:
– Rafael SoWhat
Jan 18 '17 at 15:17
Well, with /31 you could use 2 IPs and Network ID and broadcast. And anything bigger will also work but waste more IPs. Depending on the exam question that is either a waste and thus wrong (even though it will work), or it is preparing for the future but allocating slightly more than needed.
– Hennes
Jan 18 '17 at 15:20
Well, with /31 you could use 2 IPs and Network ID and broadcast. And anything bigger will also work but waste more IPs. Depending on the exam question that is either a waste and thus wrong (even though it will work), or it is preparing for the future but allocating slightly more than needed.
– Hennes
Jan 18 '17 at 15:20
with this "thinking", i can presume that /31 should work, yes it would waste IPs, but the question asks which one is correct between "/29,30,31,32"... but if you answer /31 it logs the answer as error. Can't figure out why >:(
– Rafael SoWhat
Jan 18 '17 at 15:26
with this "thinking", i can presume that /31 should work, yes it would waste IPs, but the question asks which one is correct between "/29,30,31,32"... but if you answer /31 it logs the answer as error. Can't figure out why >:(
– Rafael SoWhat
Jan 18 '17 at 15:26
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
/31 is a special case and only should be used for Point to Point and has its own RFC 3021. It is a little unclear but it might because the test did not specify that this is Point to Point but rather just a network with only two hosts.
A /30 will give you two usable hosts with one broadcast and one network ID. I am unaware of when you would not need a broadcast and network ID. however you usually also have a gateway which takes away from one of the usable hosts but it is still considered two usable hosts
add a comment |
up vote
0
down vote
I actually tested the /32 option and it does not work:
[admin@OB1] > ip addr pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 102.168.88.11/32 102.168.88.11 ether4
[admin@OB2] > ip addr pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.88.10/32 192.168.88.10 ether4
[admin@OB2] > ping 192.168.88.11
SEQ HOST SIZE TTL TIME STATUS
0 no route to host
1 no route to host
2 no route to host
sent=3 received=0 packet-loss=100%
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2fsuperuser.com%2fquestions%2f1168827%2fmikrotik-layer-3-communication-between-2-hosts%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
up vote
0
down vote
/31 is a special case and only should be used for Point to Point and has its own RFC 3021. It is a little unclear but it might because the test did not specify that this is Point to Point but rather just a network with only two hosts.
A /30 will give you two usable hosts with one broadcast and one network ID. I am unaware of when you would not need a broadcast and network ID. however you usually also have a gateway which takes away from one of the usable hosts but it is still considered two usable hosts
add a comment |
up vote
0
down vote
/31 is a special case and only should be used for Point to Point and has its own RFC 3021. It is a little unclear but it might because the test did not specify that this is Point to Point but rather just a network with only two hosts.
A /30 will give you two usable hosts with one broadcast and one network ID. I am unaware of when you would not need a broadcast and network ID. however you usually also have a gateway which takes away from one of the usable hosts but it is still considered two usable hosts
add a comment |
up vote
0
down vote
up vote
0
down vote
/31 is a special case and only should be used for Point to Point and has its own RFC 3021. It is a little unclear but it might because the test did not specify that this is Point to Point but rather just a network with only two hosts.
A /30 will give you two usable hosts with one broadcast and one network ID. I am unaware of when you would not need a broadcast and network ID. however you usually also have a gateway which takes away from one of the usable hosts but it is still considered two usable hosts
/31 is a special case and only should be used for Point to Point and has its own RFC 3021. It is a little unclear but it might because the test did not specify that this is Point to Point but rather just a network with only two hosts.
A /30 will give you two usable hosts with one broadcast and one network ID. I am unaware of when you would not need a broadcast and network ID. however you usually also have a gateway which takes away from one of the usable hosts but it is still considered two usable hosts
edited Jan 19 '17 at 19:43
answered Jan 19 '17 at 18:59
Sc00T
1898
1898
add a comment |
add a comment |
up vote
0
down vote
I actually tested the /32 option and it does not work:
[admin@OB1] > ip addr pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 102.168.88.11/32 102.168.88.11 ether4
[admin@OB2] > ip addr pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.88.10/32 192.168.88.10 ether4
[admin@OB2] > ping 192.168.88.11
SEQ HOST SIZE TTL TIME STATUS
0 no route to host
1 no route to host
2 no route to host
sent=3 received=0 packet-loss=100%
add a comment |
up vote
0
down vote
I actually tested the /32 option and it does not work:
[admin@OB1] > ip addr pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 102.168.88.11/32 102.168.88.11 ether4
[admin@OB2] > ip addr pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.88.10/32 192.168.88.10 ether4
[admin@OB2] > ping 192.168.88.11
SEQ HOST SIZE TTL TIME STATUS
0 no route to host
1 no route to host
2 no route to host
sent=3 received=0 packet-loss=100%
add a comment |
up vote
0
down vote
up vote
0
down vote
I actually tested the /32 option and it does not work:
[admin@OB1] > ip addr pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 102.168.88.11/32 102.168.88.11 ether4
[admin@OB2] > ip addr pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.88.10/32 192.168.88.10 ether4
[admin@OB2] > ping 192.168.88.11
SEQ HOST SIZE TTL TIME STATUS
0 no route to host
1 no route to host
2 no route to host
sent=3 received=0 packet-loss=100%
I actually tested the /32 option and it does not work:
[admin@OB1] > ip addr pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 102.168.88.11/32 102.168.88.11 ether4
[admin@OB2] > ip addr pr
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 192.168.88.10/32 192.168.88.10 ether4
[admin@OB2] > ping 192.168.88.11
SEQ HOST SIZE TTL TIME STATUS
0 no route to host
1 no route to host
2 no route to host
sent=3 received=0 packet-loss=100%
answered May 26 at 9:05
Diarmuid O'Briain
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2fsuperuser.com%2fquestions%2f1168827%2fmikrotik-layer-3-communication-between-2-hosts%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
We could use more context, but I can gues that they are taling about a point to point connection. And a /32 will do for that. (no need for broadcast or net address in a 2 host link).
– Hennes
Jan 18 '17 at 15:10
actually the right answers are : /29,/30, /32, because of multibox selection, so yeah, /32 is right but why /29, /30 then? D:
– Rafael SoWhat
Jan 18 '17 at 15:17
Well, with /31 you could use 2 IPs and Network ID and broadcast. And anything bigger will also work but waste more IPs. Depending on the exam question that is either a waste and thus wrong (even though it will work), or it is preparing for the future but allocating slightly more than needed.
– Hennes
Jan 18 '17 at 15:20
with this "thinking", i can presume that /31 should work, yes it would waste IPs, but the question asks which one is correct between "/29,30,31,32"... but if you answer /31 it logs the answer as error. Can't figure out why >:(
– Rafael SoWhat
Jan 18 '17 at 15:26