From 8e26089a10f083b582ab6036bdc89cec6c349bfd Mon Sep 17 00:00:00 2001 From: johnjiang Date: Tue, 23 May 2017 16:01:51 +0800 Subject: [PATCH] add kni virtural nic config --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 532e59ea4..7404378f5 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,15 @@ Currently, besides authorized DNS server of DNSPod, there are various products i make make install +  If KNI is enabled in the configuration file, you should create a virtual NIC after F-Stack started, and set the ipaddr, netmask, mac addr, route table, etc. These addrs must be same with F-Stack. + + If you don't have another management port, you should execute a script like this. + + ./start.sh -b /usr/local/nginx_fstack/sbin/nginx -c config.ini +    sleep 10 +   ifconfig veth0 netmask   broadcast hw ether +   route add -net 0.0.0.0 gw dev veth0 +    # route add -net ... # other route rules ## Nginx Testing Result