routed a zahozeni jedne cesty

Jan Pechanec jp at devnull.cz
Sat Sep 17 12:37:40 CEST 2005


On Sat, 17 Sep 2005, Josef Hrabec wrote:

> vybranou routu, dale jsem uz zkusil nahodit v rc.conf tu inkriminovanou
> statickou routu tam kam potrebuju, ale stejne mi pak prisla s toho druheho
> routeru a zacalo to routovat opet spatne

	to je divny. Administrativni distance statickych cest je jen tesne 
nad connected networks, dynamicky routing by nemel zmenit statickou routu. 
Navic to je jasne receny v routed(8):

Soon after being first started, and provided there is at least one interface 
on which RIP has not been disabled, routed deletes all pre-existing 
non-static routes in kernel table. Static routes in the kernel table are 
preserved and included in RIP responses if they have a valid RIP metric (see 
route(8)).

	samozrejme pokud routed prijde s mensim blokem nez je v tabulce, 
pakety pujdou za nim. Nepracuj s rc.conf, ale s 'route add', 'route delete', 
'route get' atd. dokud si neoveris, jak to vlastne funguje.

>
> jaky jiny protokol/daemon pouzivas a mas s nim dobre zkusenosti?

	hodne lidi pouziva na tyhle veci quaggu a jako protokol OSPF nebo 
BGP, podle toho co presne chteji delat.

	h.

>
> Pepa
>
> ----- Original Message ----- From: "Jan Pechanec" <jp at devnull.cz>
> To: "FreeBSD mailing list" <users-l at freebsd.cz>
> Sent: Saturday, September 17, 2005 11:44 AM
> Subject: Re: routed a zahozeni jedne cesty
>
>> nestaci ti rict, ktere routy jsi ochotny akceptovat? Na to je
>> trust_gateway parametr. Nebo tu jednu konkretni routu nahodit staticky tam
>> kam potrebujes. Nebo pouzit jiny protokol, routed jsem pouzival opravdu jen
>> kdyz jsem nemel dostatek pameti na neco jinyho. h.
>> 
>> -- 
>> Jan Pechanec <jp (at) devnull (dot) cz>
>> http://www.devnull.cz
>> -- 
>> FreeBSD mailing list (users-l at freebsd.cz)
>> http://www.freebsd.cz/listserv/listinfo/users-l
>> 
>
>

-- 
Jan Pechanec <jp (at) devnull (dot) cz>
http://www.devnull.cz



More information about the Users-l mailing list