How to set static route in yocto for rpi


Khem Raj
 

On 2/27/21 2:18 AM, prashantsingh@dialtronics.com wrote:
Dear Team,
I'm using yocto-dunfell poky for my CM3(Raspberrypi) OS.
In this I want to set static route for wan port. So how I can do the same.
I've tried several method from Internet for setting static route in linux, not succeeded.
Please help me with this to solve this.
ip route cmd would be the way to go

ip route [ add | del | change | append | replace ] destination-address


Thanks and Regards.


@prashant2314
 

Dear Team,

I'm using yocto-dunfell poky for my CM3(Raspberrypi) OS.

In this I want to set static route for wan port. So how I can do the same.

I've tried several method from Internet for setting static route in linux, not succeeded. 
Please help me with this to solve this.

Thanks and Regards.