Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111
Rep:
RH 7.3 NAT problem
Hey guys, I got the problem with RH7.3 NAT. I setup adn configure it according to http://www.e-infomax.com/ipmasq/
Well, everything seems fine. My firewall2.4 up and running. My dhcpd is up when boot the system. But the problem is my clients couldn't access internet. Both clients can ping each other and the server. And the server can ping both of the client. Here is my dhcpd.conf
Destination Gateway Genmask Interface
255.255.255.255 0.0.0.0 255.255.255.255 eth1
68.2.154.0 0.0.0.0 255.255.255.0 eth0
192.168.1.0 0.0.0.0 255.255.0.0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 lo
0.0.0.0 68.2.154.1 0.0.0.0 eth0
I have disable ipchains. Do you guys have any idea ? Thank !!!
One more thing, when i view my xp LAN status, it point to my ISP DNS instead of local dns. It should be routing problem rite philip? any idea about that?.....Thanks
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111
Original Poster
Rep:
David,
My internet is working. But only MSN and Kazaa(clients). My clients Internet Explorer are not working. I don't know what is going on with that? do you have any idea?
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111
Original Poster
Rep:
David,
RH 7.3 is slightly diff. It came with iptables. It doesn't need to patch it. All you need follow the instructions from http://www.e-infomax.com/ipmasq/ and download the firewall script. Do remember change the vi firewall-2.4
IPTABLES =/sbin/iptables(RH7.3)
** If you patch the iptable(most probably older RH version), you need to path to the iptables directory. Do remember to disable ipchains.
Here is my Dhcpd.conf( /etc/dhcpd.conf)
subnet 192.168.1.2 subnetmask 255.255.255.0{
range 192.168.1.2 192.168.1.60;
default-lease-time 86400;
max -lease-time 86400;
option routers 192.168.1.1;
option ip_forwarding off;
option broadcast_address 192.168.1.255;
option subnet-mask 255.255.255.0;}
option domain-name-servers xxx.xx.xxx.xx,xx.xxx.xx.xx}
(xxx.xxx.xxx.xx ISP domain name server) * If you are not sure, under your /etc/resolv.conf
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.