Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2009 17:33:53 +0100
From:      "Arjan van der Oest" <arjan.van.der.oest@worldmax.nl>
To:        "KES" <kes-kes@yandex.ru>
Cc:        questions@freebsd.org
Subject:   RE: Re[2]: FreeBSD 7.1, routing tables, rc.conf
Message-ID:  <FC5FF0B613540249959195342B6D034C7547BE@worldmax-sbs01.Worldmax.local>
References:  <1868031977.20090129180026@yandex.ru> <FC5FF0B613540249959195342B6D034C7547BA@worldmax-sbs01.Worldmax.local> <161257714.20090129182553@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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)

--=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 <G.A.T.E1>
setfib 1 route add default <G.A.T.E2>

in rc.conf I can do for FIB0:
defaultrouter=3D"<GATE1>"

How to do same thing for other routing tables?

I exepct next feature to exists:
defaultrouter_fib1=3D"<GATE2>"



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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FC5FF0B613540249959195342B6D034C7547BE>