BIRD - Config Support for RFC 3107 - Carrying Label Information in BGP
    Maximilian Wilhelm 
    max at rfc2324.org
       
    Mon Jun 18 10:56:49 CEST 2018
    
    
  
Anno domini 2018 Thiruvazhiyan Lakshmanan scripsit:
Hi,
> When I tried to add " ip route add 192.168.1.0/24 encap mpls 100 via inet 10.10.101.1" I get "Error: either "to" is duplicate, or "encap" is a garbage."
> 
> root at ubuntu4-4-VM1:/proc/sys/net# ip route add 192.168.1.0/24 encap mpls 100 via inet 10.10.101.1
> Error: either "to" is duplicate, or "encap" is a garbage.
[...]
Did you activate MPLS via sysctl?
  sysctl -w net.mpls.platform_labels=n
where n is the highest MPLS label to be usable (integer) and
  sysctl -w net.mpls.conf.$iface.input=1
there $iface is/are the interface(s) to decapsulate MPLS labels on.
> root at ubuntu4-4-VM1:/proc/sys/net# uname -r
> 4.4.0-119-generic
This should work as far as I know.
Best
Max
-- 
"I have to admit I've always suspected that MTBWTF would be a more useful
 metric of real-world performance."
 -- Valdis Kletnieks on NANOG
    
    
More information about the Bird-users
mailing list