Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
06-28-2014, 08:32 PM
|
#1
|
Senior Member
Registered: Sep 2006
Posts: 1,514
Rep:
|
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?
|
|
|
06-28-2014, 10:26 PM
|
#2
|
Member
Registered: Feb 2013
Location: San Jose, CA
Distribution: RHEL/CentOS/Fedora
Posts: 457
Rep:
|
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?
|
|
|
06-29-2014, 06:31 AM
|
#3
|
Senior Member
Registered: Sep 2006
Posts: 1,514
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|