On Tue, 2007-12-11 at 16:04 -0600, Grant Taylor wrote: > On 12/11/07 15:24, Jack Lauman wrote: > > I have a multihomed linux box set up as follows: > > > > eth0: 192.168.100.1 > > eth1: 192.168.1.1 > > > > I need to be able to print from a workstation at 192.168.100.2 to a > > Xerox workstation at 192.168.1.30 > > Ok... > > > How can I make this work? > > Seeing as how (I'm betting) you can not set up routing on the Xerox, you > will probably need to NAT the traffic from the 192.168.100.x network to > appear as if it is from 192.168.1.1. This way when any system on the > 192.168.100.x network tries to talk to the Xerox, it will think that > 192.168.1.1 is talking to it and thus be able to reply back. You wouldn't need to set up NAT if both IPs on the gnu/linux box are the gateways for the respective networks. Just enable forwarding: echo 1 > /proc/sys/net/ipv4/ip_forward No NAT required, the linux box is aware of the subnets and will pass traffic happily between them. -- Matt Zagrabelny - mzagrabe@xxxxxxxxx - (218) 726 8844 University of Minnesota Duluth Information Technology Systems & Services PGP key 1024D/84E22DA2 2005-11-07 Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2 He is not a fool who gives up what he cannot keep to gain what he cannot lose. -Jim Elliot
Attachment:
signature.asc
Description: This is a digitally signed message part