質問

I need to add 200 routes using /sbin/route when my linux is switching ip familly.

My problem is adding or deleting 200 routes takes many times on my board and I need to find a way to do it quicker.

Is there a way to add a group of routes ? or do I need to customize the /sbin/route app ?

I need help :)

役に立ちましたか?

解決

I found a way.

it was the spawn time from my bash which was taking time. so i added my 100 routes whith 1 call of bash -c.

It results by a gain of 200% of time.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top