[mpls-linux-general] Problem with Ethernet over MPLS example
Status: Beta
Brought to you by:
jleu
From: Dunc <dun...@th...> - 2008-01-27 13:48:39
|
Hi everyone, Firstly, I'm new to MPLS, I'm having a go with mpls-linux to try and get the concepts firmly in my head. I'm also new to Fedora, but have experience with Linux for many years, and using the Fedora packages seemed like the easiest way to get a working system. I'm trying out the first example, "Ethernet over MPLS example for mpls-linux-1.95x <http://sf.net/docman/display_doc.php?docid=31115&group_id=15443>" Everything looks good until I get to the ebtables line...... [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 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 --nhlfe 0x2 The kernel doesn't support a certain ebtables extension, consider recompiling your kernel or insmod the extension. [root@MPLS-LER-1 ~]# Now, I'm sure I have an MPLS enabled kernel:- [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 EST 2008 i686 i686 i386 GNU/Linux [root@MPLS-LER-1 ~]# cat /proc/sys/net/mpls/debug 1 .... and the correct version of ebtables:- [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 ....and have got these modules loaded:- [root@MPLS-LER-1 ~]# lsmod | grep eb ebt_mpls 6209 0 ebtable_nat 6081 0 ebtables 19905 2 ebt_mpls,ebtable_nat When trying the ebtables line, this is what I get in dmesg:- [root@MPLS-LER-1 ~]# dmesg | tail -n 1 mpls: unable to find ETH_P_ALL driver [root@MPLS-LER-1 ~]# Can anyone tell me where I'm going wrong, or even just point me in the right direction? Thanks in advance, Dunc -- Duncan Lockwood Network Team Leader The Bunker Secure Hosting Limited Ash Radar Station Marshborough Road Sandwich Kent CT13 OPL UNITED KINGDOM t: 01304 814 800 f: 01304 814 899 e: du...@th... w: www.thebunker.net PGP on Key Servers |