Find the answer to your Linux question:
Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 40
[root@localhost root]# ping 216.239.32.10 PING 216.239.32.10 (216.239.32.10) 56(84) bytes of data. From 192.168.0.30 icmp_seq=0 Destination Host Unreachable From 192.168.0.30 icmp_seq=1 Destination Host Unreachable From 192.168.0.30 icmp_seq=2 Destination Host Unreachable From ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21

    [root@localhost root]# ping 216.239.32.10
    PING 216.239.32.10 (216.239.32.10) 56(84) bytes of data.
    From 192.168.0.30 icmp_seq=0 Destination Host Unreachable
    From 192.168.0.30 icmp_seq=1 Destination Host Unreachable
    From 192.168.0.30 icmp_seq=2 Destination Host Unreachable
    From 192.168.0.30 icmp_seq=3 Destination Host Unreachable
    From 192.168.0.30 icmp_seq=4 Destination Host Unreachable
    From 192.168.0.30 icmp_seq=5 Destination Host Unreachable

    --- 216.239.32.10 ping statistics ---
    8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7038ms
    , pipe 4



    [root@localhost root]# route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
    127.0.0.0 * 255.0.0.0 U 0 0 0 lo
    default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

  2. #22
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    Welp, looks like that didn't work. Maybe that's not your router's internal IP. Dunno. I took a guess.

    Now get on a computer on your network that can reach the internet just fine. Show me the results for the following command.

    linux: route
    windows: route PRINT

  3. #23
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21
    in windows

    ================================================== =========================

    Interface List

    0x1 ........................... MS TCP Loopback interface
    0x2 ...00 a1 b0 10 7e 6a ...... Myson MTD80X Based Fast Ethernet Card - Packet Scheduler Miniport
    ================================================== =========================

    ================================================== =========================

    Active Routes:

    Network Destination Netmask Gateway Interface Metric

    127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1

    192.168.0.0 255.255.255.0 192.168.0.24 192.168.0.24 30

    192.168.0.24 255.255.255.255 127.0.0.1 127.0.0.1 30

    192.168.0.255 255.255.255.255 192.168.0.24 192.168.0.24 30

    224.0.0.0 240.0.0.0 192.168.0.24 192.168.0.24 30

    255.255.255.255 255.255.255.255 192.168.0.24 192.168.0.24 1

    ================================================== =========================

    Persistent Routes:

    None

    in linux
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
    127.0.0.0 * 255.0.0.0 U 0 0 0 lo

  4. $spacer_open
    $spacer_close
  5. #24
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    Alright, let's hope this works. Execute these commands on the machine that couldn't ping before. Show me the response.

    route del default gw 192.168.0.1
    route add default gw 192.168.0.24
    ping 216.239.32.10

  6. #25
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21
    [root@localhost sysconfig]# ping 216.239.32.10
    PING 216.239.32.10 (216.239.32.10) 56(84) bytes of data.

    --- 216.239.32.10 ping statistics ---
    57 packets transmitted, 0 received, 100% packet loss, time 56079ms



    and lately i realized that i am not able to ping to the computers in my LAN...Only i can ping to my proxy server(192.168.0.36 i.e)...

  7. #26
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    What does your "route" table look like now?

    Also, I'm tired of working in the dark. Please describe your LAN infrastructure. There is definately a network configuration problem SOMEWHERE, I have no idea whether it is your hardware or your software that is misconfigured.

  8. #27
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
    127.0.0.0 * 255.0.0.0 U 0 0 0 lo
    default 192.168.0.24 0.0.0.0 UG 0 0 0 eth0

    Our LAN has simple star topology...connectd through a hub...we r using a dial up connection to connect to the internet....
    The actual problem is that i am not able to use the functions like gethostbyname() ,,getaddrinfo() in my program ....which is a part of my project....

  9. #28
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    A hub? You mean, you don't even have a LAN? How can you have private IP addresses when all you've got in the house is a hub and computers? Suredly you've got a router? Perhaps your router also acts as a modem? Perhaps you're calling your router a hub? Please more details.

  10. #29
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21
    Its like this....
    we have a hub.....8 computers are connected to the hub.....Theres 1 phone line which is connected to one of the PCs and through that phone our ISP provides us the internet....Regarding router and stuff... ISP takes care of that i guess..is this information sufficient or u want something else....

  11. #30
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    That helped some. Got some more questions.

    1) Are any of the PC's able to connect to the internet besides the one that has the phone cord plugged directly into it?

    2) Are you running a dns server on the PC that has the phone cord plugged into it?

    3) The PC with the phone cord plugged into it should have 2 IP addresses. One of them is given by your ISP (public), what is the private IP?

    4) What is the OS of the PC that has the phone cord plugged into it?

Page 3 of 4 FirstFirst 1 2 3 4 LastLast

Posting Permissions

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