Hi misc@,

I'm building a simple MPLS setup to route traffic from one laptop to
my home network, however I'm unable to properly setup something and
I'm not getting a route which pushes a label into an incoming packet.

The whole purpose of the setup is to study MPLS and VPNs over it. I
made a picture of my setup to clarify things: (
http://dl.dropbox.com/u/222135/partial.png ) .

I'm starting with 2 routers, but I intend to use 3 and do a ring
network (there is a TODO code about loops in the ldpd code btw...). I
could use more equipments, but I want to have something small working
first.

I learned a lot of things from: (
http://2011.eurobsdcon.org/papers/jeker/MPLS.pdf )

Configurations:
ALIX1: OpenBSD i386 5.1-current
ifconfig mpe0 192.168.1.130/32 -mplslabel 12345 up
route add default 192.168.1.254
ifconfig vr0 192.168.1.130
ifconfig vr1 10.0.3.1 mpls
ifconfig lo1 10.0.10.1/32
sysctl net.inet.ip.forwarding=1

ospfd.conf <<EOF
router-id 10.0.10.1

area 0.0.0.0 {
        interface vr1
        interface lo1
}
EOF

ldpd.conf <<EOF
router-id 10.0.10.1

interface vr1
EOF

ALIX3: OpenBSD i386 5.1-current
ifconfig mpe0 192.168.10.132/32 -mplslabel 54321 up
ifconfig vr0 192.168.10.132
ifconfig vr2 10.0.3.2 mpls
ifconfig lo1 10.0.10.3/32
sysctl net.inet.ip.forwarding=1

ospfd.conf <<EOF
router-id 10.0.10.3

area 0.0.0.0 {
        interface vr2
        interface lo1
}
EOF

ldpd.conf <<EOF
router-id 10.0.10.3

interface vr2
EOF

What am I missing??

Reply via email to