Hello Jamie.
Thanks for the info.
Even after doing the (echo "1" > /proc/sys/net/ipv4/ip_forward) I still get this:
[root@localhost sysconfig]# cat network
NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=localhost.localdomain
My machine also does not seem to reconise the comand IPCHAINS or IPTABLES, I also did a find for this files with no success.
Here is the config for both machines:
Router 1:
[joe@melba-gw /sbin]$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:750 errors:0 dropped:0 overruns:0
TX packets:0 errors:77960 dropped:750 overruns:0
eth0 Link encap:Ethernet HWaddr 08:00:2B:3B:74:FD
inet addr:192.168.4.1 Bcast:192.168.4.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16454 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:12872 overruns:41
Interrupt:5 Base address:0x300
eth1 Link encap:Ethernet HWaddr 08:00:0E:20:5A:CF
inet addr:192.168.4.1 Bcast:192.168.4.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52971 errors:0 dropped:0 overruns:0
TX packets:0 errors:4031262 dropped:53501 overruns:0
Interrupt:10 Base address:0x390
[joe@melba-gw /sbin]$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth1
192.168.4.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.4.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.4.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
Router 2:
[root@localhost /sbin]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0
TX packets:0 errors:1932 dropped:19 overruns:0
eth0 Link encap:Ethernet HWaddr 08:00:09:A3:CB
A
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2001 errors:4350 dropped:0 overruns:0
TX packets:0 errors:2520 dropped:60 overruns:0
Interrupt:3 Base address:0x300
eth1 Link encap:Ethernet HWaddr 08:00:0E:20:92:1B
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:48181 errors:0 dropped:0 overruns:0
TX packets:0 errors:7362856 dropped:49433 overruns:0
Interrupt:10 Base address:0x390
[root@localhost /sbin]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 192.168.4.1 255.255.255.255 UGH 0 0 0 eth1
192.168.4.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth1
192.168.4.2 192.168.4.1 255.255.255.255 UGH 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.4.1 0.0.0.0 UG 1 0 0 eth1
Unfortunatly no IPCHAINS info as it does not seem to work.
Any help would be great. Let me know if you need anymore info.
Thanks.