Funny, I wasn't aware of this new option in 7.1, hence my question. From what I see some stuff is already modified to use this new option (like ipfw), but others require the setfib utility. I'm not sure if you can add routes directly from rc.conf, but why not try 'setfib -<fib> route add xxx' ?
(http://www.freebsd.org/releases/7.1R/errata.html) -- Met vriendelijke groet / Kind Regards, Worldmax Operations B.V. Arjan van der Oest Network Design Engineer T.: +31 (0) 88 001 7912 F.: +31 (0) 88 001 7902 M.: +31 (0) 6 10 62 58 46 GPG: https://keyserver.pgp.com/ (Key ID: 07286F78) fingerprint: 2E9F 3AE2 0A8B 7579 75A9 169F 5D9E 5312 0728 6F78 -----Original Message----- From: KES [mailto:kes-...@yandex.ru] Sent: donderdag 29 januari 2009 17:26 To: Arjan van der Oest Cc: questi...@freebsd.org Subject: Re[2]: FreeBSD 7.1, routing tables, rc.conf Здравствуйте, Arjan. I mean: options ROUTETABLES=2 Then I do manually: setfib 0 route add default <G.A.T.E1> setfib 1 route add default <G.A.T.E2> in rc.conf I can do for FIB0: defaultrouter="<GATE1>" How to do same thing for other routing tables? I exepct next feature to exists: defaultrouter_fib1="<GATE2>" AvdO> What exactly do you mean with two routing tables? AvdO> -- AvdO> Met vriendelijke groet / Kind Regards, AvdO> Worldmax Operations B.V. AvdO> AvdO> Arjan van der Oest AvdO> Network Design Engineer AvdO> AvdO> T.: +31 (0) 88 001 7912 AvdO> F.: +31 (0) 88 001 7902 AvdO> M.: +31 (0) 6 10 62 58 46 AvdO> AvdO> GPG: https://keyserver.pgp.com/ (Key ID: 07286F78) fingerprint: AvdO> 2E9F 3AE2 0A8B 7579 75A9 169F 5D9E 5312 0728 6F78 AvdO> -----Original Message----- AvdO> From: owner-freebsd-questi...@freebsd.org AvdO> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of KES AvdO> Sent: donderdag 29 januari 2009 17:00 AvdO> To: questi...@freebsd.org AvdO> Subject: FreeBSD 7.1, routing tables, rc.conf AvdO> Здравствуйте, Questions. AvdO> I have two routing tables. AvdO> How to setup two default routes for each routing table in rc.conf? -- С уважением, KES mailto:kes-...@yandex.ru No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.15/1921 - Release Date: 1/28/2009 6:37 AM Internet communications are not secure; therefore, the integrity of this e-mail cannot be guaranteed following transmission on the Internet. This e-mail may contain confidential information. If you have received this e-mail in error, please notify the sender and erase this e-mail. Use of this e-mail by any person other than the addressee is strictly forbidden. This e-mail is believed to be free of any virus that might adversely affect the addressee's computer system; however, no responsibility is accepted for any loss or damage arising in any way from its use. All the preceding disclaimers also apply to any possible attachments to this e-mail. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"