Article View: pl.comp.os.linux.sieci
Article #243941Re: dhcpd.conf static route do sieci
From: Stachu 'Dozzie' K.
Date: Fri, 02 Aug 2013 10:27
Date: Fri, 02 Aug 2013 10:27
37 lines
2425 bytes
2425 bytes
On 2013-08-02, MaRc <tuksmr@gmail.com> wrote:
> Witam
> Szukam opcji w dhcpd.conf by do klientów wypchnąc ściezki routingu
> znalazłem opcję:
> #v+
> option static-routes 10.21.0.0 2.3.4.5;
> #v-
> ale niestety na kliencie tworzy się route:
> 10.21.0.0/255.255.255.255
>
> opcja ta nie przyjmuje maski ani prefixu dla sieci, mozna podać routing
> tylko do jednego hosta.
A to nie jest w dokumentacji do ISC DHCP opisane w ten sposób?
#v+
option static-routes ip-address ip-address
[, ip-address ip-address...];
This option specifies a list of static routes that the client should
install in its routing cache.
[...]
Also,
please note that this option is not intended for classless IP routing
- it does not include a subnet mask. Since classless IP routing is
now the most widely deployed routing standard, this option is virtu‐
ally useless, and is not implemented by any of the popular DHCP
clients, for example the Microsoft DHCP client.
#v-
> jak z poziomu dhcpd podać klientowi ścieżkę routingu do sieci?
Chyba musisz sam zdefiniować nowy rekord, zgodny z RFC 3442.
http://tools.ietf.org/html/rfc3442
--
Secunia non olet.
Stanislaw Klekot
Technical Details
Message-ID:
<slrnkvn2cd.91q.dozzie@jarowit.net>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mailReferences:
<ktg095$sri$1@pippin.nask.net.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.cyf-kr.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Stachu 'Dozzie' K." <dozzie@go.eat.some.screws.spammer.invalid> Newsgroups: pl.comp.os.linux.sieci Subject: Re: dhcpd.conf static route do sieci Date: Fri, 2 Aug 2013 10:27:25 +0000 (UTC) Organization: solani.org Lines: 37 Message-ID: <slrnkvn2cd.91q.dozzie@jarowit.net> References: <ktg095$sri$1@pippin.nask.net.pl> Mime-Version: 1.0 X-Trace: solani.org 1375439245 13211 eJwFwQERADEIAzBLAwq9lzPK8C/hk4yyElFZyM0Nvpwd70/A8ZHexB1CPL7X0K+Zbk3BSf0zPRG0 (2 Aug 2013 10:27:25 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 2 Aug 2013 10:27:25 +0000 (UTC) User-Agent: slrn/pre1.0.0-18 (Linux) X-User-ID: eJwFwYEBwCAIA7CX5ih1nmML/H/CkgwueoNJ5ORgGuw5soyOWPlerXKXthz+YlpgzXl0Vf4BRUMTBg== Cancel-Lock: sha1:qTogQ+Y9XwdXrcOPlA+kSVBuh/0= X-NNTP-Posting-Host: eJwNyMkRACAIBLCWUJYVyuEY+y9B84wpF/uARti1e/by8qxpTQD+BbMoOwSOGJWR0uT9mZ0PDdkQ/A== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit