The machine in the cupboard is called chichek.openlib.org. Chichek has two PCI 10/100 Ethernet interfaces. On chichek, the configuration is
## The interface to the lower card auto eth1 iface eth1 inet static address 192.168.34.1 network 192.168.34.0 netmask 255.255.255.0 broadcast 192.168.34.255 ## The interface to the upper card auto eth2 iface eth2 inet static address 192.168.12.1 network 192.168.12.0 netmask 255.255.255.0 broadcast 192.168.12.255
The cable out of the built-in interface goes to cable modem. It must not be disconnected, otherwise connection to the Internet will be lost.
To obtain connection to the lower interface, you need to give a configuration such as, for a Linux style interfaces file where eth0 is the interface you want to use
auto eth0 iface eth0 inet static address 192.168.34.34 netmask 255.255.255.0 gateway 192.168.34.1 broadcast 192.168.34.255 dns-nameservers 192.168.34.1 dns-search openlib.org
Idem, this is the one for the upper interface
auto eth0 iface eth0 inet static address 192.168.12.12 netmask 255.255.255.0 gateway 192.168.12.1 broadcast 192.168.12.255 dns-nameservers 192.168.12.1 dns-search openlib.org