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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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.
Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

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

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

777 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