Help subnetting
WingedTek
Member Posts: 36 ■■□□□□□□□□
in CCNA & CCENT
Hello guys!
I have kind of an odd problem at one of my setups....well its more of a simple question. Will I be able to talk to two different subnets (devices on either side) if one device is set to 192.168.1.100 with a mask of 255.255.255.128 and ones set to 192.168.1.1 with a mask of 255.255.255.0. I would need to have computers from either addresses to talk to each other....
I have kind of an odd problem at one of my setups....well its more of a simple question. Will I be able to talk to two different subnets (devices on either side) if one device is set to 192.168.1.100 with a mask of 255.255.255.128 and ones set to 192.168.1.1 with a mask of 255.255.255.0. I would need to have computers from either addresses to talk to each other....
Comments
-
Netstudent Member Posts: 1,693 ■■■□□□□□□□No because those ranges overlap.
You got one range that that goes from 192.168.1.1 - 192.168.1.126
the other range is 192.168.1.1 - 192.168.1.254
so that would not be good.There is no place like 127.0.0.1 BUT 209.62.5.3 is my 127.0.0.1 away from 127.0.0.1! -
dtlokee Member Posts: 2,378 ■■■■□□□□□□Looks like you need to re-address the network or use NAT (being the more complex solution). The host addresses you have provided would be on the same network/subnet and therefore won't attempt to transmit to the router.The only easy day was yesterday!
-
WingedTek Member Posts: 36 ■■□□□□□□□□Would I get conflicts if I had those overlaping yet with those different subnets? They shouldn't even see each out correct?
so what if I make one router as 192.168.2.x 255.255.255.0 and the other 192.168.1.x 255.255.255.128 -
jediknight Member Posts: 113WingedTek wrote:Would I get conflicts if I had those overlaping yet with those different subnets? They shouldn't even see each out correct?
As mentioned, if you have overlapping addresses it simply would not work. Your hosts would never attempt to send traffic to the router as it would "think" the destination host is on the local subnet. Recall ANDing and this will become very clear.WingedTek wrote:so what if I make one router as 192.168.2.x 255.255.255.0 and the other 192.168.1.x 255.255.255.128
This would work as now you have different non-overlapping subnets. Although it's worth mentioning you could use your 192.168.1.x/25 subnet since it already creates 2 subnets if you only need 126 hosts on each subnet; 192.168.1.1-126 and 192.168.1.129-254 -
WingedTek Member Posts: 36 ■■□□□□□□□□jediknight wrote:WingedTek wrote:Would I get conflicts if I had those overlaping yet with those different subnets? They shouldn't even see each out correct?
As mentioned, if you have overlapping addresses it simply would not work. Your hosts would never attempt to send traffic to the router as it would "think" the destination host is on the local subnet. Recall ANDing and this will become very clear.WingedTek wrote:so what if I make one router as 192.168.2.x 255.255.255.0 and the other 192.168.1.x 255.255.255.128
This would work as now you have different non-overlapping subnets. Although it's worth mentioning you could use your 192.168.1.x/25 subnet since it already creates 2 subnets if you only need 126 hosts on each subnet; 192.168.1.1-126 and 192.168.1.129-254
Well I dont really need to logically seperate the networks only so that they can both talk to each other. Would I be able to use the 255.255.255.0 mask for both addressings? -
Netstudent Member Posts: 1,693 ■■■□□□□□□□to be honest man, you need to learn subnetting. It seems like you don;t even have the basics. YOu must at least have basic subnetting down before you start playing with routers or even a SIM. Pretty much everything that has to do with cisco networking involves ip routing and subnetting. That should be the very first thing you learn and become good at.There is no place like 127.0.0.1 BUT 209.62.5.3 is my 127.0.0.1 away from 127.0.0.1!
-
jediknight Member Posts: 113WingedTek wrote:Well I dont really need to logically seperate the networks only so that they can both talk to each other. Would I be able to use the 255.255.255.0 mask for both addressings?
Yes you could as long as you were using different subnets: 192.168.1.x and 192.168.2.x would work fine with a 255.255.255.0 mask. -
jediknight Member Posts: 113Netstudent wrote:to be honest man, you need to learn subnetting. It seems like you don;t even have the basics. YOu must at least have basic subnetting down before you start playing with routers or even a SIM. Pretty much everything that has to do with cisco networking involves ip routing and subnetting. That should be the very first thing you learn and become good at.
I have to agree 100% with this. By the time you start configuring ip routing, you should have a pretty good understanding of ip addressing/subnetting. You don't want to be in the middle of trying to setup a lab and have to not only deal with learning/applying your new learned concepts, but also deal with ip addressing/subnetting.
This is a great site with many well educated people who can help you master the concepts if you ever need help. -
WingedTek Member Posts: 36 ■■□□□□□□□□Its not that I don't know my basics its more I'm re learning since I don't apply it at a everyday basis since I work as a Technical Manager I dont get to much experience in it. I will be picking it back up in the next week no problem since I need to get ready for my CCNA training.
-
Netstudent Member Posts: 1,693 ■■■□□□□□□□well good luck with it. We are here to help, so ask as many questions as you need.There is no place like 127.0.0.1 BUT 209.62.5.3 is my 127.0.0.1 away from 127.0.0.1!
-
WingedTek Member Posts: 36 ■■□□□□□□□□Netstudent wrote:well good luck with it. We are here to help, so ask as many questions as you need.
Thanks mate!