How can I access two different subnets?

How can I access two different subnets?

How to Connect Computers That Are on 2 Different Subnets

  1. Connect the computers to the network.
  2. Connect the routers to each other.
  3. Enable a routing protocol in each subnet’s router.
  4. Allow time for the routing tables to update.

Is subnet mask same as IP address?

Subnet mask divides the IP address into a network address and host address, hence to identify which part of IP address is reserved for the network and which part is available for host use. Once given the IP address and its subnet mask, the network address (subnet) of a host can be determined.

How do you tell if an IP is part of a subnet?

To calculate the Network ID of a subnet, take an IP address within the subnet and run the AND operator (on a calculator) on the subnet mask. Using a calculator to find the Network ID is the easy way as you do not have to convert it into binary form. Once the Network ID is found, calculating the Broadcast ID is easy.

Can you have 2 IP addresses?

Yes you can have more than one IP address when using a single Network Card. Setting this up is different in each Operating System, but may involve creating a new Network Interface. This can look like a unique connection but will be using the same Network Card behind the scenes.

Can a switch communicate with a subnet mask?

As I pointed out in my first post, the subnet mask for switch B is definitely not right. However, you can communicate between subnets with different subnet masks. You just have to have a router with network interfaces on each of those subnets to handle the traffic.

How does ARP work with different subnet masks?

ARP requests do not include any data about subnet masks, so there is no way for Host B (or A) to know that the other host has a different subnet mask at this point. Host A now has Host B’s MAC address, and will send a layer 2 frame with her MAC address as the source and his MAC as the destination, which the switch will happily pass along.

Why are two hosts with different subnets on Cisco Layer 2 switch?

There’s no router, just the two devices and a switch. From my understanding they should not see each other. The OS should not even send the ARP request when the unknown IP is in a different subnet. Could this be a caching issue? Many Cisco Layer 2 switches are capable to ping the connected systems.

How to communicate between different subnets with IP address?

In the provided example, although misconfiguration the Network portion of ip A, B and C matches. This would break down if i chose in the same subnets different IP’s, they would not be able to ping each other with out the assistance of a L3/Router to route between the subnets.