Open topic with navigation

TIBCO Rendezvous® 8.7.0

# Router.addLocalNetworkInterface()

Method

## Declaration

    LocalNetworkInterface addLocalNetworkInterface(
        java.lang.String  localNetworkName,
        int               service,
        java.lang.String  networkSpecification,
        int               cost)
      throws ConfigurationException

## Purpose

Specify a local network interface.

## Remarks

On a BorderRouter, this method automatically configures the default policy for all pairings of the new interface with every other existing interface. The default policy forwards `_INBOX.>` (all inbox subjects); for additional details, see Policy in TIBCO Rendezvous Administration.

Item | Description
`localNetworkName` | Supply the name of the local network. Local network names must be globally unique. For more information, see Local Network in TIBCO Rendezvous Administration.
`service` | Supply the UDP service for communication on the local network. Programs within the local network communicate using this service. For more information, see Specifying the UDP Service in TIBCO Rendezvous Administration. You may supply the default value LocalNetworkInterface.UNSPECIFIED.
`networkSpecification` | Supply the network specification. For more information, see Constructing the Network Parameter in TIBCO Rendezvous Administration. You may supply the default value, the empty string.
`cost` | Supply the path cost for routing between the local network and the router. For more information, see Load Balancing in TIBCO Rendezvous Administration. You may supply the default cost LocalNetworkInterface.DEFAULT_COST.

## See Also

LocalNetworkInterface

Router

Router.getLocalNetworkInterfaces()

Router.removeLocalNetworkInterface()

For the corresponding browser page, see Local Network Interfaces Configuration in TIBCO Rendezvous Administration

For background information, see these sections:

| • | Routing Table Entry in TIBCO Rendezvous Administration

| • | Local Network in TIBCO Rendezvous Administration

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.