Omniswitch OS6560-24X4

Dear all,

How to configure DHCP Server IPV6 on Switch Alcatel OS6560.

1 Like

Hello,

Below are quick steps to configure internal DHCPv6 server on your OmniSwitch:

  1. Navigate to /flash/switch directory: → (cd /flash/switch)
  2. Create and customize the dhcpdv6.conf (Configuration File) and dhcpdv6.pcy (Policy File) files according to your requirements. Use the vi command to modify the existing configuration file. (-> vi dhcpdv6.conf)
  3. Save changes to the files (.wq)
  4. Restart DHCPv6 server: (-> dhcpv6-server restart)
  5. Enable DHCPv6 server: (-> dhcpv6-server enable)

Following is example dhcpdv6.pcy file:
AbusiveClientMonitorPeriod=30
AbusiveClientWarningCount=30
AbusiveClientLockout=0
AddManualToGlobalDuidPool=1
AllowClientPacketsWithInvalidOptions=1
AllowUnencodedFqdn=1
CheckTransactionID=0
ClientFqdnOptionSupport=client
ClientHostNameProcessing=correct
ClientProcessingWaitTime=3000
CompressedLog=0
DefaultLease=60000
DHCPv6SocketAddr=2620:0:60:1480::3
DuidWarningsToEventLog=0
ForceClass=user
HonorRequestedLeaseTime=1
LogLeaseGrantAndRenew=0
OmniSwitch AOS Release 8 Network Configuration Guide July 2024 page 28-6
Configuring an Internal DHCP Server Configuring DHCP Server on OmniSwitch
MaxOutgoingDhcpMessageSize=1024
MaxPendingSeconds=120
MaxUnavailableTime=3600
MinimumRequestedLeaseTime=3600
NumberOfThreads=15
RegisteredClientsOnly=0
ReplyToUnmanagedInformationRequests=1
SendRequestedParamsOnly=1
SendUnicastOption=1
ServerDuidDefault=0001000146e6ebb10003ba3cbb0d
ServerPreference=255
ServerStatefulMode=1
UpdateQIP=all

Following is example dhcpdv6.conf file:
v6-server-identifier company.example.com;
duid-pool { ← DUID pool for which we allocate IP across sunbets
00-03-02-be-1a-0f-cd-14-67-98-05-56-98-98-67-cd-69-01
00-02-00-00-00-09-*
00-02-00-00-00-08-*
00-02-00-00-00-07-*
00-01-*
}
x-duid-pool { ← Excluded DUID pool for which we do not allocate IP
00-02-00-00-00-09-0c-c0-84-d3-03-00-09-12
}
v6-subnet 2620:0000:0060:1480:0000:0000/97 { ← IPV6 subnet
x-duid-pool { ← Excluded DUID pool for this subnet
00-02-00-00-00-09-0c-c0-84-d3-03-00-09-13
00-02-00-00-00-09-0c-c0-84-d3-03-00-09-19
}
policy send-unicast-option-enabled false; ← policy options applicable
policy subnet-unavailable-threshold 90;
policy subnet-unavailable-descent-threshold 85;
policy minimum-requested-lifetime 800;
option renewal-time 700000; ← Options applicable
option rebinding-time 1000000;
option preferred-lifetime 2000000;
option valid-lifetime 3000000;
option dns-recursive-name-server 2001:468:603:c0e0::12001:468:603:c0e0::2;
v6-manual-dhcp duid 00-02-00-00-00-09-0c-c0-84-d3-03-00-0a-11 2620:0000:0060:1480::1f01 { ← Manual DUID mapping
option posix-timezone “MST7MDT6,116/02:00:00,298/02:00:00”;
}
v6-dynamic-dhcp range 2620:0000:0060:1480::2000 2620:0000:0060:1480::2500 { ← Dynamic range of IPs
policy minimum-requested-lifetime 650;
policy rapid-commit-enabled true;
policy excluded-user-classes “bronze” “gold” “silver”;
policy excluded-vendor-classes enterprise 311 “MSFT 5.0” enterprise 546 “SIP Phone”;
option dns-recursive-name-server 2620:0000:0060:1480::3 2620:0000:0060:1480::4;
option domain-search-list malvern2.lucent.com murrayhill2.lucent.com;
option posix-timezone “CST6CDT5,116/02:00:00,298/02:00:00”;
option sntp-servers 2620:0000:0060:1480::5 2620:0000:0060:1480::6;
}
}
v6-subnet 2620:0000:0060:1481/64 {
policy minimum-requested-lifetime 800;
v6-manual-dhcp duid 00-02-00-00-00-09-0c-cd-84-d3-03-00-0a-14 2620:0000:0060:1481::1f01 {
option posix-timezone “MST7MDT6,116/02:00:00,298/02:00:00”;
}
v6-manual-dhcp duid 00-02-00-00-00-09-0c-cd-84-d3-03-00-0a-13 iaid 1001 2620:0000:0060:1481::1f02 {
option posix-timezone “MST7MDT6,116/02:00:00,298/02:00:00”;
}
v6-manual-dhcp duid 00-02-00-00-00-09-0c-cd-84-d3-03-00-0a-13 iaid 1002 2620:0000:0060:1481::1f03 {
option posix-timezone “MST7MDT6,116/02:00:00,298/02:00:00”;
}