Hi All,
regarding the VF Scale Out Use case, I have noticed that the packet generator 
does not start to send any traffic flow versus the vDNS.
So, debugging the script file I have found :

in the script /opt/v_packetgen_init.sh
at line 28
IPADDR1_MASK=$(ifconfig eth1 | grep "Mask" | awk '{print $4}' | awk -F ":" 
'{print $2}')

and at line 32
IPADDR1=$(ifconfig eth1 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut 
-d':' -f2)

parse breaks because ifconfig does not show inet addr and Mask fields.

We suggest to change the script in order to read the ip address and mask from 
the file  /etc/network/interfaces instead of the output of ifconfig command.


Furthermore, I have found a mismatch for the MTU value for the some interfaces 
(in partiucular the br0 and eth1 and tap111):

Here is the output of ifconfig in our case.

br0       Link encap:Ethernet  HWaddr 00:c6:7f:dc:2b:f0
          inet6 addr: fe80::2c6:7fff:fedc:2bf0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1450  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:828 (828.0 B)

eth0      Link encap:Ethernet  HWaddr fa:16:3e:42:aa:f5
          inet addr:10.0.200.13  Bcast:10.0.200.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe42:aaf5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1450  Metric:1
          RX packets:5333 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5361 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:547113 (547.1 KB)  TX bytes:2016505 (2.0 MB)

eth1      Link encap:Ethernet  HWaddr 00:76:54:c1:38:63
          inet6 addr: fe80::276:54ff:fec1:3863/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1450  Metric:1
          RX packets:6794 errors:0 dropped:0 overruns:0 frame:0
          TX packets:478 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:687171 (687.1 KB)  TX bytes:21220 (21.2 KB)

eth2      Link encap:Ethernet  HWaddr fa:16:3e:0a:af:76
          inet addr:10.0.101.13  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::f816:3eff:fe0a:af76/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1450  Metric:1
          RX packets:4213 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3394 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:356380 (356.3 KB)  TX bytes:487180 (487.1 KB)

eth3      Link encap:Ethernet  HWaddr 00:c6:7f:dc:2b:f0
          inet6 addr: fe80::2c6:7fff:fedc:2bf0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1450  Metric:1
          RX packets:57851 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4743778 (4.7 MB)  TX bytes:1914 (1.9 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:172 errors:0 dropped:0 overruns:0 frame:0
          TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:19454 (19.4 KB)  TX bytes:19454 (19.4 KB)

tap111    Link encap:Ethernet  HWaddr d2:02:d0:42:cb:5b
          inet6 addr: fe80::d002:d0ff:fe42:cb5b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:452 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6806 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18984 (18.9 KB)  TX bytes:688283 (688.2 KB)

tappub    Link encap:Ethernet  HWaddr fe:a7:9d:d3:31:3c
          inet6 addr: fe80::fca7:9dff:fed3:313c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:57868 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:4745176 (4.7 MB)

Here there is the /etc/network/interfaces files in our vm:

root@regionone-onap-nf-20190820t083915963z-vpg-001:/opt# more 
/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# Source interfaces
# Please check /etc/network/interfaces.d before changing this file
# as interfaces may have been defined in /etc/network/interfaces.d
# See LP: #1262951
source /etc/network/interfaces.d/*.cfg
auto eth1
iface eth1 inet static
    address 192.168.20.16
    netmask 255.255.255.0
    mtu 1450
auto eth2
iface eth2 inet static
    address 10.0.101.12
    netmask 255.0.0.0
    mtu 1450

Moreover with the command
root@regionone-onap-nf-20190820t083915963z-vpg-001:/opt# brctl show br0
bridge name bridge id STP enabled interfaces
br0 8000.0054afc91d6e no eth1
                                            tap111

I have seen that both the interfaces eth1 and tap111 are bound to bridge br0 
but eth1 has mtu set to 1450 (due to Openstack networking issues)
br0 has mtu set to 1450 but tap111 has mtu set to 1500

is it right ? The MTU value  has to be changed to 1450?

Thank you






Aniello Paolo Malinconico

Net Reply
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
[email protected]<mailto:[email protected]>
www.reply.it

[Net Reply]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#18623): https://lists.onap.org/g/onap-discuss/message/18623
Mute This Topic: https://lists.onap.org/mt/32967398/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Attachment: net.png
Description: net.png

Reply via email to