[SNMP4J] VLANs

2010-11-08 Thread Chaim Turkel - HQ
I need to add support for Vlans. In the case the machine has multiple nic's I needs to option to send the snmp packit via the correct nic and cannot use the default gateway, How can I do this? Chaim Turkel Network Management Systems Gilat Network Systems Tel: +972-3-929-3142 IMPORTANT - This

Re: [SNMP4J] VLANs

2010-11-08 Thread jaikar gupta
Dear Chaim, My suggestion would be. Put the IP Address in some property file. then do the following ResourceBundle msgBundle = ResourceBundle.getBundle(propertyFile_PATH); String nic_ip=msgBundle.getString(SPECIFIED_NIC_IP); InetAddress inetAddress= InetAddress.getByName(nic_ip); UdpAddress