I want ros1 to be the master and ros2 to be the slave;
I don't know how to do it, so I guess and try:
all the test , i set the ospf redistribute-static to astype1 and astype2 respectively
------Experiment 1 failed---------
ros1:
Code: Select all
/ip rou add dst-address=6.6.6.6 gateway=pppoe1 distance=100
Code: Select all
/ip rou add dst-address=6.6.6.6 gateway=pppoe1 distance=200
ros1:
Code: Select all
/routing filter add chain=ospf-out action=accept prefix=6.6.6.6/32 set-distance=100
Code: Select all
/routing filter add chain=ospf-out action=accept prefix=6.6.6.6/32 set-distance=200
ros2:
Code: Select all
/routing ospf instance set 0 metric-static=50
i found ospf redistribute-static just reference the parameter "metric-static=20" of its instance;
so i set ros2 ospf-instance-metric-static=50 , then I achieved the desired effect;
but!!
if i have another route 7.7.7.7/32 ,and ros2 is the master and ros1 is the slave , I won't be able to achieve it anymore
Other brands of routers that I have used can set cost separately when importing a static route, so I would like to ask for help on how to implement it in ROS
Thanks