LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   pinging problem (https://www.linuxquestions.org/questions/linux-networking-3/pinging-problem-325532/)

cranium2004 05-20-2005 08:48 PM

pinging problem
 
Hello,
Please i require help from you peoples. I am running ethereal on linux on pcs with pc1 with ip address=192.18.1.250 and pc2 with ip=192.168.1.10. I am pinging from pc1 to p2 but sometimes packet goes normal way and sometimes i think frame corrupted. Following my capture analysis ON PC2. First Frame is corrupted why? frame5 correctly received.
what is the reason i am not able to receive frame correctly sometimes?
Does following packet makes entry in ifconfig anyalysis. I check but no counter increased on PC2. neither packet counted as RX packets nor dropped why?
Code:

eth1      Link encap:Ethernet  HWaddr 00:08:A1:43:61:F5 
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:33 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3494 (3.4 Kb)  TX bytes:2246 (2.1 Kb)
          Interrupt:9 Base address:0x9c00


No.    Time        Source                Destination          Protocol Info
      1 0.000000    40:00:40:01:b6:54    45:00:00:54:00:00    0xc0a8  Ethernet II

Frame 1 (98 bytes on wire, 98 bytes captured)
    Arrival Time: May 20, 2005 15:57:13.599959000
    Time delta from previous packet: 0.000000000 seconds
    Time since reference or first frame: 0.000000000 seconds
    Frame Number: 1
    Packet Length: 98 bytes
    Capture Length: 98 bytes
    Protocols in frame: eth:data
Ethernet II, Src: 40:00:40:01:b6:54, Dst: 45:00:00:54:00:00
    Destination: 45:00:00:54:00:00 (45:00:00:54:00:00)
    Source: 40:00:40:01:b6:54 (40:00:40:01:b6:54)
    Type: Unknown (0xc0a8)
Data (84 bytes)

0000  45 00 00 54 00 00 40 00 40 01 b6 54 c0 a8 01 fa  E..T..@.@..T....
0010  c0 a8 01 0a 08 00 df 9d 52 0e 00 01 22 bf 8d 42  ........R..."..B
0020  1e 4e 0d 00 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13  .N..............
0030  14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23  ............ !"#
0040  24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33  $%&'()*+,-./0123
0050  34 35 36 37 00 00 00 00 00 00 00 00 00 00 00 00  4567............
0060  00 00                                            ..

Frame 5 (98 bytes on wire, 98 bytes captured)
    Arrival Time: May 20, 2005 16:12:42.872068000
    Time delta from previous packet: 177.629913000 seconds
    Time since reference or first frame: 182.659884000 seconds
    Frame Number: 5
    Packet Length: 98 bytes
    Capture Length: 98 bytes
    Protocols in frame: eth:ip:icmp:data
Ethernet II, Src: 00:08:a1:43:62:91, Dst: 00:08:a1:43:61:f5
    Destination: 00:08:a1:43:61:f5 (192.168.1.10)
    Source: 00:08:a1:43:62:91 (CnetTech_43:62:91)
    Type: IP (0x0800)
Internet Protocol, Src Addr: 192.168.1.250 (192.168.1.250), Dst Addr: 192.168.1.10 (192.168.1.10)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 84
    Identification: 0x0000 (0)
    Flags: 0x04 (Don't Fragment)
        0... = Reserved bit: Not set
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: ICMP (0x01)
    Header checksum: 0xb654 (correct)
    Source: 192.168.1.250 (192.168.1.250)
    Destination: 192.168.1.10 (192.168.1.10)
Internet Control Message Protocol
    Type: 8 (Echo (ping) request)
    Code: 0
    Checksum: 0xdf9d (correct)
    Identifier: 0x520e
    Sequence number: 0x0001
    Data (56 bytes)

0000  00 08 a1 43 61 f5 00 08 a1 43 62 91 08 00 45 00  ...Ca....Cb...E.
0010  00 54 00 00 40 00 40 01 b6 54 c0 a8 01 fa c0 a8  .T..@.@..T......
0020  01 0a 08 00 df 9d 52 0e 00 01 22 bf 8d 42 1e 4e  ......R..."..B.N
0030  0d 00 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15  ................
0040  16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25  .......... !"#$%
0050  26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35  &'()*+,-./012345
0060  36 37                                            67


elluva 05-21-2005 07:25 AM

sure that your cables are ok?

cranium2004 05-21-2005 08:18 AM

Yes its correct just check between 2 other pcs its working.
can you tell me whether if packets are discarded by NIC will it make entry in ifconfig status? In my case i think packet is dropping by NIC.


All times are GMT -5. The time now is 04:33 PM.