From 0cb7abf703645cc3e3713d61ddf60587977a07a4 Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Mon, 30 Apr 2018 08:58:40 -0700 Subject: [PATCH] Add example configuration files for unicast operation. Signed-off-by: Richard Cochran --- configs/UNICAST-MASTER.cfg | 9 +++++++ configs/UNICAST-SLAVE.cfg | 49 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 configs/UNICAST-MASTER.cfg create mode 100644 configs/UNICAST-SLAVE.cfg diff --git a/configs/UNICAST-MASTER.cfg b/configs/UNICAST-MASTER.cfg new file mode 100644 index 0000000..e539c13 --- /dev/null +++ b/configs/UNICAST-MASTER.cfg @@ -0,0 +1,9 @@ +# +# Unicast master example configuration containing those attributes +# which differ from the defaults. See the file, default.cfg, for the +# complete list of available options. +# +[global] +hybrid_e2e 1 +inhibit_multicast_service 1 +unicast_listen 1 diff --git a/configs/UNICAST-SLAVE.cfg b/configs/UNICAST-SLAVE.cfg new file mode 100644 index 0000000..ebd0dcb --- /dev/null +++ b/configs/UNICAST-SLAVE.cfg @@ -0,0 +1,49 @@ +# +# UNICAST slave example configuration with contrived master tables. +# This example will not work out of the box! +# +[global] +# +# Request service for sixty seconds. +# +unicast_req_duration 60 + +# +# This table has four possible UDPv4 master clocks. +# +[unicast_master_table] +table_id 1 +logQueryInterval 2 +UDPv4 192.168.1.11 +UDPv4 192.168.2.22 +UDPv4 192.168.3.33 + +# +# This table has just one Layer-2 master clock. +# +[unicast_master_table] +table_id 2 +logQueryInterval 2 +L2 00:11:22:33:44:55 + +# +# This table would be for use with the P2P delay mechanism. +# +[unicast_master_table] +table_id 3 +logQueryInterval 2 +peer_address 192.168.4.44 +UDPv4 192.168.4.44 + +# +# eth0 uses the master table with ID 1 over UDPv4. +# +[eth0] +unicast_master_table 1 + +# +# eth1 uses the master table with ID 2 over Layer-2. +# +[eth1] +network_transport L2 +unicast_master_table 2