[CentOS] iproute create policy routes after reboot
Ted Kaczmarek
tedkaz at optonline.net
Sat Oct 29 19:46:53 UTC 2005
On Fri, 2005-10-28 at 22:39 -0400, Robin Mordasiewicz wrote:
> Which files do I need to edit in order to initialize a route after a
> reboot.
>
> I have a 802.1q tagged VLAN interface which I need to create a rule, and a
> route for.
>
> I see on my CentOs 4.2 box that in /etc/iproute2 there are the following
> files. I realize that I can add my tables to /etc/iproute2/rt_tables, but
> when I want to create a rule I am not sure where to put the information
> for the next reboot.
>
> [root at smtcormx01 ~ ]# ls -la /etc/iproute2/
> total 104
> drwxr-xr-x 2 root root 4096 Oct 28 13:44 .
> drwxr-xr-x 87 root root 12288 Oct 28 21:47 ..
> -rw-r--r-- 1 root root 299 Feb 21 2005 rt_dsfield
> -rw-r--r-- 1 root root 286 Feb 21 2005 rt_dsfield.rt_config
> -rw-r--r-- 1 root root 296 Feb 21 2005 rt_protos
> -rw-r--r-- 1 root root 276 Feb 21 2005 rt_protos.rt_config
> -rw-r--r-- 1 root root 113 Feb 21 2005 rt_realms
> -rw-r--r-- 1 root root 112 Feb 21 2005 rt_realms.rt_config
> -rw-r--r-- 1 root root 98 Feb 21 2005 rt_scopes
> -rw-r--r-- 1 root root 92 Feb 21 2005 rt_scopes.rt_config
> -rw-r--r-- 1 root root 91 Feb 21 2005 rt_tables
> -rw-r--r-- 1 root root 87 Feb 21 2005 rt_tables.rt_config
>
> _______________________________________________
Interesting, I didn't think their was something stock for this, I always
spun my own sctipt for QOS policies when I was using htb qdisc a while
back.
Ted
More information about the CentOS
mailing list