Consider two scenarios:
- Scenario 1: Cisco SG200-26 -> 5-port Hub -> Test Machine
- Scenario 2: Cisco SG200-26 -> Test Machine
I have a device 192.168.2.1 connected directly to the Cisco SG200-26 acting as DHCP giving out IP addresses for his own subnet (192.168.2.XXX). I'm trying to set my Test Machine to a static IP on subnet 192.168.1.XXX.
In scenario 1, when I set my Test Machine to DHCP, it successfully receives a 192.168.2.XXX IP but cannot access 192.168.1.XXX subnet at all, and setting it with a static IP 192.168.1.XXX conversely doesn't allow it to route to the 192.168.2.XXX subnet at all.
In scenario 2 however, whether I set my Test machine to DHCP (192.168.2.XXX) or static (192.168.1.XXX), in both cases, both subnets are routable.
What am I missing in scenario 1 to have the static 192.168.1.XXX IP address route properly to the 192.168.2.XXX subnet as well ?