Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Home network questions with Router/Firewall

Posted on 2003-03-01
Medium Priority
Last Modified: 2013-12-23
Bacically I'm a UNIX hardware guy and don't perform too many admin networking tasks, but I'm trying to get both my Linux (Debian) box and UNIX box (HP-UX) up on the internet from my home network.  Currently I have a cable modem using DHCP from my ISP (they won't give me a static IP) connected to a Netgear FVS318 router/firewall with 3 machines hanging off of it (Win2k box, Linux, and HP-UX).  The Win2k machine works fine on the net, but I need some help configuring the other two.  I currently don't have a DNS server on my home network, but could set-up one of my boxes to do it if needed.  I'm not all that competant with DNS.  I have set-up my default gateway on the UNIX box as (router IP).  When I do an nslookup on the box I get "Can't find server name for address None-existant domain" and "Default servers are not available Using /etc/hosts on: <hostname>.  I also get the hostname, address, and aliases.  I'm assuming that the aliases should be set to the domain of my ISP, but correct me if I'm wrong.  My router does support NAT.  Doing a vi on my /etc/resolv.conf yeilds the domanin (of my ISP) and the nameserver (default gateway of my router).  I can ping via IP on my network, but not via hostname.  I know I have to create host files containing all my hosts on each machine but I don't remember how to change the DNS search order.  If anyone has any suggestions, please let me know.  Thanks.

Question by:nitzer
LVL 21

Expert Comment

ID: 8048715
Surely the nameserver in /etc/resolv.conf should be the DNS server of your ISP, not the gateway (your router)?

Assisted Solution

jimbb earned 70 total points
ID: 8050877
Actually some of those do have name servers, a friend of mine bought the D-Link one and insisted that its DHCP server was handing its own address out as the name server address.  I thought he was on crack, but as it turns out, it really does run a dns server and does work.  I don't know about the Netgear one nitzer has, though.

If you want to change the DNS search order, check the 'resolv.conf' man page, it should give you a pretty full description of how to set it up.
LVL 21

Assisted Solution

tfewster earned 80 total points
ID: 8051373
True, the Netgear FVS318 can act as a DNS server as long as it has the address of a real DNS server configured into it. You'll need to get the DNS server address from your ISP. The Win2K box may use WINS for name resolution, which could explain why already works.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/26-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/26-toc.html&searchterms=resolv.conf&queryid=20030302-040552 - The same info should work for the Linux box as BIND is fairly standard.

Changing the Names Server search order is done in /etc/nsswitch.conf. But that seems to be working OK on your setup.

Incidentally, while looking for details on the Netgear FVS318, I found a security warning. Please ensure that your firmware level is > 1.1 and Remote Management is disabled.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 21

Accepted Solution

tfewster earned 80 total points
ID: 8051388
A quick summary:

1) Ensure /etc/resolv.conf contains an address of a valid DNS server
domain xyz.abc.net
nameserver xxx.xx.xx.xx

2) check /etc/hosts file whether the fully qualified host entry is there: hostA hostA.xyz.com

3) check /etc/nsswitch.conf:

hosts: files [NOTFOUND=continue] dns

This will ensure that /etc/hosts is read before the DNS server is used to resolve the host names.


Expert Comment

ID: 8059762
If you want a quick easy fix go pick up a Linksys router.  It will pick up your assigned ip and translate it to your internal LAN.  Also has a firewall built in.  It's easy to manage (all done through web browser).  Just keep in mind that it's a Linksys product not a PIX firewall!!


Expert Comment

ID: 9157083
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.
LVL 21

Expert Comment

ID: 9162242
Points split, jimbb & tfewster

Author Comment

ID: 9167788
To finalize, I had to change my DNS search order on the UNIX box and make a fully qualified host name for it.  After that I stumbled through SAMBA and got it working also.  Thanks for the responses.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
LinkedIn blogging is great for networking, building up an audience, and expanding your influence as well. However, if you want to achieve these results, you need to work really hard to make your post worth liking and sharing. Here are 4 tips that ca…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question