Hi,
I am trying to set ip next-hop in exabgp using the API.
It seems that redirect <ip address> works fine.
neighbor 23.1.1.33 announce flow route source 1.0.4.1/32 destination 12.1.1.2/32 protocol [ 17 ] source-port [=345] destination-port [=80] redirect 10.10.10.1
But I cannot get the option below to work:
neighbor 23.1.1.33 announce flow route source
1.0.4.1/32 destination
12.1.1.2/32 protocol [ 17 ] source-port [=345] destination-port [=80] redirect-to-nexthop
My config file seems valid and passes the parsing check.
neighbor 23.1.1.11 {
local-address 192.168.2.10;
router-id 192.168.2.10;
adj-rib-out false;
local-as 64512;
peer-as 64512;
group-updates;
family {
ipv4 unicast;
ipv4 flow;
ipv4 nlri-mpls;
}
flow {
route test {
next-hop 192.168.1.183;
}
}
api {
processes [ http-api ];
}
capability {
add-path send;
}
}
Am I missing something here? My router does not program any action.
Thanks
Russell