Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • /etc/host & /etc/hostname files and dual NIC server

    Posted on

    I have a rhel 7.0 system with two NICs. NIC-1 is "bound" to my public static IP addresss. The other NIC (NIC-0) is "bound" to an 192.168.xxx.xxx internal LAN address.
    I have the Firewalld service enabled with the External Zone "bound" to NIC-1, and the Internal Zone "bound" to NIC-0.
    NAT and IP masquerading is "turned on".
    I have also defined two domains an external one (ids4zos.net) and an internal domain (richkids.net)

    In the /etc/host file are the following entries:
    69.54.xxx.xxx redriver01 redriver01.ids4zos.net
    192.168.10.6 redriver00 redriver00.richkids.net
    127.0.0.1 localhost localhost.localdomain

    In the /etc/hostname ... :
    69.54.xxx.xxx redriver01.ids4zos.net redriver01
    192.168.10.6 redriver00.richkids.net redriver00

    However I'm wondering if this is defined correctly
    There are no apparent problems.
    However if anyone has any suggestions an/or ideas on how better to config this environment I would be most appreciative.

    Best Regards

    Guy

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat