dhcp3 server, jak poslat informace o routach klientum

Martin Kraus lists_mk na wujiman.net
Úterý Říjen 2 15:32:46 CEST 2007


On Mon, Oct 01, 2007 at 12:57:45AM +0200, Martin Kraus wrote:
> On Sun, Sep 30, 2007 at 11:59:54PM +0200, Slávek Banko wrote:
> > Pomůže vám toto?
> > 
> > man dhcp-options:
> > 
> > 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.  If multiple routes to the same destination 
> > are specified, they are listed in descending order of priority.
> > 
> > The routes consist of a list of IP address pairs.  The first address is 
> > the destination address, and the second address is the router for the 
> > destination.
> > 
> > The default route (0.0.0.0) is an illegal destination  for  a  static  
> > route.   To specify  the  default route, use the routers option.   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 virtually 
> > useless, and is not implemented by any of the popular DHCP clients, for 
> > example the Microsoft DHCP client.
> 
> ano, to je presne ono. diky moc. koukal jsem do manualove stranky dhcpd.conf a
> zapomel jsem si grepnout dalsi manualove stranky z dhcp3-server. holt jsem
> slepej.

hmm tak to nakonec neni presne ono. nedari se mi dostat tenhle option do
klienta, ani kdyz nastavim v dhclient.conf aby pozadoval static-routes. a je
mozno nejak posilat cidr routy tak, aby to bylo kompatibilni s dhcp klientem
ve windows? koukal jsem, ze je mozne definovat vlastni rozsireni, takze s
trochou snahy to budu schopen nacpat do dhclienta v debianu, ale s windows
nemam zadne zkusenosti a bohuzel to musim vyresit i pro ne. 

mk



Další informace o konferenci Linux