Is "gateway" a concept between two or more networks or a concept belonging to just one network?
When a device is connected to two networks, if it is listed as gateway in the routing tables of the hosts in one network, must it be not listed as gateway in the routing tables of the hosts in the other network?
Does a gateway device always have to be connected to a network where it is not a gateway? (So that the default routing table entry can route traffic to the network?)
Can a device be the gateway for each of the networks that it is connected to? If yes, is it correct that:
the default entry in its routing table will route to a network where it is a gateway?
the default routing entries in the hosts in that network route traffics back to the gateway?
when the gateway receives a packet with destination not in any network that it is connected to, there will be an infinite-loop of routing between the network and the gateway ?