Setting IP address for NetFlow

Document created by praveen.vaddepally Expert on Dec 12, 2018Last modified by praveen.vaddepally Expert on Dec 14, 2018
Version 5Show Document
  • View in full screen mode

To configure an interface with static network settings using ifcfg files, for an interface with the name eth0, we need to create a file with name ifcfg-eth0 in the /etc/sysconfig/network-scripts/ directory as follows:



1. vi  /etc/sysconfig/network-scripts/ifcfg-ens192 


2. Add the following information and change the  IPADDR, NETMASK and GATEWAY according to environment that the Netflow OVA is deployed ON. 



HWADDR=(get MAC address from VM's settings>> Hardware>>Network Adapter>>Advanced)


3, To check the status, please run : service network restart


IMPORANT TIP when adding a NetFlow target : Please make sure that NetFlow is enabled on vCenter switch >> settings>>Monitoring>>Netflow Status and by default the port is 9995.  Also, make sure the timezone is consistent between turbonomic server and flow collector by running : timedatectl set-timezone UTC. To verify receiving flow run : nfdump -R /var/netflow ( Also check that the collector IP address on switch is  set to Netflow IP address). 


Additionally, under  /etc/sysconfig/network-scripts/ other than ens192, if there are eth0 or ens10***, move those files to tmp as they are conflict with ens192 settings and restart network. 

1 person found this helpful