Re: [mpls-linux-devel] MPLS example error
Status: Beta
Brought to you by:
jleu
From: sunil k. <sun...@gm...> - 2009-09-09 05:41:12
|
Hi Pali, Better u first try without ebtables. statically configure MPLS entries and make sure that MPLS working fine .. Sunil On Mon, Sep 7, 2009 at 2:49 AM, Pali <pal...@gm...> wrote: > Hi, > I'm trying to run simple MPLS example from this web page: > *http://sourceforge.net/apps/mediawiki/mpls-linux/index.php?title=Examples > > *I'm configuring LER router > > LER1 > ----- > brctl addbr br0 > brctl addif br0 eth1 > ip link set eth1 up > ip link set br0 up > mpls nhlfe add key 0 instructions push gen 1000 nexthop eth2 ipv4 172.16.0.3 > > (returns key 0x2) > ebtables -t nat -A PREROUTING -i eth1 -j mpls --nhlfe 0x2 > > > Last command failed: > > [root@localhost clovek]# ebtables -t nat -A PREROUTING -i eth1 -j mpls > --nhlfe 0x2 > >>> The kernel doesn't support a certain ebtables extension, consider > recompiling your kernel or insmod the extension. <<< > > I'm using Fedora 8, because I hope that it is ported on this OS correctly. > I have installed all your RPMs. > > [root@localhost clovek]# uname -a* > Linux localhost.localdomain 2.6.26.6-49.fc8.mpls.1.962 #1 SMP Mon Nov 17 > 22:10:38 CST 2008 i686 i686 i386 GNU/Linux* > > I know also, that problem is with the last parameter 0x2. > If I omit parameters "-j mpls --nhlfe 0x2", command end successfully. > [root@localhost clovek]# ebtables -t nat -A PREROUTING -i eth1 -j mpls > --nhlfe >>> 0x2 <<< > > Where could be the problem? I guess all modules are loaded successfully. > > [root@localhost clovek]# lsmod > Module Size Used by > ebt_mpls 6209 0 > ebtable_nat 6209 1 > ebtables 19777 2 ebt_mpls,ebtable_nat > bridge 45273 0 > rfcomm 32721 0 > l2cap 22081 9 rfcomm > bluetooth 47013 4 rfcomm,l2cap > autofs4 20933 2 > sunrpc 154785 3 > loop 16973 0 > dm_multipath 18633 0 > ipv6 238789 12 > parport_pc 26725 0 > floppy 52229 0 > parport 32173 1 parport_pc > pcspkr 6593 0 > pcnet32 31941 0 > mii 8385 1 pcnet32 > ac 8005 0 > i2c_piix4 11473 0 > i2c_core 20949 1 i2c_piix4 > sg 31605 0 > sr_mod 17541 0 > cdrom 33377 1 sr_mod > ata_piix 19525 0 > libata 132065 1 ata_piix > dm_snapshot 18661 0 > dm_zero 5825 0 > dm_mirror 19521 0 > dm_log 12229 1 dm_mirror > dm_mod 48265 10 > dm_multipath,dm_snapshot,dm_zero,dm_mirror,dm_log > mptspi 19145 2 > mptscsih 31169 1 mptspi > mptbase 67493 2 mptspi,mptscsih > scsi_transport_spi 23233 1 mptspi > sd_mod 26329 3 > scsi_mod 123917 7 > sg,sr_mod,libata,mptspi,mptscsih,scsi_transport_spi,sd_mod > ext3 110281 2 > jbd 41173 1 ext3 > mbcache 10309 1 ext3 > uhci_hcd 22993 0 > ohci_hcd 22853 0 > ehci_hcd 32845 0 > > Or another question, what is the easiest way, how to try your examples and > see how is MPLS is working? I'm using Vmware server, so I could install > different OS, for example FC10 i686. > > Thank you in advance. > > > -- > Ak si prajes aby som cital tvoj mail do 5 min, tak napis do predmetu X5. > Na skype som dostupny stale, len mi daj vediet aby som sa prihlasil. > > << 0903 48 47 40 >> mobil > << 309458351 >> icq > << ortseamo >> skype > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel > > |