[H-GEN] IP Masq'ing and Routing tables

Conor Cunningham cunningham at uq.net.au
Sun Aug 26 00:10:06 EDT 2001


Hello All,

Im trying to get my other linux box to connect to the internet through 
another linux box. I have run a rc.firewall script which is at the 
bottom of this msg, along with the routing tables for both machines.
Cancel that. rc.firewall attached, as i couldnt get it to paste? 
Somedays just arent good days.

Ive been working very hard to try and get this working, but yet, to no 
avail. Any help would be super.

P.S rc.firewall is in /etc/rc.d/ and is run at boottime through 
rc.local. Have also run it by hand to make sure it was run.

Details of the machines

HOST

192.168.0.1
Netmask 255.255.255.0
Resolv.conf has the namesservers of UQ.
It can access the net not problem and can send and recieve pings from 
the client.

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface

annex28.uq.net. *               255.255.255.255 UH    0      0        0 ppp0

192.168.0.0     *               255.255.255.0   U     0      0        0 eth0

127.0.0.0       *               255.0.0.0       U     0      0        0 lo

default         annex28.uq.net. 0.0.0.0         UG    0      0        0 ppp0


CLIENT.
192.168.0.2
255.255.255.0
Resolv.conf has the same information as HOST.

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface

192.168.0.0     wintermute      255.255.255.0   UG    0      0        0 eth0

192.168.0.0     *               255.255.255.0   U     0      0        0 eth0

127.0.0.0       *               255.0.0.0       U     0      0        0 lo

default         wintermute      0.0.0.0         UG    1      0        0 eth0






-- 
Regards,
Conor Cunningham

Cunningtek Technologies
cunningham at uq.net.au
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rc.firewall
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20010826/548b7f1d/attachment.ksh>


More information about the General mailing list