oui
option 6 = domain-name-servers
{Administrator}=>dhcp client rqoptions list
Interface : ethip4
DHCP Options : 3
6
{Administrator}=>dhcp client ifattach intf ethip4
{Administrator}=><37> Jan 1 01:30:00 FIREWALL event (1 of 2): created
rules
<148> Jan 1 01:30:02 DHCC IP address 192.168.222.183 (255.255.255.0) set
on intf ethip4: ok.
<148> Jan 1 01:30:02 DHCC lease ip-address 192.168.222.183 bound to intf
ethip4
<143> Jan 1 01:30:02 GRP Default destination is routed via gateway
192.168.222.1
{Administrator}=>:dns client dnslist
No DNS servers registered.
snif...
Le mar. 4 sept. 2018 à 10:56, David Ponzone <[email protected]> a
écrit :
> T’as bien ajouté:
> option=domain-name-servers
> aussi ? :)
>
> Je dis ça, je dis rien….
>
> Le 4 sept. 2018 à 10:47, Cédric Bassaget <[email protected]> a
> écrit :
>
> Maintenant j'ai un problème avec le client DHCP qui ne récupère pas les
> DNS... malgré les options 6 et 15
>
> Le mar. 4 sept. 2018 à 10:35, Cédric Bassaget <[email protected]>
> a écrit :
>
>> oula si j'ai cherché au moins 2 heures !
>>
>> Le mar. 4 sept. 2018 à 10:25, David Ponzone <[email protected]> a
>> écrit :
>>
>>> J’étais en train de chercher parce que je me doutais qu’il fallait une
>>> option :)
>>> Un gage pour Cédric, qui n’a pas cherché avant de poster :)
>>>
>>>
>>>
>>> > Le 4 sept. 2018 à 10:22, BASSAGET Cédric <[email protected]>
>>> a écrit :
>>> >
>>> > Allez je me réponds à moi même, j'ai enfin trouvé :
>>> > :dhcp client rqoptions add intf=ethip4 option=default-routers
>>> > index=1
>>> >
>>> > Le mar. 4 sept. 2018 à 10:12, Cédric Bassaget <
>>> [email protected]> a
>>> > écrit :
>>> >
>>> >> Salut,
>>> >> Petite question TC à laquelle quelqu'un aura peut être une réponse...
>>> >> J'essaye de passer une interface sur un TG588 en client DHCP, mais
>>> >> impossible de lui faire prendre sa route par défaut.
>>> >>
>>> >> Après un factory reset :
>>> >>
>>> >> {Administrator}=>eth bridge ifdetach intf ethport4
>>> >> {Administrator}=>eth bridge ifdelete intf ethport4
>>> >> {Administrator}=>eth ifadd intf ethport4
>>> >> {Administrator}=>eth ifconfig intf ethport4 dest ethif4
>>> >> {Administrator}=>eth ifattach intf ethport4
>>> >>
>>> >> {Administrator}=>ip ifadd intf ethip4 dest ethport4
>>> >> {Administrator}=>ip ifattach intf ethip4
>>> >>
>>> >> {Administrator}=>dhcp client ifadd intf ethip4
>>> >> {Administrator}=>dhcp client ifattach intf ethip4 metric 2 dnsmetric 2
>>> >>
>>> >> a partir de là j'ai bien une IP récupérée en DHCP sur mon eth4, par
>>> contre
>>> >> pas de route par défaut dans mon ip rtlist. le debug du TC ne
>>> m'apprend pas
>>> >> grand chose
>>> >>
>>> >> un ":system config defaultconnection ethip4" n'améliore pas la chose.
>>> >>
>>> >> Si quelqu'un a un piste je suis preneur. J'ai pas trouvé grand chose
>>> dans
>>> >> les docs et j'ai pas encore fait mon mail désespéré au "support".
>>> >>
>>> >> Cédric
>>> >>
>>> >> ---------------------------
>>> >> Liste de diffusion du FRnOG
>>> >> http://www.frnog.org/
>>> >>
>>> >
>>> > ---------------------------
>>> > Liste de diffusion du FRnOG
>>> > http://www.frnog.org/
>>>
>>>
>>> ---------------------------
>>> Liste de diffusion du FRnOG
>>> http://www.frnog.org/
>>>
>>
>
---------------------------
Liste de diffusion du FRnOG
http://www.frnog.org/