Results 1 to 3 of 3

Thread: How to setup a tftp server with IPV6

  1. #1
    Join Date
    Dec 2012
    Beans
    2

    Question How to setup a tftp server with IPV6

    I want to setup a IPV6 PXE server, But I cannot set it successful with the tftp server.
    who can tell me how to setup a IPV6 PXE server with under Ubuntu 12.04.

  2. #2
    Join Date
    Aug 2007
    Location
    Canada
    Beans
    459
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to setup a tftp server with IPV6

    Here a couple of nice tutorials

    http://www.howtoforge.com/ubuntu_pxe_install_server
    https://linuxlink.timesys.com/docs/linux_tftp

    Let me know more details, I did that several years ago, maybe I can help you.
    Best, Gnusci

    "Never make a calculation until you know the answer." -- Wheeler, Spacetime Physics, pg 60.

  3. #3
    Join Date
    Dec 2012
    Beans
    2

    Re: How to setup a tftp server with IPV6

    I want to test a server IPV6 net boot function, so I need setup an IPV6 PXE server. please see my configuration:

    1. Install Xinetd and tftpd.
    apt-get install xinetd tftpd

    2. config tftp server
    vim /etc/xinetd.d/tftp
    service tftp
    {
    protocol = udp
    socket_type = dgram
    wait = yes
    flags = IPV6 IPv4
    user = root
    server = /usr/sbin/in.tftpd
    server_args = -s /srv/tftp
    disable = no
    }


    3. config DHCP6 server
    option dhcp6.name-servers 2000::1;
    option dhcp6.bootfile-url code 59 = string ;

    subnet6 2000:0:0:0::/64 {
    option dhcp6.bootfile-url "tftp://[2000::1]/bootx64.efi";
    range6 2000:0:0:0::100 2000:0:0:0::2000;
    range6 2000:0:0:0:: temporary;
    prefix6 2000:0:0:0:: 2000:0:0:0:: /64;

    }

    4. copy bootx64.efi and to /srv/tftp and config elilo.conf

    5. restart the xinetd and dhcpd6 server

    service xinetd restart
    server isc-dhcp-server6 restart


    6. clinet test result:


    PS: IPv4 PXE can boot successfully.
    Attached Images Attached Images

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •