Can one router interface have two networks / subnets?
Posted on 2002-04-23
Would like to ask you guys,
is it possible to have two networks / subnets on one switch / hub connected to ONLY ONE router interface (eth0)?
The router would have routing entries for both networks / subnets.
The example is as below:
(Network A) PC --|
|--- X (Router C) -- WAN -- X --- Net
(Network B) PC --|
Network A and B will need to talk to each other, as well
as outgoing to the WAN. Would the router have two IPs (1 from Network A, and 1 from Network B) for the one interface ? As I understand, normally there is only one network connected to one interface so I am wondering if more than 1 network/subnet can be put per interface.
Please advice if this can be done and why..