Community discussions

MikroTik App
 
hajid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Wed Mar 30, 2005 10:04 am

bgp,info Failed to open TCP connection: No route to host

Tue Oct 03, 2006 12:26 pm

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
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Oct 03, 2006 2:00 pm

It means that you are unable to route to the destination. Check if you can ping 202.53.251.193.

Eugene
 
sten
Forum Veteran
Forum Veteran
Posts: 923
Joined: Tue Jun 01, 2004 12:10 pm

Tue Oct 03, 2006 3:00 pm

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)
 
hajid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Wed Mar 30, 2005 10:04 am

Wed Oct 04, 2006 4:17 am

It means that you are unable to route to the destination. Check if you can ping 202.53.251.193.

Eugene
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.
 
hajid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Wed Mar 30, 2005 10:04 am

Wed Oct 04, 2006 6:48 am

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)
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
 
hajid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Wed Mar 30, 2005 10:04 am

Wed Oct 04, 2006 9:01 am

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
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Wed Oct 04, 2006 7:11 pm

change ttl=1 to however many hops you wish to allow.

Sam
 
hajid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Wed Mar 30, 2005 10:04 am

Thu Oct 05, 2006 5:32 am

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
 
hajid
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Wed Mar 30, 2005 10:04 am

Thu Oct 05, 2006 11:19 am

Now my 2 bgp peer works.
this solve with add static route to my IP bgp peer and change ttl to"5".thanx all