Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
I am having a very basic networking problem that I can't figure out.
The machine's hostname is 'bluespacedb' (as you can see from the shell output below) and I am using DHCP to get an ip address. As my DHCP server (an SMC barricade) is not doing DNS, I added the ip address and the hostname in /etc/hosts.
I could then ping the local machine, but the problem is that host does not work.
I verified that /etc/host.conf is set up to use the hosts file first. As far as i know that's all it takes to do dns lookups.
Any help is appreciated.
[root@bluespacedb etc]# hostname
[root@bluespacedb etc]# more host.conf
[root@bluespacedb etc]# more hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.2.112 bluespacedb.localdomain bluespacedb
[root@bluespacedb etc]# ping -c 2 bluespacedb
PING bluespacedb (192.168.2.112) from 192.168.2.112 : 56(84) bytes of data.
64 bytes from bluespacedb (192.168.2.112): icmp_seq=0 ttl=255 time=241 usec
64 bytes from bluespacedb (192.168.2.112): icmp_seq=1 ttl=255 time=8 usec
--- bluespacedb ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.008/0.124/0.241/0.117 ms
[root@bluespacedb etc]# host bluespacedb
Host bluespacedb. not found: 3(NXDOMAIN)
I think that "host" is specifically designed to use a DNS server (by default, the one listed in /etc/resolv.conf). If the ping command is resolving the name of the system correctly I wouldn't worry about it.
Not so sure if I need not worry about it. I ran into the problem while I was running oracle's database configuration assistant and it said: "Thrown when the IP address of host cannot be determined". I am assuming it is using the host command as that's the one that is not working.
Regarding /etc/sysconfig/netword and /etc/sysconfig/network-scripts/ifcfg-eth0:
I did found posts like that on several sites but I have no such directories. I am installing on RedHat Linux Advanced Server 2.1.