[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [linux_var] DHCP con 2 gateway



si, mi ero documentato…

 

difatti parto con il test case (che altro non è che la mia macchina) e vediamo che succede ;-)

 

From: Fox [mailto:root2fox@gmail.com]
Sent: Tuesday, May 04, 2010 1:37 PM
To: talking@ml.linuxvar.it
Subject: Re: [linux_var] DHCP con 2 gateway

 

 

2010/5/4 Usuelli, Marco <M.Usuelli@interroll.com>

faccio dei test e vi aggiorno se vi interessa...


Sisi che interessa (almeno, a me interessa)

cmq, riguardo la configurazione che hai postato:
 option routers ip-address [, ip-address...  ];

         The  routers  option  specifies a list of IP addresses for routers on
         the client's subnet.  Routers should be listed in  order  of  prefer-
         ence.

Quindi si puo'. Rimane da capire se fornisce al client la lista di ip oppure il primo disponibile...


MA:
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 desti-
         nation are specified, they are listed in descending order  of  prior-
         ity.

         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 virtu-
->     ally useless, and is not implemented  by  any  of  the  popular  DHCP
->     clients, for example the Microsoft DHCP client.

fonte:
http://www.daemon-systems.org/man/dhcp-options.5.html