Re: [mpls-linux-general] Problem with Ethernet over MPLS example
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2008-01-27 16:39:23
|
You probably need to load the mplsbr driver which adds specific hook for ethernet over MPLS. You may have already loaded the mpls4 driver which adds specific hooks needed to run IPv4 over MPLS. On Sun, Jan 27, 2008 at 01:48:09PM +0000, Dunc wrote: > Hi everyone, >=20 > Firstly, I'm new to MPLS, I'm having a go with mpls-linux to try and get= =20 > the concepts firmly in my head. >=20 > I'm also new to Fedora, but have experience with Linux for many years,=20 > and using the Fedora packages seemed like the easiest way to get a=20 > working system. >=20 >=20 > I'm trying out the first example, "Ethernet over MPLS example for=20 > mpls-linux-1.95x=20 > <http://sf.net/docman/display_doc.php?docid=3D31115&group_id=3D15443>" >=20 > Everything looks good until I get to the ebtables line...... >=20 > [root@MPLS-LER-1 ~]# brctl addbr br0 > [root@MPLS-LER-1 ~]# brctl addif br0 eth3 > [root@MPLS-LER-1 ~]# ip link set eth3 up > [root@MPLS-LER-1 ~]# ip link set br0 up > [root@MPLS-LER-1 ~]# mpls nhlfe add key 0 instructions push gen 1000=20 > nexthop eth4 ipv4 172.16.0.3 > NHLFE entry key 0x00000002 mtu 0 propagate_ttl > (0 bytes, 0 pkts) > [root@MPLS-LER-1 ~]# ebtables -t nat -A PREROUTING -i eth3 -j mpls=20 > --nhlfe 0x2 > The kernel doesn't support a certain ebtables extension, consider=20 > recompiling your kernel or insmod the extension. > [root@MPLS-LER-1 ~]# >=20 >=20 > Now, I'm sure I have an MPLS enabled kernel:- >=20 > [root@MPLS-LER-1 ~]# uname -a > Linux MPLS-LER-1 2.6.23.9-85.fc8.mpls.1.959 #1 SMP Thu Jan 17 01:14:18=20 > EST 2008 i686 i686 i386 GNU/Linux >=20 > [root@MPLS-LER-1 ~]# cat /proc/sys/net/mpls/debug > 1 >=20 > .... and the correct version of ebtables:- >=20 > [root@MPLS-LER-1 ~]# yum info ebtables > Installed Packages > Name : ebtables > Arch : i386 > Version: 2.0.8 > Release: 3.fc8.mpls.1.959 > Size : 203 k > Repo : installed >=20 > ....and have got these modules loaded:- >=20 > [root@MPLS-LER-1 ~]# lsmod | grep eb > ebt_mpls 6209 0 > ebtable_nat 6081 0 > ebtables 19905 2 ebt_mpls,ebtable_nat >=20 >=20 >=20 >=20 > When trying the ebtables line, this is what I get in dmesg:- >=20 >=20 > [root@MPLS-LER-1 ~]# dmesg | tail -n 1 > mpls: unable to find ETH_P_ALL driver > [root@MPLS-LER-1 ~]# >=20 >=20 > Can anyone tell me where I'm going wrong, or even just point me in the=20 > right direction? >=20 > Thanks in advance, >=20 > Dunc >=20 > --=20 > Duncan Lockwood > Network Team Leader >=20 > The Bunker Secure Hosting Limited =20 > Ash Radar Station > Marshborough Road > Sandwich > Kent CT13 OPL > UNITED KINGDOM >=20 > t: 01304 814 800 > f: 01304 814 899 > e: du...@th... > w: www.thebunker.net > PGP on Key Servers >=20 >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |