Ive got 2 boxes on my network (RH7.3 and RH8) connected with a cross over cable.
RH7.3 is connected to the internet using a dial up connection but i cannot access the internet using the RH8 box!
My iptable rules on the RH7.3 box are as follows
and there are no rules specified on my RH8 box.Code:Chain INPUT (policy ACCEPT) target prot opt source destination DROP tcp -- anywhere anywhere tcp dpt:smtp DROP tcp -- anywhere anywhere tcp dpt:sunrpc DROP tcp -- anywhere anywhere tcp dpt:x11 DROP tcp -- anywhere anywhere tcp dpt:sunrpc Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT all -- anywhere anywhere LOG all -- anywhere anywhere LOG level warning Chain OUTPUT (policy ACCEPT) target prot opt source destination
Heres my /etc/sysconfig/network
My /etc/sysconfig/network-sripts/ifcfg-eth0Code:NETWORKING=yes FORWARD_IPV4=true HOSTNAME='localhost.localdomain'
/etc/sysconfig/network on the RH8 box as followsCode:DEVICE=eth0 IPADDR=192.168.0.1 NETMASK=255.255.255.0 NETWORK=192.168.0.0 BROADCAST=192.168.0.255 ONBOOT=yes BOOTPROTO=none USERCTL=yes
/etc/sysconfig/network-scripts/ifcfg-eth0 on the RH8 boxCode:NETWORKING=yes FORWARD_IPV4=true HOSTNAME='localhost.localdomain' GATEWAY=192.168.0.1 GATEWAY_IF=eth0
My /etc/hosts on the RH7.3 boxCode:DEVICE=eth0 IPADDR=192.168.0.2 NETMASK=255.255.255.0 NETWORK=192.168.0.0 BROADCAST=192.168.0.255 ONBOOT=yes BOOTPROTO=none USERCTL=yes
And finally the /etc/resolv.conf on the RH7.3 boxCode:127.0.0.1 localhost.localdomain localhost 192.168.0.1 localhost.server.com server 192.168.0.2 localhost.client.com client
This is my first attempt at setting up a network and im clueless as to what im doing wrong or what i have not done...Code:server 192.168.0.1 client 192.168.0.2 search localdomain
Anyone any ideas?
Thanks in advance




Reply With Quote