* ip masquerading, rhl 4.1 on a udb
@ 1997-05-20 4:01 Andrew Kieschnick
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Kieschnick @ 1997-05-20 4:01 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ip masquerading, rhl 4.1 on a udb
[not found] <Pine.GSO.3.96.970519225255.21646A-100000@piglet.cc.utexas.edu>
@ 1997-05-20 4:43 ` Andrew Kieschnick
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Kieschnick @ 1997-05-20 4:43 UTC (permalink / raw)
My problem was a nonexistant nsswitch.conf file. Thanks to Rick Windham
for mentioning the file to me.
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-05-20 4:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
1997-05-20 4:01 Andrew Kieschnick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox