Re: what are the iproute2 rules and routes startup scripts
From: Alexander Dalloz (ad+lists_at_uni-x.org)
Date: 10/30/05
- Previous message: Derek Johnson: "FC4 Boot Disk not working"
- In reply to: Robin Mordasiewicz: "what are the iproute2 rules and routes startup scripts"
- Next in thread: Robin Mordasiewicz: "Re: what are the iproute2 rules and routes startup scripts"
- Reply: Robin Mordasiewicz: "Re: what are the iproute2 rules and routes startup scripts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: For users of Fedora Core releases <fedora-list@redhat.com> Date: Sun, 30 Oct 2005 21:35:17 +0100
Am Sa, den 29.10.2005 schrieb Robin Mordasiewicz um 19:35:
> How do I configure iproute2 rules and route tables to automatically start
> at boot time, or to be run when the network script is run
>
> ie. I can issue the following commands, but when the machine reboots the
> settings are not automtically set. Typically I have been accustomed to
> editing /etc/sysconfig/network to establist a default route, but I need to
> configure multiple routing tables. I can edit /etc/iproute2/rt_tables to
> add the table names, but where do I put the config settings for the rules
> and routes.
>
>
> [root@localhost]# ip route add default via 10.90.2.1 dev bond0.902 table 11
> [root@localhost]# ip ru add from 10.90.2.244/32 table 11 priority 500
device specific routes: /etc/sysconfig/network-scripts/route-<device>
device independent routes:
/etc/sysconfig/static-routes
Both take "ip route" syntax, only "static-routes" requires a leading
"any" for each line. See /usr/share/doc/initscripts-*/sysconfig.txt for
more.
Alexander
-- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp Serendipity 21:30:59 up 1 day, 19:31, load average: 0.16, 0.19, 0.18
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- application/pgp-signature attachment: Dies ist ein digital signierter Nachrichtenteil
- Previous message: Derek Johnson: "FC4 Boot Disk not working"
- In reply to: Robin Mordasiewicz: "what are the iproute2 rules and routes startup scripts"
- Next in thread: Robin Mordasiewicz: "Re: what are the iproute2 rules and routes startup scripts"
- Reply: Robin Mordasiewicz: "Re: what are the iproute2 rules and routes startup scripts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]