summaryrefslogtreecommitdiff
path: root/roles/sled-mcn0/files/etc/houyi_plug_arp_network.conf
diff options
context:
space:
mode:
Diffstat (limited to 'roles/sled-mcn0/files/etc/houyi_plug_arp_network.conf')
-rw-r--r--roles/sled-mcn0/files/etc/houyi_plug_arp_network.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/sled-mcn0/files/etc/houyi_plug_arp_network.conf b/roles/sled-mcn0/files/etc/houyi_plug_arp_network.conf
new file mode 100644
index 0000000..e26cac4
--- /dev/null
+++ b/roles/sled-mcn0/files/etc/houyi_plug_arp_network.conf
@@ -0,0 +1,11 @@
+#arp查询的源ip不能随意写, 因为可能不通过sapp, 必须要保证两端ip段不一致
+#或者是写个肯定不存在的sip和smac, arp回复时也能过sapp.
+
+#dir network mask-bit-num mac-addr
+#dir: 0:C2I, 1:I2C
+#houyi模块对方向的定义: houyi_send_dir_t,
+#HOUYI_SEND_DIR_C2I = 0, 内-->外, outbound, 看第一个字母象形, O 0
+#HOUYI_SEND_DIR_I2C = 1, 外-->内, inbound , 看第一个字母象形, I 1
+#example:
+0 10.3.22.128 255.255.255.128 46:9d:8e:37:53:11
+1 10.3.22.0 255.255.255.128 46:9d:8e:37:53:22