LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-28-2014, 08:32 PM   #1
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,416
Blog Entries: 43

Rep: Reputation: 36
Need Help Configuring Network


Hello. I need some help configuring my network. I have the router's DNS set to 1.1.1.4 as the primary DNS server, and 208.67.222.222 as the secondary DNS server. My router's local IP Address is 1.1.1.1. I set all my clients to 1.1.1.1 as the DNS server. This means that for a client, if the local DNS server is working, it will use that as the DNS server, which specifies as it's primary external DNS server 208.67.222.222, which is OpenDNS. Otherwise, it will directly use OpenDNS. This works fine.

The problem is when I configure the server itself to that, I cannot seem to resolve the host names locally for some reason (ping fails). So I was messing around trying to get the address from DHCP, but use static DNS settings, and then I could ping from the server, however the network services, such as telnet and ntp would not work anymore. For telnet, for example, it would give the error that it could not resolve the host names. I'd directly used 1.1.1.4 as the DNS server when manually configuring, for both the primary and secondary servers. Then I'd said to search smiley000.net (my domain). I'd also manually configured the host name to c-des-main1-rec.smiley000.net.

How do I somehow get it set to values where the network services work and I can ping everything?
 
Old 06-28-2014, 10:26 PM   #2
GaWdLy
Member
 
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457

Rep: Reputation: Disabled
1- what distribution?
2- your DNS resolution works on the router, or does not?
3- your client is using dhcp or static?
4- show me output of 'ip addr show all' on client
5- you are trying to use resolv.conf?
 
Old 06-29-2014, 06:31 AM   #3
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,416

Original Poster
Blog Entries: 43

Rep: Reputation: 36
My distribution is Mandriva Linux 2010.1. My DNS resolution works from the router and from the clients. The clients are all using DHCP. Everything for the basic IP Address is using DHCP. There is a static reservation made in DHCP for everything except clients that may come and go in the guest subnet.

I have two android clients, and cannot show that command without installing apps. I have one Windows XP client, and cannot show that command, however, here is the output of ipconfig /all:

Code:
Windows IP Configuration

        Host Name . . . . . . . . . . . . : b-des
        Primary Dns Suffix  . . . . . . . : cli.smiley000.net
        Node Type . . . . . . . . . . . . : Peer-Peer
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : cli.smiley000.net
                                            cli.smiley000.net
                                            smiley000.net

Ethernet adapter Ethernet_2:

        Media State . . . . . . . . . . . : Media disconnected
        Description . . . . . . . . . . . : Broadcom 440x 10/100 Integrated Cont
roller
        Physical Address. . . . . . . . . : 00-15-C5-59-24-39

Ethernet adapter Wireless_2:

        Connection-specific DNS Suffix  . : cli.smiley000.net
        Description . . . . . . . . . . . : Dell Wireless 1390 WLAN Mini-Card
        Physical Address. . . . . . . . . : 00-16-CF-A5-EC-29
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 3.1.1.3
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        IP Address. . . . . . . . . . . . : fe80::216:cfff:fea5:ec29%5
        Default Gateway . . . . . . . . . : 3.1.1.1
        DHCP Server . . . . . . . . . . . : 3.1.1.1
        DNS Servers . . . . . . . . . . . : 3.1.1.1
                                            fec0:0:0:ffff::1%1
                                            fec0:0:0:ffff::2%1
                                            fec0:0:0:ffff::3%1
        Lease Obtained. . . . . . . . . . : Saturday, June 28, 2014 1:14:08 AM
        Lease Expires . . . . . . . . . . : Saturday, July 05, 2014 1:14:08 AM

Ethernet adapter VirtualBox Host-Only Network:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapte
r
        Physical Address. . . . . . . . . : 08-00-27-00-BC-64
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.56.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        IP Address. . . . . . . . . . . . : fe80::a00:27ff:fe00:bc64%6
        Default Gateway . . . . . . . . . :
        DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%3
                                            fec0:0:0:ffff::2%3
                                            fec0:0:0:ffff::3%3

Tunnel adapter Teredo Tunneling Pseudo-Interface:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
        Physical Address. . . . . . . . . : 00-00-07-D9-B8-AF-3D-B7
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : fe80::ffff:ffff:fffd%7
        Default Gateway . . . . . . . . . :
        NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter 6to4 Tunneling Pseudo-Interface:

        Connection-specific DNS Suffix  . : cli.smiley000.net
        Description . . . . . . . . . . . : 6to4 Tunneling Pseudo-Interface
        Physical Address. . . . . . . . . : 03-01-01-03
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 2002:301:103::301:103
        Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
        DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                            fec0:0:0:ffff::2%1
                                            fec0:0:0:ffff::3%1
        NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Automatic Tunneling Pseudo-Interface:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Automatic Tunneling Pseudo-Interface

        Physical Address. . . . . . . . . : C0-A8-38-01
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : fe80::5efe:192.168.56.1%2
        Default Gateway . . . . . . . . . :
        DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%3
                                            fec0:0:0:ffff::2%3
                                            fec0:0:0:ffff::3%3
        NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Automatic Tunneling Pseudo-Interface:

        Connection-specific DNS Suffix  . : cli.smiley000.net
        Description . . . . . . . . . . . : Automatic Tunneling Pseudo-Interface

        Physical Address. . . . . . . . . : 03-01-01-03
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : fe80::5efe:3.1.1.3%2
        Default Gateway . . . . . . . . . :
        DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                            fec0:0:0:ffff::2%1
                                            fec0:0:0:ffff::3%1
        NetBIOS over Tcpip. . . . . . . . : Disabled
The DNS server 3.1.1.1, is my client router, and it simply goes to 1.1.1.1 for DNS. I am using the wizard to configure the network. If you want, I can tell you exactly what I click and do to get the two different configurations.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Use of IPSEC in Linux when configuring network-to-network and point-to-point VPN connections LXer Syndicated Linux News 0 05-16-2012 03:51 AM
Configuring Network preeth45 Slackware 3 11-26-2006 12:46 AM
Need help configuring the network netcat Slackware 5 07-09-2005 07:44 AM
Configuring Network Kensai cAos 8 03-14-2004 11:11 AM
configuring network pabdom Linux - Networking 3 08-30-2003 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration