none
IPv6 change default gateway with dhcpv6

    Question

  • Hello
    If there is the possibility of introducing a specific default gateway for DHCP.
    I currently have a DHCPv6 service but customers download link-local gateway from a DHCP server

    Below the client entry

    Connection-specific DNS Suffix. : local.
    IPv6 Address ... ... ... ... : fd88: 1863: d945: 640f: 8f78: 227c: dd00: 6555
    Link-local IPv6 Address .....: fe80:::: 843f: 3336: 19e7: 1bc9% 12

    Default Gateway ..... ... . ::: 18c4: 6e13: da3a: 5ed% 12

    is it possible to make this example.
    fd88: 1863: d945: 640f:: 1
    Thank you with hints.
    Tuesday, September 10, 2013 9:16 AM

Answers

  • According to IPv6 standards, hosts get their IPv6 def g/w via the router's Router Advertisement (RA). DHCPv6 can supply host IPv6 addr and other info like DNS, domain name, download servers, time servers, etc.

    There is no provision in DHCPv6 for a def g/w field.

    Also, hosts talking on the local link (ie VLAN or network segment), are to communicate via Link-Local addresses.

    Details/info found in Guide to TCP/IP, 4th Edition, and RFC's 4861, 4862, 3315.

    Some OS's allow you to manually enter a default gateway, but if done, should be the Link-Local of the router. It may still work, but some of the IPv6 operational characteristics may not work correctly. So, don't do it.

    There is a draft to add the capability in DHCPv6 for a def g/w field, however, ALL software would have to be updated. And there have been some other changes in RA's that router vendors have started to implement, but most (or maybe none) of client OS vendors have done so....so just because a feature/function/option is there does not mean vendors will implement it "quickly".  http://tools.ietf.org/html/draft-ietf-mif-dhcpv6-route-option-05

    hth...Jeff


    Jeff Carrell

    • Marked as answer by DawidS Wednesday, September 11, 2013 10:41 AM
    Wednesday, September 11, 2013 3:33 AM

All replies

  • According to IPv6 standards, hosts get their IPv6 def g/w via the router's Router Advertisement (RA). DHCPv6 can supply host IPv6 addr and other info like DNS, domain name, download servers, time servers, etc.

    There is no provision in DHCPv6 for a def g/w field.

    Also, hosts talking on the local link (ie VLAN or network segment), are to communicate via Link-Local addresses.

    Details/info found in Guide to TCP/IP, 4th Edition, and RFC's 4861, 4862, 3315.

    Some OS's allow you to manually enter a default gateway, but if done, should be the Link-Local of the router. It may still work, but some of the IPv6 operational characteristics may not work correctly. So, don't do it.

    There is a draft to add the capability in DHCPv6 for a def g/w field, however, ALL software would have to be updated. And there have been some other changes in RA's that router vendors have started to implement, but most (or maybe none) of client OS vendors have done so....so just because a feature/function/option is there does not mean vendors will implement it "quickly".  http://tools.ietf.org/html/draft-ietf-mif-dhcpv6-route-option-05

    hth...Jeff


    Jeff Carrell

    • Marked as answer by DawidS Wednesday, September 11, 2013 10:41 AM
    Wednesday, September 11, 2013 3:33 AM
  • Thanks for replay

    Dawid

    Wednesday, September 11, 2013 10:40 AM