From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199705200201.VAA20007@porky.tamu.edu> Date: Mon, 19 May 1997 23:01:41 -0500 (CDT) From: Andrew Kieschnick Subject: ip masquerading, rhl 4.1 on a udb I have a udb with rhl 4.1 on it and a pc also running linux. I want the pc to masquerade for the udb. I think I have everything setup correctly, but as soon as I do: /sbin/route add default gw 172.16.0.1 (to make my pc the gateway for the udb) the udb decides to lookup EVERYTHING through the nameserver... It won't use the hosts file, and I can't figure out why. It even looks up 127.0.0.0. I can connect to computers on the net from the udb, so the masquerading is working, I just can't connect to my pc from the udb or from the udb to itself. Anybody know how the heck to fix this? On my pc I run: /sbin/ifconfig eth0 172.16.0.1 /sbin/route add -net 172.16.0.0 eth0 /sbin/ipfwadm -F -p deny /sbin/ipfwadm -F -a m -S 172.16.0.0/24 -D 0.0.0.0/0 On my udb I run: /sbin/ifconfig eth0 172.16.0.2 /sbin/route add -net 172.16.0.0 eth0 /sbin/route add default gw 172.16.0.1 as far as I can tell, all the config files in /etc are correct. thanks, Andrew -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com