IP Route Add or Forwarding ?
I have two network cards in a server
eth0 static 192.168.1.1 Mask 255.255.255.0 DHCP Server
eth1 dhcpclient 192.168.0.xxx Mask 255.255.255.0
route
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 10 0 0 eth0
192.168.0.0 * 255.255.0.0 U 10 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 10 0 0 eth1
The workstations get an IP address in the 192.168.1.XXX range
They have internet access working via the file server fine (from 192.168.0.1)
There is a HP laser printer with a Jetdirect card on fixed IP 192.168.0.132
The /etc/sysconfig/network file has FORWARD_IPV4=true
If I ping this from the server or clients I get
From 192.168.0.xxx icmp_seq=2 Destination Host Unreachable
The interactive firewall shows 192.168.0.132 as whitelisted.
The question is can I keep everything the way it is above and add a route or forwarding allow the printer to be seen by the server at least ?
|