← Back to team overview

rohc team mailing list archive

ROHC

 

Hello,
          I downloaded the ROHC-1.2.0 package from launchpat.net. I
installed the
packages(automake,m4,autoconf,bison,flex,perl,libtool,help2man,texinfo,gcc,libpcap,gawk)
and compiled the package as follows:
step 1: ./autogen.sh --prefix=/usr/local/bin
step 2: make all
step 3: make install

Next created the virtual interface using

ifconfig eth0:rohc0 192.168.1.8 netmask 255.255.255.0 up

Next I executed rohctunnel in /usr/local/bin/bin as :

./rohctunnel eth0:rohc0 remote 192.168.1.7 local 192.168.1.8 port 5000

eth0:rohc0 created, fd 3
UDP socket created on port 5000, fd 4
[rohc_comp.c:67 rohc_alloc_compressor()] creating compressor
[rohc_comp.c:1302 c_piggyback_get()] add 0 byte(s) of feedback data
[rohc_comp.c:1302 c_piggyback_get()] add 0 byte(s) of feedback data
[rohc_comp.c:1302 c_piggyback_get()] add 0 byte(s) of feedback data
[rohc_comp.c:1302 c_piggyback_get()] add 0 byte(s) of feedback data

Is this right?

Next, I executed the command

ip link set eth0:rohc0
 ip -4 addr add 10.0.0.1/24 dev eth0:rohc0

Did this on both the systems and tried to  ping from one system to another
as:

ping 10.0.0.2

Next tried to capture those packets in another system using
tcpdump -v -x -i eth0:rohc0

The output is as follows:
tcpdump: listening on eth0:rohc0, link-type EN10MB (Ethernet), capture size
96 bytes
11:34:35.836636 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP
(1), length 108) 192.168.1.3 > 192.168.1.8: ICMP echo request, id 41486, seq
37, length 88
    0x0000:  4500 006c 0000 4000 4001 b735 c0a8 0103
    0x0010:  c0a8 0108 0800 6b62 a20e 0025 a16b df4b
    0x0020:  4a7c 0d00 0809 0a0b 0c0d 0e0f 1011 1213
    0x0030:  1415 1617 1819 1a1b 1c1d 1e1f 2021 2223
    0x0040:  2425 2627 2829 2a2b 2c2d 2e2f 3031 3233
    0x0050:  3435
11:34:35.905861 IP (tos 0x0, ttl 64, id 2844, offset 0, flags [none], proto
ICMP (1), length 108) 192.168.1.8 > 192.168.1.3: ICMP echo reply, id 41486,
seq 37, length 88
    0x0000:  4500 006c 0b1c 0000 4001 ec19 c0a8 0108
    0x0010:  c0a8 0103 0000 7362 a20e 0025 a16b df4b
    0x0020:  4a7c 0d00 0809 0a0b 0c0d 0e0f 1011 1213
    0x0030:  1415 1617 1819 1a1b 1c1d 1e1f 2021 2223
    0x0040:  2425 2627 2829 2a2b 2c2d 2e2f 3031 3233
    0x0050:  3435


>From the logs it can be seen that there is no compression happening.
Please point me in the right direction.

Regards,
Ramya

Follow ups