A few tweaks to your setup and you’re good to go!
Have multiple subnets and VLANs to monitor but you’re running a single collector? Fear not! With a few tweaks to your virtual machine’s adapter configuration and the collector’s /etc/network/interfaces file, we can get you scanning your different network segments in a jiffy.
We recommend you take a snapshot backup of your VM before making any changes to your collector.
These steps are tailored to VMware VSphere ESXi, but can be adapted to other platforms.
- Shutdown your VM using Option 3 from the collector menu.
- Configure a second bridged network adapter.
- Configure your Ethernet switches with the VLAN IDs that your ESXi hosts should use. If you're using VLANs, the NICs must be on trunking ports.
- In the System Customization menu, select Configure Management Network by using the keyboard arrows. Press Enter.
- In the Configure Management Network menu, select VLAN (option). Press Enter.
- In the VLAN ID input text box, type the VLAN ID of the virtual LAN that your ESXi should use. Press Enter.
- Power on your collector and let it boot up.
- Select Option 6 and enter "y" to enter the bash shell from the colector menu.
- Edit /etc/network/interfaces to add a new interface called eth1, with appropriate addressing and gateway information depending on your network configuration. Refer to this article for configuration and syntax details. Save the file.
- Make sure you set up the correct routes for the secondary interface. Presumably eth0 will remain as the default gateway.
References: Steps 3-6 are adapted from https://pubs.vmware.com/vsphere-55/index.jsp#com.vmware.vsa.doc/GUID-6A7C75BF-67F9-4517-9BC2-613E2D928CF9.html