I'm quite new to Linux networking.
I have a Debian PC with two Ethernet interfaces, one embedded on the motherboard and another on a PCI card. The first one, let say
eth0 is connected to my router (which is connected to Inet). I want to "link"
eth0, in order to access my router (and Inet) when I plug a cable in
eth1. The same way the
eth0 cable is connected to one of my router's Ethernet ports.
The Debian PC should also be able to access Inet and LAN, and thus not simply behave as a "virtual link" between the cable plugged in
eth0 (coming from my router) and the cable plugged in
eth1 (going to another PC).
Is this achievable? How?