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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a PC set up to dual-boot Win2k and Red Hat 8.0. My organization just got its own domain and class C service. We have a dedicated box providing web, mail, and DNS service, and its running on all cylinders. I had no problem configuring Win2k to use the new static IP address, gateway, subnet mask, and DNS servers. But after installing RH 8.0 on a second disk, I can ping out to other machines but I'm not getting any name service under Linux.
Setup:
> Intel box running RH 8.0
> static IP address on a LAN w/ class C domain
> PC has a single Fast Ethernet connection to LAN
> a local machine runs BIND, sendmail, Apache
> have local machine as primary DNS, outside machines for secondary and tertiary
> ipchains appears to be running (I didn't want it, but that's what Anaconda wants me to have), I made sure everything is allowed
Symptoms:
> from Linux I can ping other machines inside our router
> from Linux I can ping the server box which is running BIND
> when running Linux I don't get any name resolution when using ping or nslookup, even when specifying 1st, 2nd, or 3rd nameserver numerically on nslookup command line
> an SGI workstation on the LAN gets name service OK
> from my PC running Win2k I get name service OK; can ping, nslookup, surf web etc.
I am stumped. It can't be the DNS server, other machines get name service just fine. Can't be the PC itself or its network connection, as everything works fine when running Win2k. The ethernet device definition in Linux must be OK, since I can numerically ping other local machines when running Linux.
check iptables. Lokkit probably didn't do it, but often it will add something like
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s xxx.xxx.xxx.xxx --sport 53 -d 0/0 -j ACCEPT (xxx.xxx.xxx.xxx being your nameserver)
This will likely clear it up without disabling iptables altogether assuming that your problem is firewall related. You can just stop iptables and see if it starts working.
resolv.conf was OK (identical to other machines here), but I think iptables was hosing it. I fumbled around some with it and the DNS info started getting thru. Not sure what I did that made the difference, but I seem to be up and running.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.