Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Networking set up on workstation not quite right, yet

    Posted on

    I've installed a fresh copy of RHEL Workstation (moved over from FC, glad I did).  I'm experiencing some network domain issues.  I can get to the network (local and outside), but my domain name stuff is not quite right.

    Details:

    • IP address is set/retrieved via DHCP
    • ifconfig returns:

    $ ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:13:72:2F:1B:3D 
              inet addr:192.168.43.105  Bcast:192.168.43.255  Mask:255.255.255.0

    • contents of /etc/resolve.conf:

    # Generated by NetworkManager
    domain office.mydomain.com
    search office.mydomain.com
    nameserver 192.168.43.61

    • contents of /etc/hosts:

    127.0.0.1   localhost rhineheart.office.mydomain.com rhineheart
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

    • domainname, hostname, hostname -i, hostname -f output:

    [me@rhineheart ~]$ domainname
    (none)
    [me@rhineheart ~]$ hostname
    rhineheart.office.mydomain.com
    [me@rhineheart ~]$ hostname -i
    127.0.0.1
    [me@rhineheart ~]$ hostname -f
    localhost

    • Contents of /etc/sysconfig/network:

    NETWORKING=yes
    HOSTNAME=rhineheart.office.mydomain.com
     

    • nslookup rhineheart:

    Server:        192.168.43.61
    Address:    192.168.43.61#53

    ** server can't find rhineheart: SERVFAIL
     

    • /etc/nsswitch.conf:

    hosts:      dns files

    ethers:     files
    netmasks:   files
    networks:   files
     

    Our main domain (mydomain.com) is hosted on another network.  The domain 'office.mydomain.com' is our local office.

    Hmmm. Ideas?
     

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat