From owner-freebsd-questions@FreeBSD.ORG Thu Jan 29 16:33:47 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 089F81065672 for ; Thu, 29 Jan 2009 16:33:47 +0000 (UTC) (envelope-from arjan.van.der.oest@worldmax.nl) Received: from worldmax.nl (mail.worldmax.nl [81.28.80.135]) by mx1.freebsd.org (Postfix) with ESMTP id 687168FC0A for ; Thu, 29 Jan 2009 16:33:46 +0000 (UTC) (envelope-from arjan.van.der.oest@worldmax.nl) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3959 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Importance: normal Priority: normal Date: Thu, 29 Jan 2009 17:33:53 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re[2]: FreeBSD 7.1, routing tables, rc.conf Thread-Index: AcmCLkt0D6HRwgAASwSYTi4T8jAa5QAAKkUA References: <1868031977.20090129180026@yandex.ru> <161257714.20090129182553@yandex.ru> From: "Arjan van der Oest" To: "KES" Cc: questions@freebsd.org Subject: RE: Re[2]: FreeBSD 7.1, routing tables, rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 16:33:47 -0000 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 - route = add xxx' ? (http://www.freebsd.org/releases/7.1R/errata.html) --=20 Met vriendelijke groet / Kind Regards, Worldmax Operations B.V. =20 =20 Arjan van der Oest Network Design Engineer =20 T.: +31 (0) 88 001 7912 F.: +31 (0) 88 001 7902 M.: +31 (0) 6 10 62 58 46 =20 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-kes@yandex.ru]=20 Sent: donderdag 29 januari 2009 17:26 To: Arjan van der Oest Cc: questions@freebsd.org Subject: Re[2]: FreeBSD 7.1, routing tables, rc.conf =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5, Arjan. I mean: options ROUTETABLES=3D2 Then I do manually: setfib 0 route add default setfib 1 route add default in rc.conf I can do for FIB0: defaultrouter=3D"" How to do same thing for other routing tables? I exepct next feature to exists: defaultrouter_fib1=3D"" AvdO> What exactly do you mean with two routing tables? AvdO> --=20 AvdO> Met vriendelijke groet / Kind Regards, AvdO> Worldmax Operations B.V. AvdO> =20 AvdO> Arjan van der Oest AvdO> Network Design Engineer AvdO> =20 AvdO> T.: +31 (0) 88 001 7912 AvdO> F.: +31 (0) 88 001 7902 AvdO> M.: +31 (0) 6 10 62 58 46 AvdO> =20 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-questions@freebsd.org AvdO> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of KES AvdO> Sent: donderdag 29 januari 2009 17:00 AvdO> To: questions@freebsd.org AvdO> Subject: FreeBSD 7.1, routing tables, rc.conf AvdO> =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5, Questions. AvdO> I have two routing tables. AvdO> How to setup two default routes for each routing table in rc.conf? --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, KES mailto:kes-kes@yandex.ru No virus found in this incoming message. Checked by AVG - http://www.avg.com=20 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.