Find the answer to your Linux question:
Results 1 to 4 of 4
hi all, i got a problem while setting up a static ip to my linux fedora i set the static ip for my machine and that machine is accessible only ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    2

    ip problem


    hi all,
    i got a problem while setting up a static ip to my linux fedora
    i set the static ip for my machine and that machine is accessible only with teh ip address when ever i give the host name it is not working, and also it is showing a different ip address from the other address can any one help me in this?

    ex:
    i gave the ip as 192.122.1.199
    the host name is shiva
    when i ping the above ip its working
    if i ping with name as
    ping shiva it is showing another ip beside the host name
    shiva[192.122.1.155]

  2. #2
    Just Joined! lizardking's Avatar
    Join Date
    Aug 2006
    Location
    St-Lazare, Quebec
    Posts
    28
    Howdy shiva.linux!

    Being new myself, I can only suggest that you take a look at your /etc/hosts file. See if shiva is related to the correct ip address.

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    2

    every thing is properly set

    hi,
    everything is right in the hosts file.

  4. #4
    Just Joined! lizardking's Avatar
    Join Date
    Aug 2006
    Location
    St-Lazare, Quebec
    Posts
    28
    Could you post the /etc/host* files and the results of ifconfig, it may show some clues.

Posting Permissions

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