On Fri, Nov 05, 2010 at 03:43:07PM +0100, Vladimir Ostrovskiy wrote: > 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 >
Please just include tcpdump -nvi vic1 -X and tcpdump -nvi gre0 -X output. Tcpdump is in base for a reason. Include route -n show -mpls as well please. AF 33 is MPLS and gre(4) so that seems to be OK. -- :wq Claudio