Configure dhcpd6, Configure tftp – Dell Emulex Family of Adapters User Manual

Page 1745

Advertising
background image

Boot Version 10.2 for NIC, iSCSI, FCoE, and RoCE Protocols User Manual

P010097-01B Rev. A

Appendix C. Examples for Configuring and Booting UEFI NIC

UEFI NIC IPv6 PXE Setup Procedure for SLES11 SP2

1745

Configure DHCPD6

Brussels-sles11sp2:~ # vim /etc/dhcpd6.conf

default-lease-time 2592000;

preferred-lifetime 604800;

option dhcp-renewal-time 3600;

option dhcp-rebinding-time 7200;

allow leasequery;

option dhcp6.name-servers fc00:ba49:1625:fb0f::1;

option dhcp6.domain-search "pxetest.org";

option dhcp6.info-refresh-time 21600;

option dhcp6.bootfile-url code 59 = string;

# The subnet where the server is attached

# (i.e., the server has an address in this subnet)

subnet6 fc00:ba49:1625:fb0f::/64 {

option dhcp6.bootfile-url "tftp://[fc00:ba49:1625:fb0f::137]/bootx64.efi";

# Nine addresses available to clients

# (the tenth client should get NoAddrsAvail)

range6 fc00:ba49:1625:fb0f::42:10 fc00:ba49:1625:fb0f::42:99;

# Use the whole /64 prefix for temporary addresses

# (i.e., direct application of RFC 4941)

range6 fc00:ba49:1625:fb0f:: temporary;

}

Edit /etc/sysconfig/dhcpd and verify DHCPD6_INTERFACE is set to the network

adapter port on which you want the DHCP server to listen.

DHCPD6_INTERFACE="ethx"

Configure TFTP

Brussels-sles11sp2:~ # vim /etc/xinetd.d/tftp

# default: off

# description: tftp service is provided primarily for booting or when a \

# router need an upgrade. Most sites run this only on machines acting as

# "boot servers".

service tftp

{

socket_type = dgram

protocol = udp

wait = yes

flags = IPv6 IPv4

user = root

server = /usr/sbin/in.tftpd

server_args = -s /tftpboot

disable = no

per_source = 11

cps = 100 2

}

Advertising