Find the answer to your Linux question:
Results 1 to 4 of 4
Hi. I'm having this problem. I recently install a server with enterprise linux. after I complete he installation I try to ping my DNS server but I keep recieving the ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    3

    Destination Host Unreachable

    Hi. I'm having this problem. I recently install a server with enterprise linux. after I complete he installation I try to ping my DNS server but I keep recieving the same message "Destination Host Unreachable". The DNS and the server are in the same segment. The server have 2 network cards. One goes to the public network and the other goes to the management network. For example my server ip is :

    eth0 - 192.168.100.35
    eth1 - 192.168.113.35

    The DNS is : 192.168.113.10

    Does someone have any idea what I'm doing wrong???
    Thanks in advance for your help.

  2. #2
    Just Joined!
    Join Date
    Nov 2007
    Posts
    44
    What does
    Code:
    ifconfig
    and
    Code:
    cat /etc/resolv.conf
    say? Also, check ifcfg files under /etc/sysconfig/network-scripts/

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    What is the output of route -n

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. #4
    Just Joined!
    Join Date
    Aug 2008
    Posts
    3
    This are the results of the commands you want me to run.....

    ifconfig
    eth0 Link encap:Ethernet HWaddr 00:04:23:C9:45:10
    inet addr:192.168.200.35 Bcast:192.168.200.255 Mask:255.255.255.0
    inet6 addr: fe80::204:23ff:fec9:4510/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:8227 errors:0 dropped:0 overruns:0 frame:0
    TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:496872 (485.2 KiB) TX bytes:26496 (25.8 KiB)
    Base address:0xecc0 Memory:fe9e0000-fea00000

    eth1 Link encap:Ethernet HWaddr 00:04:23:C9:45:11
    inet addr:192.168.213.35 Bcast:192.168.213.255 Mask:255.255.255.0
    inet6 addr: fe80::204:23ff:fec9:4511/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:48 errors:0 dropped:0 overruns:0 frame:0
    TX packets:280 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:3772 (3.6 KiB) TX bytes:36037 (35.1 KiB)
    Base address:0xec80 Memory:fe9c0000-fe9e0000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:4030 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4030 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:7455248 (7.1 MiB) TX bytes:7455248 (7.1 MiB)

    cat /etc/resolv.conf
    search upr.edu
    nameserver 192.168.213.10

    cat ifcfg-eth0
    # Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
    DEVICE=eth0
    BOOTPROTO=none
    BROADCAST=192.168.200.255
    HWADDR=00:04:23:C9:45:10
    IPADDR=192.168.200.35
    NETMASK=255.255.255.0
    NETWORK=192.168.200.0
    ONBOOT=yes
    GATEWAY=192.168.200.1
    TYPE=Ethernet
    USERCTL=no
    IPV6INIT=no
    PEERDNS=yes

    ifcfg-eth1
    -bash: ifcfg-eth1: command not found
    [root@tstapp5 network-scripts]# cat ifcfg-eth1
    # Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
    DEVICE=eth1
    BOOTPROTO=none
    BROADCAST=192.168.213.255
    HWADDR=00:04:23:C9:45:11
    IPADDR=192.168.213.35
    NETMASK=255.255.255.0
    NETWORK=192.168.213.0
    ONBOOT=yes
    TYPE=Ethernet
    USERCTL=no
    IPV6INIT=no
    PEERDNS=yes



    route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.213.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
    192.168.212.0 192.168.213.10 255.255.255.0 UG 0 0 0 eth1
    192.168.200.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    192.168.218.0 192.168.213.10 255.255.255.0 UG 0 0 0 eth1
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
    0.0.0.0 192.168.200.1 0.0.0.0 UG 0 0 0 eth0

Posting Permissions

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