[spp] [PATCH 24/30] doc: fix required network configuration
x-fn-spp at sl.ntt-tx.co.jp
x-fn-spp at sl.ntt-tx.co.jp
Tue Jan 16 06:16:35 CET 2018
From: Hiroyuki Nakamura <nakamura.hioryuki at po.ntt-tx.co.jp>
Remove unnecessary steps, registation to arp table,
in "additional network configurations" section in how_to_use.md.
Signed-off-by: Daiki Yamashita <yamashita.daiki.z01 at as.ntt-tx.co.jp>
Signed-off-by: Naoki Takada <takada.naoki at lab.ntt.co.jp>
---
docs/spp_vf/how_to_use.md | 6 ------
docs/spp_vf/sample_usage.md | 10 +---------
2 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/docs/spp_vf/how_to_use.md b/docs/spp_vf/how_to_use.md
index e56d5e3..dee4465 100644
--- a/docs/spp_vf/how_to_use.md
+++ b/docs/spp_vf/how_to_use.md
@@ -100,9 +100,6 @@ it is required additional network configurations on host and guest VMss.
# Interface for vhost
$ sudo ifconfig [IF_NAME] inet [IP_ADDR] netmask [NETMASK] up
-# Register host2 to arp table
-$ sudo arp -s [IP_ADDR] [MAC_ADDR] -i [IF_NAME]
-
# Disable offload for vhost interface
$ sudo ethtool -K [IF_NAME] tx off
```
@@ -110,9 +107,6 @@ $ sudo ethtool -K [IF_NAME] tx off
#### Host2
```sh
-# Register VM to arp table
-$ sudo arp -s [IP_ADDR] [MAC_ADDR] -i [IF_NAME]
-
# Disable offload for VM interface
$ ethtool -K [IF_NAME] tx off
```
diff --git a/docs/spp_vf/sample_usage.md b/docs/spp_vf/sample_usage.md
index 5220184..dcc051a 100644
--- a/docs/spp_vf/sample_usage.md
+++ b/docs/spp_vf/sample_usage.md
@@ -71,7 +71,7 @@ set `-oStrictHostKeyChecking=no` option for ssh.
$ ssh -oStrictHostKeyChecking=no sppuser at 192.168.122.31
```
-Up interfaces for vhost and register them to arp table inside spp-vm1.
+Up interfaces for vhost inside spp-vm1.
In addition, you have to disable TCP offload function, or ssh is faled
after configuration is done.
@@ -80,10 +80,6 @@ after configuration is done.
$ sudo ifconfig ens4 inet 192.168.140.21 netmask 255.255.255.0 up
$ sudo ifconfig ens5 inet 192.168.150.22 netmask 255.255.255.0 up
- # register to arp table
- $ sudo arp -s 192.168.140.11 a0:36:9f:78:86:78 -i ens4
- $ sudo arp -s 192.168.150.13 a0:36:9f:6c:ed:bc -i ens5
-
# diable TCP offload
$ sudo ethtool -K ens4 tx off
$ sudo ethtool -K ens5 tx off
@@ -98,10 +94,6 @@ Configurations for spp-vm2 is same as spp-vm1.
$ sudo ifconfig ens4 inet 192.168.140.31 netmask 255.255.255.0 up
$ sudo ifconfig ens5 inet 192.168.150.32 netmask 255.255.255.0 up
- # register to arp table
- $ sudo arp -s 192.168.140.11 a0:36:9f:78:86:78 -i ens4
- $ sudo arp -s 192.168.150.13 a0:36:9f:6c:ed:bc -i ens5
-
# diable TCP offload
$ sudo ethtool -K ens4 tx off
$ sudo ethtool -K ens5 tx off
--
1.9.1
More information about the spp
mailing list