Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Harry I fixed it!!!

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    8

    Harry I fixed it!!!

    My ISP uses a LAN, and a 24 Online client, apparently I can use Linc to login to the server to access the internet, but I am not able to ping the gateway. Any help will be appreciated.
    Heres the info, b.t.w I have Knoppix HD-install


    knoppix@Knoppix:~$ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0D:87:11:82:5F
    inet addr:10.1.77.141 Bcast:10.1.77.141 Mask:255.255.255.240
    inet6 addr: fe80::20d:87ff:fe11:825f/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
    RX packets:724 errors:0 dropped:0 overruns:0 frame:0
    TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:57117 (55.7 KiB) TX bytes:2134 (2.0 KiB)
    Interrupt:21

    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:10 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:772 (772.0 b) TX bytes:772 (772.0 b)

    knoppix@Knoppix:~$ route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    10.1.77.128 0.0.0.0 255.255.255.240 U 0 0 0 eth0


    knoppix@Knoppix:~$ netcardconfig
    ifconfig eth0 10.1.77.141 netmask 255.255.255.240 broadcast 10.1.77.128 up
    route add default gw 10.1.77.1
    SIOCADDRT: Network is unreachable
    auto lo eth0
    Setting Nameserver in /etc/resolv.conf to 192.168.222.5
    Done.

    ************************************************** ************************************************** ************************************************** ***
    ************************************************** ************************************************** ************************************************** ***

    #route add -net 10.1.77.0 netmask 255.255.255.240 gw 10.1.77.141
    #route add -net default gw 10.1.77.1


    and lo and behold Im typing from knoppix !!!! Thank you darling!

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441

    Re: Static IP cannot ping

    I don't have answers for you, but I spotted some things in your post worth pointing out:

    Quote Originally Posted by devashish
    Heres the info, b.t.w I have Knoppix HD-install
    Well, this may be your first problem. Did it work fine from disc? If so then your problem is defined. If not then get it working from disc and worry about getting the blasphmy working later.

    Quote Originally Posted by devashish
    knoppix@Knoppix:~$ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0D:87:11:82:5F
    inet addr:10.1.77.141 Bcast:10.1.77.141 Mask:255.255.255.240
    This throws up some red flags for me. You're on a 10 network, which is a private network that can't be routed across the Internet. Unfortunately, we have no information about the real nature of the network. Is this a small home LAN? A work network? Something your ISP provides you? Is there a DHCP server on the network or do you assign the static addresses manually? But there's more: That mask indicates either a very very small network (14 computers max) or that the larger 10 network has been subdivided down to isolate a small group of machines. And the broacast address is just wrong. It is saying that all messages that your somputer should broadcast to the subnet should only go to itself. That's bad and will never work.


    Quote Originally Posted by devashish
    knoppix@Knoppix:~$ netcardconfig
    ifconfig eth0 10.1.77.141 netmask 255.255.255.240 broadcast 10.1.77.128 up
    Here the broadcast address is different, but still wrong. A broadcast address is always the highest address in the range assigned by the IP address and the mask, and as such it is always odd, it can never be even. It also can't be lower than the IP address.

    Quote Originally Posted by devashish
    Setting Nameserver in /etc/resolv.conf to 192.168.222.5
    Being that the 10 network is a private non-routable network, and that all 192.168.xxx.xxx networks are private and non-routable, I don't see how the 10.x.x.x network could ever talk to a nameserver on a 192.168 network.


    That's about all I have to offer. I don't support hard disk installs so I expect that this will be my last post. If this problem is limited to a hard disk install though and not running from disc then post back and I'll move it to the hdd forum where I expect it should be and you may find others who have fought with this before.

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    8
    I will try to set it up on the live cd boot to see how it does, the name server is 192.168.222.5, and thats the way it works on my windows xp on the same pc.
    as per the broadcast address, it was generated automatically, i tried going to the highest address in the range assigned by the IP address and the mask on my windows PC manually and I could go upto 10.1.77.158 which b.t.w is even.
    The nwtwork is something that the ISP provides me, its a huge collection of small LANS I guess.
    And thanks a lot of the reply, ill be back after trying it on the cd install and changing the broadcast address tio 10.1.77.158, which is the highest value my windpws box would take.

  4. #4
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by devashish
    i tried going to the highest address in the range assigned by the IP address and the mask on my windows PC manually and I could go upto 10.1.77.158 which b.t.w is even.
    I don't know if the mask 255.255.255.240 is correct or not. Lets assume for the moment that it is. This mask is a mask that "masks out" 16 addresses from IP space. Given the IP 10.1.77.141 these addresses would be 10.1.77.128 to 10.1.77.143. Note that 158 isn't even in this range, so it can't be right if the mask is right. Also note that 10.1.77.143 is odd. The first and last address in the range are always reserved. The first is one of several ways to refer to "myself" (seems like a waste to me), and the highest address is the broadcast address (10.1.77.143). The other 14 in this case (10.1.77.129 to 10.1.77.142) are the legal real address in this range defined by this mask. If you want more details or to prove me wrong, do a Google search (but be advised, more than one site on the Internet is confused by all this too and posts bad information, check your sources).

  5. #5
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by devashish
    I will try to set it up on the live cd boot to see how it does, the name server is 192.168.222.5, and thats the way it works on my windows xp on the same pc.
    I don't see how this can happen on a 10 network. Does your Windows box have VMware or some other virtualization software installed on it? VMware creates it's own private 192.168 network (I'm guessing the other virtualization software does too) and this might be what you think you are seeing. A complete printout of ipconfig /all from the windows box may help sort out what is really going on.

  6. #6
    Junior Member
    Join Date
    Jun 2007
    Posts
    8
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:\Documents and Settings\devashish>ipconfig -all

    Windows IP Configuration

    Host Name . . . . . . . . . . . . : Home-PC
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Unknown
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No

    Ethernet adapter Local Area Connection:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
    rnet NIC
    Physical Address. . . . . . . . . : 00-0D-87-11-82-5F
    Dhcp Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 10.1.77.141
    Subnet Mask . . . . . . . . . . . : 255.255.255.240
    Default Gateway . . . . . . . . . : 10.1.77.1
    DNS Servers . . . . . . . . . . . : 192.168.222.5

    I tried the smae thing on the cd boot as well, and same problem repeats ifconfig, route -n and netcardconfig give exactly the same output as above, when I run wireshark to analyse the network it can detect packets being sent by the gateway 10.1.77.1 some eaigrp or something which says "hello" and lots of other packets from other 10.1.77.x ips such as "who has " etc [/img]

  7. #7
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by devashish
    and lots of other packets from other 10.1.77.x ips such as "who has " etc
    Well, I still see no way a 10 address is going to reach a 192.168 address under this setup. No broadcast address shown. Tell me, those packets from other 10.1.77.x addresses, who are they addresses to? (If they are from 10.1.77.x addresses rather than from MAC addresses then they should be using the broadcast address.) Good luck with wireshark, it may well be what you need to puzzle this out, it is the approach that I would take.

  8. #8
    Junior Member
    Join Date
    Jun 2007
    Posts
    8
    The packets from wireshark are addressed to 10.1.77.255 and some are addressed to broadcast or 10.1.77.1, it hink my routing table is corrupt because it tires to use dhcp first can u tell me what is the correct way my routing table should look like from a broadcast address of 10.1.77.x? and how can i edit it to appear the same from the same it is in as show above?
    Thanks a lot for taking interest in my dilemma

  9. #9
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by devashish
    ....addressed to 10.1.77.255 and some are addressed to broadcast or 10.1.77.1, ....
    Strange addresses for a mask of 255.255.255.240. 10.1.77.255 could be the broadcast address if the mask was 255.255.255.0 or even if the mask was 255.255.255.128, but not 255.255.255.240. You would never broadcast to an address ending in .1 either, that always has to be a real address and not a broadcast address [the proof is left to the reader, but it's easy once you understand how IPs and masks work to produce a broadcast address. Hint: how many useable ip addresses would be in a subnet if it's broadcast address ended in .1 ?] (you might reply to a question sent from 10.1.77.1 asking about address resolution, but never broadcast to that address).

    Don't know what your routing table should look like. Your network makes no sense to me.

  10. #10
    Junior Member
    Join Date
    Jun 2007
    Posts
    8
    Quote Originally Posted by Harry Kuhman
    Well, I still see no way a 10 address is going to reach a 192.168 address under this setup. No broadcast address shown.
    Well thats the way it works on my windows and I am typing this on the internet, b.t.w my alternate DNS server is 202.88.149.6.
    Is there a way I can disable the IP routing in my linux? coz it doesn't seem to be enabled in my windows, say for instance if I try to ping www.google.com from my windows xp when the server is down I get replies from 10.1.77.1 which is the gateway. Also I tried Ubuntu its got the same prob, seems like I can recieve packets fine but theres an error sending packets

Page 1 of 2 12 LastLast

Similar Threads

  1. Harry, adding wireless networking document on FAQ
    By chip.ling in forum Networking
    Replies: 3
    Last Post: 07-31-2007, 11:43 PM
  2. Booting problem (title recommended by Harry Kuhman )
    By Gurgham in forum General Support
    Replies: 3
    Last Post: 07-21-2005, 03:20 PM
  3. FIXED, thanks!
    By brinstar117 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-01-2004, 01:46 AM

Posting Permissions

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


Atari 65XE Case, Metal Shielding, and Working Keyboard ONLY, No Motherboard picture

Atari 65XE Case, Metal Shielding, and Working Keyboard ONLY, No Motherboard

$50.00



ATARI 800 XL 8-Bit Computer w/ Power Supply picture

ATARI 800 XL 8-Bit Computer w/ Power Supply

$169.00



DEFECTIVE Atari 810 Vintage Computer Disk Drive  powers on Unit Only Boo G3D picture

DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D

$55.24



Vintage Atari 410 Program Recorder CIB Open Box Appears Unused 400 800 picture

Vintage Atari 410 Program Recorder CIB Open Box Appears Unused 400 800

$194.99



VTG Atari 800XL Home Computer Retro System Console Untested Parts Repair Only picture

VTG Atari 800XL Home Computer Retro System Console Untested Parts Repair Only

$119.99



Atari 800XL Home Computer Unit Only - UNTESTED, For Parts or Repairs picture

Atari 800XL Home Computer Unit Only - UNTESTED, For Parts or Repairs

$94.97



Atari 1040ST / STF with SM124 monitor + Mouse picture

Atari 1040ST / STF with SM124 monitor + Mouse

$489.99



Atari 800 Home Computer System 800 Untested picture

Atari 800 Home Computer System 800 Untested

$95.00



UNOCART-2600 SD card Multi Rom Cartridge for ATARI 2600 with CASE picture

UNOCART-2600 SD card Multi Rom Cartridge for ATARI 2600 with CASE

$34.25



Vintage Atari 800 Computer + 1050 Disk Drive Manuals Games Software Cables Power picture

Vintage Atari 800 Computer + 1050 Disk Drive Manuals Games Software Cables Power

$349.00