Find the answer to your Linux question:
Results 1 to 3 of 3
i have recently installed debian and i configure network as allways i do, but this time i cant ping to router or other pc of the lan. i think all ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    2

    network settings are ok, but network unreseachable


    i have recently installed debian and i configure network as allways i do, but this time i cant ping to router or other pc of the lan. i think all configures its ok, i have set ifconfig ..., route add default gw 192.168.1.1 and i have type dns in /etc/resolv.conf but nothing . i havent net

    network unreseachable

    any help plz?


    root@kaiowa:/home/kaiowa# ifconfig
    eth0 Link encap:UNSPEC HWaddr 00-40-D0-01-00-32-B1-91-00-00-00-00-00-00-00-00
    inet addr:192.168.1.10 Bcast:192.168.255.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:3708 (3.6 KiB)

    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:8093 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8093 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:495295 (483.6 KiB) TX bytes:495295 (483.6 KiB)

    root@kaiowa:/home/kaiowa# route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
    10.0.0.0 192.168.1.1 255.0.0.0 UG 0 0 0 eth0

  2. #2
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817

    Re: network settings are ok, but network unreseachable

    Is the gateway set up for IP masquerade? Also, I think that your gateway route may not be quite right:
    Code:
    You have:
    10.0.0.0   192.168.1.1      255.0.0.0        UG   0    0    0 eth0
    
    I would try:
    0.0.0.0    192.168.1.1      255.255.255.0    UG   0    0    0 eth0
    /IMHO
    //got nothin'
    ///this use to look better

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Posts
    2
    i have routed that you type, but same err. if the route werent correct i should have ping to other pcs of the lan no?

    but i havent connectivity to others pc of the lan.

Posting Permissions

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