gre mpls packet decapsulation (4.8/i386)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vladimir Ostrovskiy
Date: Friday, November 5, 2010 - 7:43 am

Hello All,
  a question:
   i have a setup where an mpls P router sends via GRE SDP (service delivery
path) traffic to an openbsd machine,
   acting as a PE, i need to have my traffic decapsulated to the original
payload (minus gre, minus mpls headers)
  however i have difficulties getting proper payload after a gre interface.

  following interfaces are configured. original ip addresses are replaced
with A and B.

vic1: flags=88843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,MPLS> mtu 1530
lladdr 00:50:56:01:00:9e
priority: 0
media: Ethernet autoselect
status: active
inet ___A___ netmask 0xfffffff8 broadcast __C__

gre0: flags=89011<UP,POINTOPOINT,LINK0,MULTICAST,MPLS> mtu 1476
priority: 0
groups: gre
physical address inet  ___A___--> ___B___
inet ___A___--> ___B___netmask 0xff000000

mpe1: flags=51<UP,POINTOPOINT,RUNNING> mtu 1500
priority: 0
mpls label: 13001
groups: mpe

lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33200
priority: 0
groups: lo
inet 192.168.255.1 netmask 0xffffff00

a packet comes in with following stack, as captured on the vic1. there in
MPLS header i have expected label 13001 which should be "poped", see
attachment, gre-mpls-packet.png,
however on the gre0 interface at the same time i see some family 33 header,
prepending the payload of original packet starting with the mpls header, see
attachment: data-packet.png

 i run a custom 4.8 kernel on i386 with MP, MPLS and mpe enabled

cheers!
Vladimir

[demime 1.01d removed an attachment of type image/png which had a name of gre-mpls-packet.png]

[demime 1.01d removed an attachment of type image/png which had a name of data-packet.png]
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
gre mpls packet decapsulation (4.8/i386), Vladimir Ostrovskiy, (Fri Nov 5, 7:43 am)
Re: gre mpls packet decapsulation (4.8/i386), Claudio Jeker, (Fri Nov 5, 8:08 am)
Re: gre mpls packet decapsulation (4.8/i386), Vladimir Ostrovskiy, (Fri Nov 5, 8:18 am)
Re: gre mpls packet decapsulation (4.8/i386), Vladimir Ostrovskiy, (Fri Nov 5, 8:21 am)
Re: gre mpls packet decapsulation (4.8/i386), Stuart Henderson, (Fri Nov 5, 10:13 am)
Re: gre mpls packet decapsulation (4.8/i386), Vladimir Ostrovskiy, (Fri Nov 5, 10:22 am)
Re: gre mpls packet decapsulation (4.8/i386), Claudio Jeker, (Mon Nov 8, 2:08 am)
Re: gre mpls packet decapsulation (4.8/i386), Vladimir Ostrovskiy, (Mon Nov 8, 2:37 am)
Re: gre mpls packet decapsulation (4.8/i386), Claudio Jeker, (Mon Nov 8, 3:15 am)