the 'route' command is not MPLS enabled. It is the 'ip' command that
has been modified.
If you have the correct RPM innstalled you should be able to do:
ip route add 10.0.0.0/24 via 192.168.1.1 mpls 0x2
^^^^^^^^
On Tue, Nov 03, 2009 at 08:00:40PM -0800, kuldonk doenk wrote:
> Hi everybody and mr james leu.
>
> i built testbed MPLS on fedora 8 with MPLS: version 1.962
>
> i'm confused with command routing table.
>
> when i typed:
> [root@localhost ~]# route add -net 192.168.2.2 netmask
> 255.255.255.0 gw 192.168.2.2 mpls 0x2
>
> but the result is :
> Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw
> Gw] [metric M] [[dev] If]
> inet_route
> [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
> [netmask N] [mss Mss] [window W] [irtt I]
> [mod] [dyn] [reinstate] [[dev] If]
> inet_route
> [-vF] add {-host|-net} Target[/prefix] [metric M] reject
> inet_route
> [-FC] flush NOT supported
>
>
> even when i typed
> [root@localhost mpls]#ip route add 192.168.5.2/32 via
> 192.168.5.2 spec_nh 0x8847 0x2
> result is:
> Error: either "to" is duplicate, or
> "spec_nh" is a garbage
>
> how is command correct for adds IP routing table in MPLS
> kernel 1.962
> fedora 8??
>
>
>
--
James R. Leu
jl...@mi...
|