hi all,
please help me with this error. i used multihop bgp
16:14:21 route,bgp,info Failed to open TCP connection: No route to host
16:14:21 route,bgp,info RemoteAddr=202.53.251.193
16:14:21 route,bgp,info RemotePort=179
hi all,
please help me with this error. i used multihop bgp
16:14:21 route,bgp,info Failed to open TCP connection: No route to host
16:14:21 route,bgp,info RemoteAddr=202.53.251.193
16:14:21 route,bgp,info RemotePort=179
It means that you are unable to route to the destination. Check if you can ping 202.53.251.193.
Eugene
for multihop to work you have to add a host route for the remote bgp router to tell it where the peer is. bgp is designed not to talk to remote routers unless there is a static route for it (it wont use learned routes)
Terminal vt102 detected, using multiline input mode
[IDC] > ping 202.53.251.193
202.53.251.193 64 byte ping: ttl=243 time=30 ms
202.53.251.193 64 byte ping: ttl=243 time=124 ms
202.53.251.193 64 byte ping: ttl=243 time=59 ms
202.53.251.193 64 byte ping: ttl=243 time=90 ms
before it, although i got that error bgp can established.
ok let say
I have 2 ISP and 2 peer
ISP A : IP Point to Point 10.1.2.0/30
my ip : 10.1.2.2/30
gateway : 10.1.2.1/30
IP BGP Peer : 172.69.10.10
ISP B : IP Point to Point 192.168.2.0/30
my ip : 192.168.2.2/30
gateway : 192.168.2.1/30
IP BGP Peer : 176.169.254.100
for all up stream go to gateway ISP A 10.1.2.1
peering ISP A doesn’t have problem. now i got problem with peering ISP B. i try to add route dst-address 172.169.254.100 gateway 10.1.2.1 pref.source 192.168.2.2
didn’t solve the problem
this my bgp log, although has this error state can established. but sometime it will error. another question, is mikrotik bgp default will advertise the network if we not fill “out filter” parameter. because like you can see below i didn’t make routing filter out but my peering recieved some network that coming from mikrotik.
11:00:26 route,bgp,info Failed to open TCP connection: No route to host
11:00:26 route,bgp,info RemoteAddr=202.53.251.193
11:00:26 route,bgp,info RemotePort=179
[ajit@BM.International.IDC] log> /routing bgp peer pr status
Flags: X - disabled
0 name=“peer1-indonet” instance=default remote-address=202.53.251.193
remote-as=9340 tcp-md5-key=“” nexthop-choice=default multihop=yes
route-reflect=no hold-time=3s ttl=1 in-filter=“” out-filter=“”
remote-id=202.53.251.2 uptime=21m12s prefix-count=0 updates-sent=1
updates-received=0 withdrawn-sent=0 withdrawn-received=0
remote-hold-time=3m used-hold-time=3s used-keepalive-time=1s
refresh-capability=yes state=established
change ttl=1 to however many hops you wish to allow.
Sam
i chnge ttl value to 5 i got error
09:20:24 route,bgp,info Failed to open TCP connection: Connection refused
09:20:24 route,bgp,info RemoteAddr=202.53.251.193
09:20:24 route,bgp,info RemotePort=179
Now my 2 bgp peer works.
this solve with add static route to my IP bgp peer and change ttl to"5".thanx all