Professional Web Applications Themes

Multiple IP Addresses For Same Host in /etc/hosts - Linux / Unix Administration

Hi, Can you have more than one address associated with a single host name in the /etc/hosts file? Will it cause any problems? For example, if lets say that hostA has multiple interfaces, and therefore multiple addresses: 1.1.1.1 hostA 2.2.2.2 hostB 3.3.3.3 hostA 4.4.4.4 hostC Will that cause a problem? TIA, -Tennis...

  1. #1

    Default Multiple IP Addresses For Same Host in /etc/hosts

    Hi,

    Can you have more than one address associated with a single host name
    in the /etc/hosts file? Will it cause any problems?

    For example, if lets say that hostA has multiple interfaces, and
    therefore
    multiple addresses:

    1.1.1.1 hostA
    2.2.2.2 hostB
    3.3.3.3 hostA
    4.4.4.4 hostC

    Will that cause a problem?

    TIA,
    -Tennis
    Tennis Smith Guest

  2. #2

    Default Re: Multiple IP Addresses For Same Host in /etc/hosts

    On 9 Dec 2003 14:05:54 -0800, Tennis Smith wrote:
    > Hi,
    >
    > Can you have more than one address associated with a single host name
    > in the /etc/hosts file? Will it cause any problems?
    >
    > For example, if lets say that hostA has multiple interfaces, and
    > therefore
    > multiple addresses:
    >
    > 1.1.1.1 hostA
    > 2.2.2.2 hostB
    > 3.3.3.3 hostA
    > 4.4.4.4 hostC
    >
    > Will that cause a problem?

    I would assume if I do anything using hostA, ssh, rlogin, ping,
    ftp,...., host lookup will fetch 1.1.1.1.





    Bit Twister Guest

Similar Threads

  1. Multiple Debugging IP addresses
    By HairyDude in forum Coldfusion Server Administration
    Replies: 0
    Last Post: August 5th, 02:11 PM
  2. Multiple Debugging IP addresses
    By covretro in forum Coldfusion Server Administration
    Replies: 0
    Last Post: August 5th, 12:22 PM
  3. Mac addresses / Multiple airports
    By Bobby Janow in forum Mac Applications & Software
    Replies: 11
    Last Post: July 9th, 02:40 AM
  4. HOSTS file & IP addresses
    By Impatient in forum Windows Setup, Administration & Security
    Replies: 1
    Last Post: July 1st, 07:43 PM
  5. One solution containing multiple projects and multiple hosts
    By Stephen Miller in forum ASP.NET General
    Replies: 0
    Last Post: June 24th, 12:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139