Re: [mpls-linux-general] RTNETLINK no such device
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2002-11-18 21:25:18
|
On Mon, Nov 18, 2002 at 09:55:26PM +0100, Olivier Delcourt wrote: > Hello, > > First, I'm sorry if this question has already been answered. Mailing list > archives seem to be down for hours now... strange. > > I've patched stock 2.4.19 kernel with the following options enabled: MPLS, > network packet filtering, IP tables support (packet mangling, MPLS target > support). > I've compiled mplsadm with no problems. I've patched > iproute2-2.4.7-now-ss020116 without any problems. > > Now, the problem is (same problem with another iproute2 version): > when trying > mplsadm -A -O 0 -o push:gen:16:set:eth0:ipv4:128.104.18.114 (returns key > 0x02 for example, which is also in /proc/net/mpls_out) > ip route add 128.104.18.114/32 lsp 0x02 You need to have atleast an outgoing device. This is not a restriction makde by MPLS, but a restriction made by the IPv4 stack. It needs the outgoing interface so it can figure out the source address to use on locally originated packets that use this route entry. Try something like: ip route add 128.104.18.114/32 lsp 0x02 dev eth1 > I got RTNETLINK: no such device. > > What's the problem? Kernel or iproute2? > > Thanks a lot. > O.D. > > > _________________________________________________________________ > MSN Messenger : discutez en direct avec vos amis ! > http://www.msn.fr/msger/default.asp > > > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |