From: Andrew Kieschnick <andrewk@ccwf.cc.utexas.edu>
Subject: ip masquerading, rhl 4.1 on a udb
Date: Mon, 19 May 1997 23:01:41 -0500 (CDT) [thread overview]
Message-ID: <fc416d14d74caf7e1b1ea2e5e824fbd2.axp-list@archive.invalid> (raw)
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
next reply other threads:[~1997-05-20 4:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-20 4:01 Andrew Kieschnick [this message]
[not found] <Pine.GSO.3.96.970519225255.21646A-100000@piglet.cc.utexas.edu>
1997-05-20 4:43 ` ip masquerading, rhl 4.1 on a udb Andrew Kieschnick
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox