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.
Hey all,
I recently had to replace my router. I have 2 Centos servers and a windows machine on my network. My mailserver and windows machines work fine. My DNS server will not ping the router and anything outside the network. I can ping all machines and DNS is working fine inside the network. The router also shows all computers connected and with the right IP addresses. Does not work with firewall down either.
I have looked through all configuration files and cannot find anything wrong. I am not exactly a linux expert but everything was working perfectly on the old router.
clean out your ifcfg-eth0 and restart your network and try again. everything should be provided by your DHCP server, be that your ISP, or your internal device.
Thanks lleb, that worked. It seems what broke it was setting my router DNS ip setting to my network DNS server. On my old router I think I had it set up that way. Now, the only problem is I cannot get outside email. Internal email works fine. I had this problem when I initially set the mailserver up which is why I set up the DNS server but cannot recall how I got that to work.
can you telnet port 25 from the internet to the router IP at all & get a helo? like manually?
your new router potentially could have pulled a new external IP from your isp, perhaps you need to update the A record of your domain name provider to reflect it, if you haven't already.
run a tcpdump on both interfaces of the router and the mail server to find out where traffic is getting stopped
Thanks lleb, that worked. It seems what broke it was setting my router DNS ip setting to my network DNS server. On my old router I think I had it set up that way. Now, the only problem is I cannot get outside email. Internal email works fine. I had this problem when I initially set the mailserver up which is why I set up the DNS server but cannot recall how I got that to work.
yeah that happens. its no big deal. keep in mind that when you are using DHCP all of your information should be provided by the DHCP server. the IP, gateway, subnet, and DNS information.
the only time you need to manually provide gateway and subnet is when you are on static IP scheme like on a server.
the DNS in linux is semi hit or miss if the DHCP server will provide or not the proper working DNS information. that is more on how the DHCP server is configured. a lot of SoHo routers and ISP devices are NOT properly configured for DHCP and thus fail to fully provide DNS for linux systems.
in cases like that you just need to edit the resolv.conf and you are golden.
Doh!!! In the port forwarding screen on the router, there is a little check box beside each entry that turns it on. I was thinking just adding the entry would turn it on. Once I checked all the boxes and hit save, everything starting working.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.