I have a Linux machine with
eth0 for my router-modem and I want to add a second interface
eth1 to connect to my Apple LaserWriter printer.
Everything is on
- My address IP is
- My router (
default gw) IP is
- My printer IP is
What should I do to route traffic to the printer. Is adding a static route all there is to it?
Would this work?
route add -host 192.168.1.100 netmask 255.255.255.0 dev eth1
What about determining the correct netmask if the above one is wrong?