imagnl
asked on
Combining two subnets
I have two locations. One is a 192.168.1.0 network and one is a 192.168.2.0 network. I am putting a line inbetween the two networks and I want them to be able to talk. I am not routing, just a simple switch.
I was under the impression that all i need to do is change the subnet mask in both ranges to 255.255.253.0. Is this correct?
I was under the impression that all i need to do is change the subnet mask in both ranges to 255.255.253.0. Is this correct?
Actually, the mask would need to be 255.255.252.0 at a minimum. Is the line between locations an ethernet line? If so, this should work. If a T1, there is more to it.
ASKER
it is a Metro-E line,
Okay, should work then. You just need to change the subnet mask on every device.
Assuming there are no routers involved, as you stated, make sure each computer has the same subnet mask and you can use either of the options below:
Option1: Subnet of 255.255.252.0 and this will give you a complete range of 192.168.0.1 through 192.168.3.254.
Option 2: Subnet of 255.255.254.0 and this will give you a complete range of 192.168.0.1 through 192.168.1.254 ... OR ... 192.168.2.1 through 192.168.3.254.
Since you span 192.168.1.xxx and 192.168.2.xxx, you can use option 1 or change one of the network subnets, depending on security.
Option1: Subnet of 255.255.252.0 and this will give you a complete range of 192.168.0.1 through 192.168.3.254.
Option 2: Subnet of 255.255.254.0 and this will give you a complete range of 192.168.0.1 through 192.168.1.254 ... OR ... 192.168.2.1 through 192.168.3.254.
Since you span 192.168.1.xxx and 192.168.2.xxx, you can use option 1 or change one of the network subnets, depending on security.
ASKER
I dont want to include 3 though. Can I use 253 if I just want 0, 1 and 2?
Nope, 255.255.253.0 is not a valid mask. It isn't a big deal if you aren't using 3. In fact, it is there for future use if you need it.
ASKER
It is a big deal because I have another facility that we route to that is .3
Okay, you didn't mention that.
Well, it may be simplest then to route between metro-e locations. Otherwise, you will need to address one side and use a 255.255.254.0 mask. 192.168.0.0 and 192.168.1.0.
Well, it may be simplest then to route between metro-e locations. Otherwise, you will need to address one side and use a 255.255.254.0 mask. 192.168.0.0 and 192.168.1.0.
ASKER
What about going with 255.255.0.0?
That just makes it bigger. 255.255.254.0 is the only one you can use unfortunately or keep two seperate 255.255.255.0's and route.
255.255.0.0 is 192.168.0.0 - 192.168.255.254
255.255.0.0 is 192.168.0.0 - 192.168.255.254
Since you don't want 192.168.3.xxx, you're only option is subnet mask 255.255.254.0 and change your 192.168.2.xxx subnet to 192.168.0.xxx, leaving the 192.168.1.xxx alone (option 2 in my original post).
Good luck!
Good luck!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.