This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Noob Question

Hello,
I'm trying to get two network devices to at least ping one another on a different subnet.
I have 2 devices

Device 1
IP: 192.168.7.15
MASK: 255.255.255.0
GW: 192.168.7.1

Basic GB switch

Device 2
IP: 192.168.8.25
MASK: 255.255.255.0
GW: 192.168.7.1

Sophos Home UTM 9.

I know they should not be able to communicate through my layer -2 switch but if i assign the same GW which is a layer -3 device shouldn't they communicate?
 
What am i doing wrong? Or what am I not understanding?[:S]
Thank you


This thread was automatically locked due to age.
  • Hey,  you can't assign the same gateway as the .8 network can't contact the .7 so it won't reach the gateway.      

    You will have to set the .8  gateway as whatever IP of the router on that range is, then create static routes between the networks.    

    You will also have to create firewall rules to allow certain traffic between the networks.
  • Ross nailed it.  Here's some background.

    The subnet mask tells the device what is local to it.  If it's looking for an IP within its own subnet, it will broadcast an ARP request, asking the device with that IP to send its MAC address.  The devices will then communicate directly.  If there's no response to the ARP request, the IP is reported as unreachable.

    If, on the other hand, the IP is outside the subnet, the device does no ARP broadcast - it simply sends the packet to the default gateway for it to find a way to deliver to the IP.  Since the default gateway is outside the subnet, the device won't ARP for the correct MAC address, and therefore can't send the packet.

    Check out Default Gateway for more details.

    Cheers - Bob