Specifying The Source Address Of Tcp Connections - HP FlexFabric 12900E Series Configuration Manual

Hide thumbs Also See for FlexFabric 12900E Series:
Table of Contents

Advertisement

Step
7.
Enable
exchange
routing information used for
RPF check with peers in the
specified peer group.

Specifying the source address of TCP connections

By default, BGP uses the primary IPv4/IPv6 address of the output interface in the optimal route to a
peer or peer group as the source address of TCP connections to the peer or peer group. You can
change the source address in the following scenarios:
If the peer's IPv4/IPv6 address belongs to an interface indirectly connected to the local router,
specify that interface as the source interface for TCP connections on the peer. For example,
interface A on the local end is directly connected to interface B on the peer. If you use the peer
x.x.x.x as-number as-number command on the local end, and x.x.x.x is not the IPv4 address of
interface B, you must do the following:
a. Use the peer connect-interface command on the peer.
b. Specify the interface whose IPv4 address is x.x.x.x as the source interface.
If the source interface fails on a BGP router that has multiple links to a peer, BGP must
re-establish TCP connections. To avoid this problem, use a loopback interface as the source
interface or use the IP address of a loopback interface as the source address.
If the BGP sessions use the IP addresses of different interfaces, specify a source address or
source interface for each peer to establish multiple BGP sessions to a router. Specify a source
address for each peer if the BGP sessions use the different addresses of the same interface.
Otherwise, the local BGP router might fail to establish a TCP connection to a peer when it uses
the optimal route to determine the source address.
To specify the source address of TCP connections (IPv4 unicast/multicast address family):
Step
1.
Enter system view.
2.
Enter BGP instance view or
BGP-VPN instance view.
3.
Specify the source address
of TCP connections to a peer
or peer group.
4.
Specify the source interface
of TCP connections to a peer
or peer group.
To specify the source address of TCP connections (IPv6 unicast address family):
Command
the
router
to
IPv4
unicast
peer group-name enable
Command
system-view
peer { group-name | ipv4-address
[ mask-length ] } source-address
source-ipv4-address
peer { group-name | ipv4-address
[
connect-interface interface-type
interface-number
Enter BGP instance view:
bgp as-number [ instance
instance-name
[ multi-session-thread ]
Enter BGP-VPN instance
view:
a. bgp
as-number
[
instance
instance-name
[ multi-session-thread ]
b. ip
vpn-instance
vpn-instance-name
mask-length
]
220
Remarks
By default, the router cannot
exchange IPv4 unicast routing
information used for RPF check
with the peers.
Remarks
N/A
]
N/A
]
By default, BGP uses the primary
IPv4
address
of
interface in the optimal route to a
peer or peer group as the source
}
address of TCP connections to the
peer or peer group.
the
output

Advertisement

Table of Contents
loading

Table of Contents