Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Networks vs Subnetworks

Can a computer with an IP address of class C like 192.168.0.1 and subnet mask 255.255.255.0 communicate and share resources with another computer having the IP 192.168.1.1 and the same subnet mask 255.255.255.0 ? I'm asking this because the first 3 octets in this case tell us that these IPs are running on different networks (network 192.168.0.0 and network 192.168.1.0). Also, does "network" mean the same thing as "subnetwork" (or "subnet") in this context? Thank you!

like image 242
user2119805 Avatar asked Jul 31 '13 01:07

user2119805


People also ask

Can networks interconnect with other subnetworks?

NETWORKING BASICS: TWO SUBNETS CANNOT TALK TO EACH OTHER UNLESS THEY'RE BOTH CONNECTED TO A ROUTER (OR A DEVICE HAVING ROUTING FUNCTIONALITIES, E.G. A LAYER 3 SWITCH). ONLY ROUTERS CONNECT TWO DIFFERENT SUBNETS, SWITCHES DON'T.

What is the difference between VLAN and network segmentation?

At a high level, subnets and VLANs are analogous in that they both deal with segmenting or partitioning a portion of the network. However, VLANs are data link layer (OSI layer 2) constructs, while subnets are network layer (OSI layer 3) IP constructs, and they address (no pun intended) different issues on a network.

Is network mask and subnet mask the same?

Netmask and subnet mask are often used as if they're the same thing, but subnet masks are mostly used in network configurations, while netmasks often refer to classes of IP addresses. They're used to define a range of IP addresses that an ISP or other organization can use.

What is difference between subnet and Supernet?

Subnetting is the procedure to divide the network into sub-networks. While supernetting is the procedure of combine the small networks.


1 Answers

Yes and no:

Yes: Those two computers can communicate, if there is a (properly set up) router in between and both sides have knowledge of it.

No: Those two computers can not communicate, if simply wired to the same dumb switch.

Rule of thumb: IP & SNM must be identical for all participants to allow direct communication.

like image 77
Eugen Rieck Avatar answered Oct 05 '22 16:10

Eugen Rieck