<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: RE: Error: got short packet from ....
From: Paul Hamm <paulhamm,AT,OpenRatings,DOT,com>
Date: Fri, 8 Mar 2002 15:58:52 +0100

I found the examples confusing so I started messing around.  What I found is
that the cipe virtual device works just like any other ethernet type
connection.  So I used standard routing tekniques to make it work.  I am
using machines running RedHat 7.2 distro with all the available updates and
the Redhat release of cipe.

      10.1.0.1              10.1.0.0/24              10.1.0.254
        +----------------  Cipe device  ------------------+
        ~                                                 ~
        +-----------------  Internet  --------------------+
        | Pub IPA                                         | Pub IPB
+---------------+                                 +---------------+
|               |                                 |               |
|      A        |                                 |      B        |
|               |                                 |               |
+---------------+                                 +---------------+
        |                                                 |
    +------+  Subnet A 10.0.1.0/24                    +-------+  Subnet B
10.0.2.0/24

Now just build your routes.
you need to add one for the 10.1.0.0/24 subnet on each machine.  You will
also need to add one for they different private subnets.  This is what I
have up and running.

On machine A
route add -net 10.1.0.0 netmask 255.255.255.0 cipcb0
route add -net 10.0.2.0 netmask 255.255.255.0 gw 10.1.0.254

On machine B
route add -net 10.1.0.0 netmask 255.255.255.0 cipcb0
route add -net 10.0.1.0 netmask 255.255.255.0 gw 10.1.0.1

This works fine as long as the respective private subnets use Machine A and
B as the default gateway.

-----Original Message-----
From: Jeremy Alves [mailto:jalves-cipe,AT,area,DOT,com
Sent: Friday, March 08, 2002 1:03 AM
To: cipe-l,AT,inka,DOT,de
Subject: Error: got short packet from ....

Hi,
I can't seemt to get any traffic to succesfully flow across cipe.
I get a bunch of "got short packet from (the other's sides normal IP)" 
in the log fils, and ifconfig reports errors whenever a side receives
a packet (i.e. ping).

I was running IP tables but I get the same results with those turned
off.  This is with cipe-snapshot-20020227 - I would try 1.5.2, but I'm
using the 2.4.18 linux kernel.

The machines are connected together across a wireless network and a 
wireless access point connected to an ethernet port, and have no 
problems talking to each other through other channels.

Any suggestions?

Here's the output of dmesg:

on a machine with IP 192.168.169.34:
    cipdb: CIPE driver vers 1.6.pre-20020227 (c) Olaf Titz 1996-2000, 100
channels, debug=1
    cipdb: rtnl_lock() at ../cipe/device.c:671
    cipdb: cipe_alloc_dev 0
    cipdb: rtnl_unlock() at ../cipe/device.c:673
    cipdb0: alloc
    cipdb: read_lock(&tasklist_lock) at ../cipe/device.c:258
    cipdb: read_unlock(&tasklist_lock) at ../cipe/device.c:267
    cipdb0: setpar
    lebf_lock: 1
    cipdb0: setpar 0.0.0.0:0 1000 60000 0200 0
    cipdb0: setkey
    cipdb0: attach
    cipdb0: opened
    cipdb0: cipe_sendmsg
    cipdb0: cipe_recvmsg
    cipdb0: got short packet from 192.168.169.1

and on a machine with IP 192.168.169.1:
    ...
    cipdb0: alloc
    cipdb: read_lock(&tasklist_lock) at ../cipe/device.c:258
    cipdb: read_unlock(&tasklist_lock) at ../cipe/device.c:262
    cipdb0: setpar
    lebf_lock: 1
    cipdb0: setpar 0.0.0.0:0 1000 60000 0200 0
    cipdb0: setkey
    cipdb0: attach
    cipdb0: opened
    cipdb0: cipe_sendmsg
    cipdb0: cipe_recvmsg
    cipdb0: got short packet from 192.168.169.34

The files in /etc/cipe/pk are from the example,
(ipaddr 10.0.2.1 and ptpaddr 10.0.1.1 for one, and
 ipaddr 10.0.1.1 and ptpaddr 10.0.2.1 for the other)
and ip-up and ip-down are identical to the example too.

Thanks for any help.

-Jeremy

--
Message sent by the cipe-l,AT,inka,DOT,de mailing list.
Unsubscribe: mail majordomo,AT,inka,DOT,de, "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive:
<URL:http://sites.inka.de/~bigred/devel/cipe.html>





<< | Thread Index | >> ]    [ << | Date Index | >> ]