[FUG-BR] Adicionar rota via DHCP
Tiago Ribeiro
shasty em gmail.com
Quarta Junho 10 13:49:45 BRT 2009
2009/6/10 Ricardo Souza <ricardo.souza at ti.cmtsp.com.br>:
>> > > > >
>> > > > > > Bom dia,
>> > > > > > estou com problemas de conectividade aqui e estou precisando
>> > > adicionar
>> > > > > uma
>> > > > > > rota extra via DHCP.
>> > > > > > É possivel?
>> > > > > >
>> > > > > > Preciso adicionar a rota para 10.100.0.0/24 para o gw 10.10.0.1
>> > > > > >
man dhcp-options
/static-routes
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.
Mais detalhes sobre a lista de discussão freebsd