I have understood that router is a networking device, used to connect multiple subnets. And it does the job of routing the packets from one subnet to another subnet. As depicted in the below topology-
One more thing we can infer is that each port of the router connected to a different subnet.
With this above understanding i am unable to convince myself how does all the devices in the below diagram/topology to exist in the same subnet!?
When i ping PC0 (with IP address 192.168.1.6) from PC1 (with IP addres 192.168.1.2), it succeeds!!
The config page of both the routers also looks different.
Router0 (1941) looks like-
WirelessRouter0 (WRT800N) looks like-
Can someone please help me in getting clarity - How multiple devices connected to the same router to be in the same subnet?
In the first case, i need to configure each interface of the router. Where as in the second case, i didn't have to