Logscape Support

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Unix forwarder with multiple IPs


Newbie

Status: Offline
Posts: 4
Date:
Unix forwarder with multiple IPs
Permalink  
 


I have installed Linux Forwader to a host and without issues. Agent started and reported to Management host fine.

Linux server with forwarder however, has two networking adapters one for management and access and other for Storage Network. Forwarder unfortunately registered using IP address assigned to Storage network which is not routable and not accessible form the management host. Does anyone know if there is an agent setting (or any other file for that matter) that can be modified so that Agent reports to the management host with an alternate IP address

 

Thank you all,

Goran



__________________


Veteran Member

Status: Offline
Posts: 41
Date:
Permalink  
 

Hi Goran,

Yes, you can set this as a property - it's in the boot.properties file, you need to add to the sysprops line.

Steps:

1. Go to the scripts folder and run NetworkList.sh (if it's windows, NetworkList.bat).

2. This will give you a list of all your interfaces, normally labelled eth0, eth1, eth2 etc. Take a note of the network device you want to use - in this example we'll assume it's eth3

3. Open the boot.properties file, find the sysprops line and at the end of the line, add this: -Dnet.iface=eth3  

4. Save the boot.properties, restart the Forwarder

On the agents page, you can always check which networkInterface you're currently using by looking in the agent properties for the networkInterface 

For a little more info on sysprops you can apply, check out this part of the documentation

Hope that helps!



__________________

Excelian - GitHub



Newbie

Status: Offline
Posts: 4
Date:
Permalink  
 

Thank you!!!!
That worked perfectly.

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard