Permanent route
walter harms
wharms at bfs.de
Mon Mar 5 12:04:49 UTC 2012
Am 05.03.2012 12:54, schrieb Bernd Nachtigall:
> Hi,
>
> i want to add a permanent route. Which is the right file to do this?
>
> Is this /etc/rc.network_routing?
>
> Maybe there is a example how to do this in the right manner?
>
> TiA
>
> Bernd
Hello Bernd,
this depends on the way your distro is working.
Busybox can only provide the tools to do that.
the basic thing is "route" you need a line like that below
called in the beginning of your startup, after ifconfig
route add -net NET_IP netmask NET_MASK
see man route for more details.
hope that helps,
wh
More information about the busybox
mailing list