Besides and before the netmap line, I don't understand what are these settings:
So interfaces to set as gateway should be either:
ether2@vrf30 and ether3@vrf40
or
10.2.30.1@vrf30 and 10.2.40.1@vrf40
Or did you attribute (outside the posted configuration) the vrf30 and vrf40 names to the interfaces? If you have done that, maybe you could change the naming as to avoid possible confusion.
With these commands:/ip route
add dst-address=10.2.30.0/24 gateway=vrf30@vrf30
add dst-address=10.2.40.0/24 gateway=vrf40@vrf40
you are essentially creating two new routing tables called vrf30 and vrf40, to which - respectively - ether2 and ether3 belong to./ip vrf
add interfaces=ether2 name=vrf30
add interfaces=ether3 name=vrf40
So interfaces to set as gateway should be either:
ether2@vrf30 and ether3@vrf40
or
10.2.30.1@vrf30 and 10.2.40.1@vrf40
Or did you attribute (outside the posted configuration) the vrf30 and vrf40 names to the interfaces? If you have done that, maybe you could change the naming as to avoid possible confusion.
Statistics: Posted by jaclaz — Wed Apr 03, 2024 5:15 pm