Mikrotik no route to host ошибка как исправить

Да мне нужно было не через днсп клиента настраивать, а через ппое
И ещё один момент помогите с правами клиенты не могут выйти в интернет ошибка «сбой передачи»

Код: Выделить всё


[admin@MikroTik] > /ip firewall mangle                                                                                                     
[admin@MikroTik] /ip firewall mangle> print detail                                                                                                           
Flags: X - disabled, I - invalid, D - dynamic
 0    chain=prerouting action=mark-connection new-connection-mark=allow_in connection-state=new protocol=tcp dst-port=9999

[admin@MikroTik] /ip firewall mangle> /ip firewall nat                                                       
[admin@MikroTik] /ip firewall nat> print detail   
Flags: X - disabled, I - invalid, D - dynamic
 0    chain=srcnat action=masquerade src-address=61.75.223.64/27 out-interface=pppoe-out1 log=no log-prefix=""

 1    chain=dstnat action=redirect to-ports=80 protocol=tcp dst-port=9999

 [admin@MikroTik] /ip firewall nat> /ip firewall mangle                                                                                                     
[admin@MikroTik] /ip firewall mangle> print detail       
Flags: X - disabled, I - invalid, D - dynamic
 0    chain=prerouting action=mark-connection new-connection-mark=allow_in connection-state=new protocol=tcp dst-port=9999
[admin@MikroTik] /ip firewall mangle> /ip firewall filter

                                                                                                      [admin@MikroTik] /ip firewall filter> print detail       
Flags: X - disabled, I - invalid, D - dynamic
 0    chain=input protocol=icmp

 1    chain=input connection-state=new protocol=tcp src-address=61.75.223.64/27 in-interface=br-lan dst-port=80,8291,22

  2    chain=input action=accept connection-state=new protocol=tcp connection-mark=allow_in in-interface=pppoe-out1 dst-port=80 log=no log-prefix=""

 3    chain=input action=accept connection-state=new protocol=udp src-address=61.75.223.64/27 in-interface=br-lan dst-port=53,123 log=no log-prefix=""

 4    chain=input connection-state=established,related

 5    chain=output connection-state=!invalid

 6    chain=forward action=accept connection-state=established,new src-address=61.75.223.64/27 in-interface=br-lan out-interface=pppoe-out1 log=no log-prefix=""
 7    chain=forward action=accept connection-state=established,related in-interface=pppoe-out1 out-interface=br-lan log=no log-prefix=""

 8    chain=input action=drop

 9    chain=output action=drop

10    chain=forward action=drop

[admin@MikroTik] /ip firewall filter> /ip route
[admin@MikroTik] /ip route> print detail       
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
 0 ADS  dst-address=0.0.0.0/0 gateway=pppoe-out1 gateway-status=pppoe-out1 reachable distance=0 scope=30 target-
 1 ADC  dst-address=61.75.213.64/27 pref-src=61.75.213.65 gateway=br-lan gateway-status=br-lan reachable distance=0 scope=10

 2 ADC  dst-address=213.231.0.200/32 pref-src=213.231.25.165 gateway=pppoe-out1 gateway-status=pppoe-out1 reachable distance=0 scope=10
[admin@MikroTik] /ip route> /ip addres 
[admin@MikroTik] /ip address> print detail
Flags: X - disabled, I - invalid, D - dynamic
 0   address=61.75.213.65/27 network=61.75.213.64 interface=br-lan actual-interface=br-lan

 1 D address=213.231.25.165/32 network=213.231.0.200 interface=pppoe-out1 actual-interface=pppoe-out1
 admin@MikroTik] /ip address> /interface
[admin@MikroTik] /interface> print detail
Flags: D - dynamic, X - disabled, R - running, S - slave
 0  R  ;;; wan
       name="eth1-wan" default-name="ether1" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1598 max-l2mtu=4074 mac-address=64:D1:54:9F:C8:E4
       last-link-up-time=jan/21/2018 15:02:12 link-downs=0

 1   S ;;; lan
       name="eth2-lan" default-name="ether2" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1598 max-l2mtu=4074 mac-address=64:D1:54:9F:C8:E5 link-downs=0

 2   S name="eth3-lan" default-name="ether3" type="ether" mtu=1500 actual-mtu=1500
 l2mtu=1598 max-l2mtu=4074 mac-address=64:D1:54:9F:C8:E6 link-downs=0

 3   S name="eth4-lan" default-name="ether4" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1598 max-l2mtu=4074 mac-address=64:D1:54:9F:C8:E7 link-downs=0

 4  RS name="eth5-lan" default-name="ether5" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1598 max-l2mtu=4074 mac-address=64:D1:54:9F:C8:E8
       last-link-down-time=jan/21/2018 15:21:29 last-link-up-time=jan/21/2018 15:21:33 link-downs=1

 5   S name="wlan1" default-name="wlan1" type="wlan" mtu=1500 actual-mtu=1500 l2mtu=1600 max-l2mtu=2290 mac-address=64:D1:54:9F:C8:E9
       last-link-down-time=jan/21/2018 15:54:09
       last-link-up-time=jan/21/2018 15:53:14 link-downs=2

 6  R  name="br-lan" type="bridge" mtu=auto actual-mtu=1500 l2mtu=1598 mac-address=64:D1:54:9F:C8:E5 last-link-up-time=jan/21/2018 15:02:09 link-downs=0

 7  R  name="pppoe-out1" type="pppoe-out" mtu=1480 actual-mtu=1480 last-link-up-time=jan/21/2018 15:19:52 link-downs=0
[admin@MikroTik] /interface> /ip dhcp-server
[admin@MikroTik] /ip dhcp-server> print detail
Flags: D - dynamic, X - disabled, I - invalid
 0    name="dhcppool" interface=br-lan lease-time=8h address-pool=dhcppool bootp-support=static authoritative=yes use-radius=no lease-script=""
       admin@MikroTik] /ip dhcp-server> /ip pool
[admin@MikroTik] /ip pool> print detail
 0 name="dhcppool" ranges=61.75.223.66-61.75.223.93

[admin@MikroTik] /ip dns> print       
                      servers:
              dynamic-servers: 194.143.136.1,194.143.136.2
        allow-remote-requests: no
          max-udp-packet-size: 4096
         query-server-timeout: 2s
          query-total-timeout: 10s
       max-concurrent-queries: 100
  max-concurrent-tcp-sessions: 20
                   cache-size: 2048KiB
                cache-max-ttl: 1w
                   cache-used: 18KiB

ftimmers

just joined

Posts: 7
Joined: Sat Nov 21, 2020 4:01 pm

No route to host

Sat Nov 21, 2020 5:50 pm

Hello everyone,
Recently I bought my first MikroTik RB4011 (firmware 6.47.7) and I’m new to this forum. Problem is: I cannot get access to internet via this router.
My situation:
My ISP gave me the next settings:
Networkaddress: ###.###.18.112
Gateway: ###.###.18.113
Free to use IP-addresses: ###.###.18.114 — ###.###.18.118
Broadcastaddress: ###.###.18.119
Netmask: 255.255.255.248

In my old situation I plugged a switch to the ISP-router and plugged multiple routers to this switch, all with a static IP (###.###.18.114-118) on the WAN-port of those routers and gateway ###.###.18.113, so to every router I could connect a server with it’s own LAN all with internetconnection.

With the MikroTik I thought it should be possible to connect the WAN port (ether1) to the ISP-router and connect all my servers to bridged ports, but I don’t get internetconnection. So I tried to simplify things. My MikroTik is now connected to the switch that is connected to the ISP-router. First I removed the default configuration and after that I run «Quick set» configuration which I set as below:

quickset.JPG

With this config I am able to ping the other routers (IP: ###.###.18.114-117) connected to the switch, but I am not able to ping anything further. What am I doing wrong?

Thank you for your time and help, let me know if I should add any more info (this is my first post, please be gentle)

You do not have the required permissions to view the files attached to this post.

User avatar
satman1w

Member Candidate
Member Candidate

Posts: 273
Joined: Mon Oct 02, 2006 11:47 am

Re: No route to host

Mon Nov 30, 2020 1:23 pm

Did you configure NAT?

kd2pm2

Frequent Visitor
Frequent Visitor

Posts: 65
Joined: Wed Nov 14, 2012 7:14 am
Location: New Jersey, USA

Re: No route to host

Mon Nov 30, 2020 1:41 pm

Do you have a default route?

if you do a ‘ip routes print’ in a terminal if look in winbox, do you see an entry for 0.0.0.0/0 and is it pointed to ether1 or the public IP you set for ether 1?

As satman1w also noted, you need a NAT rule set up as masquerade to allow you to go from private IP to public IP (aka internet)

ftimmers

just joined

Topic Author

Posts: 7
Joined: Sat Nov 21, 2020 4:01 pm

Re: No route to host

Thu Dec 03, 2020 1:30 pm

@satman1w @kd2pm2

Here is my config:

# jan/02/1970 02:16:24 by RouterOS 6.47.7
# software id = SKLX-6AUD
#
# model = RB4011iGS+
# serial number = D4440C19B6A2
/interface ethernet
set [ find default-name=ether6 ] name=lan
set [ find default-name=ether1 ] advertise=1000M-full l2mtu=1500 name=wan
/interface ethernet switch port
set 0 default-vlan-id=0
set 1 default-vlan-id=0
set 2 default-vlan-id=0
set 3 default-vlan-id=0
set 4 default-vlan-id=0
set 5 default-vlan-id=0
set 6 default-vlan-id=0
set 7 default-vlan-id=0
set 8 default-vlan-id=0
set 9 default-vlan-id=0
set 10 default-vlan-id=0
set 11 default-vlan-id=0
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp-pool-lan ranges=192.168.60.100-192.168.60.200
/ip dhcp-server
add address-pool=dhcp-pool-lan disabled=no interface=lan lease-time=1d name=\
    dhcp-lan
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/ip address
add address=###.###.18.118/29 interface=wan network=###.###.18.112
add address=192.168.60.1/24 interface=lan network=192.168.60.0
/ip dhcp-server network
add address=192.168.60.0/24 comment=lan dns-server=192.168.60.1 gateway=\
    192.168.60.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip firewall filter
add action=accept chain=input connection-state=established
add action=accept chain=input connection-state=related
add action=drop chain=input connection-state=invalid
add action=accept chain=input in-interface=lan
add action=drop chain=input
add action=accept chain=forward connection-state=established
add action=accept chain=forward connection-state=related
add action=drop chain=forward connection-state=invalid
add action=accept chain=forward in-interface=lan
add action=drop chain=forward
/ip firewall nat
add action=masquerade chain=srcnat out-interface=wan
/ip route
add distance=1 gateway=###.###.18.113
/system ntp client
set enabled=yes primary-ntp=2.2.2.2 secondary-ntp=3.3.3.3

and this is the output of «ip route print»:

ip_route_print.JPG

on another linuxbox I have below settings and this works like a charm:

ip_other_linuxbox.JPG

from the Mikrotik I can ping this linuxbox at ###.###.18.116 but nothing else.
on this linuxbox the output of traceroute is:

traceroute.JPG

on a forum a read somewhere that I have to set nexthop, but I don’t know how to do this.

can anyone help me please?

You do not have the required permissions to view the files attached to this post.

User avatar
satman1w

Member Candidate
Member Candidate

Posts: 273
Joined: Mon Oct 02, 2006 11:47 am

Re: No route to host

Thu Dec 03, 2020 3:40 pm

O.K.
let’s start from beginning
your router has address x.x.18.118/29 on ether1.
ether1 is connected to your provider.
without any additinal routes you sgould be able to ping Def.Gw. on your prowiders network
ping x.x.18.113 — can you?
if you can, add default route 0.0.0.0 to x.x.18.113
now you should be able to ping 8.8.8.8 — can you
if you can, add private address to your lan interface (ether6) 192.168.60.1/24
setup NAT from private network to wan interface
connect any computer with address 192.168.60.x/24 with DG set to 192.168.60.1 to ether6 and ty to ping
router on 192.168.60.1 — if you can, you have connectivity to router
ping 8.8.8.8 — if you can the job is done
if you cannot something is wrong with NAT settings…

hopefully I have guessed all the addressess you are using…

that’s all

try again

ftimmers

just joined

Topic Author

Posts: 7
Joined: Sat Nov 21, 2020 4:01 pm

Re: No route to host

Thu Dec 03, 2020 6:26 pm

@satman1w

I started again from the beginning with a basic configuration:

basic_conf.JPG

As you can see I can ping the other linuxbox, but I cannot ping the gateway.

Is there some other setting wrong?

You do not have the required permissions to view the files attached to this post.

User avatar
satman1w

Member Candidate
Member Candidate

Posts: 273
Joined: Mon Oct 02, 2006 11:47 am

Re: No route to host

Thu Dec 03, 2020 7:55 pm

tell me (or draw) how exactly are connected your router, providers equipment and the «linux box», please.

Everything else seems ok…

ftimmers

just joined

Topic Author

Posts: 7
Joined: Sat Nov 21, 2020 4:01 pm

Re: No route to host

Thu Dec 03, 2020 11:42 pm

@satman1w

Thank you for your time and help so far.

My network:
The modem from my ISP:

modem_photo.jpg

modem_model.jpg

I cannot make any relevant change in the settings of this router:

Ubee_status.JPG

Ubee_status_advanced.JPG

The UTP-cable is attached to a switch
To the switch are connected multiple routers:
* an old PC running NethServer (CentOS) at IP ###.###.18.115 (eth1) to which a home lan (eth0) is connected
* a raspberry pi4 (Ubuntu) at IP ###.###.18.116 (eth1) to which a business lan (eth0) is connected
* a linksys E8350 router at IP ###.###.18.117 (wan-port) to which (lan-port) a raspberry pi4 (RasPBX) is connected
* a Mikrotik RB4011iGS+ (RouterOS 6.47.7) at IP ###.###.18.118 ………….

What I tried before is to connect the UTP-cable from the ISP-modem directly to the Mikrotik (so all other devices were unconnected) but even that didn’t work.
I checked and re-checked and double-checked I hadn’t made any typo’s.
But still can’t get internet connection at gateway ###.###.18.113 while that works at all the other routers.

Do you have any suggestions?

You do not have the required permissions to view the files attached to this post.

User avatar
satman1w

Member Candidate
Member Candidate

Posts: 273
Joined: Mon Oct 02, 2006 11:47 am

Re: No route to host

Fri Dec 04, 2020 8:29 am

As I can see you have some kind of Cable modem from your provider and it is in a bridge mode so it is not «dialing a connection» by itself.
If it is anything like adsl modem you have to etup pppoe on modem to connect it to provider, OR if it is bridged (it looks that yours is), you have to set up the connection on your side (in your case — on mikrotik).
If your Linux machine CAN ping outside your network, is it possible that pppoe client is set there?

ftimmers

just joined

Topic Author

Posts: 7
Joined: Sat Nov 21, 2020 4:01 pm

Re: No route to host

Fri Dec 04, 2020 9:56 am

@satman1w

Yes, it is a cable-modem. I don’t need to setup pppoe. On all the routers / linux-boxes I fill in the correct IP, subnetmask, gateway and dns-addresses and then I have a internet-connection outside my network.

So, I think it has to do with another setting, but I don’t know what?

User avatar
ingdaka

Trainer
Trainer

Posts: 446
Joined: Thu Aug 30, 2012 3:06 pm
Location: Albania
Contact:

Re: No route to host

Fri Dec 04, 2020 10:08 am

Maybe there is something other! Did you have any other device configured with this IP address, some ISP has an log ARP age and there need some time to clear old MAC and to accept new one, so your gateway show as unreachable!

User avatar
satman1w

Member Candidate
Member Candidate

Posts: 273
Joined: Mon Oct 02, 2006 11:47 am

Re: No route to host

Fri Dec 04, 2020 11:58 am

@satman1w

Yes, it is a cable-modem. I don’t need to setup pppoe. On all the routers / linux-boxes I fill in the correct IP, subnetmask, gateway and dns-addresses and then I have a internet-connection outside my network.

So, I think it has to do with another setting, but I don’t know what?

If everything is as you said, there’s really no reason for behaviour you are describing… I am out of ideas (without connecting to winbox..)

Try another IP… x.x.18.114 is free…

ftimmers

just joined

Topic Author

Posts: 7
Joined: Sat Nov 21, 2020 4:01 pm

Re: No route to host

Sun Dec 06, 2020 10:30 pm

@ingdaka
The ip ###.###.18.118 is not in use by another server or router; I can set another router to listen to this IP-address and I can set my computer to listen to this IP-address, it’s all working, but not when I try to do the same with the Mikrotik…

@satman1w
I tried the ip ###.###.18.114, but it’s the same result, no internetconnection…

I placed a post at the Ziggo-forum, so I hope anyone there has a solution (I’m sorry, it is in Dutch):
https://ziggoforum.nl/topics/ziggozakel … ost.93979/

Thanks everybody for your help.

User avatar
satman1w

Member Candidate
Member Candidate

Posts: 273
Joined: Mon Oct 02, 2006 11:47 am

Re: No route to host

Mon Dec 07, 2020 3:15 pm

@satman1w
I tried the ip ###.###.18.114, but it’s the same result, no internetconnection…

…one more just to be sure..
I would try to disconnect EVRYTHING fom providers equipment, then connect ONLY Mikrotik (different ethernet port…) and set it up from scratch..

User avatar
anav

Forum Guru
Forum Guru

Posts: 17379
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: No route to host

Mon Dec 07, 2020 3:46 pm

THis rule…..
add action=accept chain=forward in-interface=lan

is not complete……

add action=accept chain=forward in-interface=lan out-interface=wan ( probably the above allows for that but its open ended which bothers me LOL)

Примерно чуть более месяца назад приобрёл роутер MikroTik hap hac2, настроил по Quick set, после настроил ещё только dns сервера и пару статичных адресов в DHCP. Всё это время он работал без нареканий.
Но пару дней назад почему-то стал выдавать no route to host на публичные адреса, хотя при этом пинг до хоста работает и telnet по порту из роутера выполняется успешно (no route to host — с клиентов). То есть, с клиентов:

$ ping github.com
PING github.com (140.82.118.3) 56(84) bytes of data.
64 bytes from lb-140-82-118-3-ams.github.com (140.82.118.3): icmp_seq=1 ttl=56 time=51.8 ms

$ telnet github.com 22
Trying 140.82.118.3...
Trying 140.82.118.4...
telnet: Unable to connect to remote host: No route to host

С терминала роутера же всё ок. В чем может быть проблема?

Да, после перезагрузки на некоторое время проблема исчезает примерно на несколько часов.

Привожу конфиг:

export compact

# apr/23/2019 15:37:56 by RouterOS 6.44.2
# software id = L82U-UTWW
#
# model = RBD52G-5HacD2HnD
# serial number = B4A00AF34868
/interface bridge
add admin-mac=74:4D:28:1E:30:C0 arp=proxy-arp auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether3 ] speed=100Mbps
set [ find default-name=ether4 ] speed=100Mbps
set [ find default-name=ether5 ] speed=100Mbps
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1 name=pppoe-out1 password=<pass> user=<user>
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-g/n channel-width=20/40mhz-eC disabled=no distance=indoors frequency=2447 mode=ap-bridge ssid=<SSID> wireless-protocol=802.11
set [ find default-name=wlan2 ] arp=proxy-arp band=5ghz-a/n/ac channel-width=20/40/80mhz-Ceee disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=<SSID> tx-power=22 tx-power-mode=\
    all-rates-fixed wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key="<password>" wpa2-pre-shared-key="<password>"
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp ranges=192.168.88.5-192.168.88.254
/ip dhcp-server
add add-arp=yes address-pool=dhcp disabled=no interface=bridge lease-time=50m name=defconf
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
add interface=pppoe-out1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether2 network=192.168.88.0
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid interface=ether1
/ip dhcp-server lease
add address=192.168.88.6 client-id=1:d0:50:99:6:39:68 mac-address=D0:50:99:06:39:68 server=defconf
add address=192.168.88.7 mac-address=D4:3B:04:7B:46:89 server=defconf
add address=192.168.88.9 client-id=1:ac:ed:5c:cc:c4:50 mac-address=AC:ED:5C:CC:C4:50 server=defconf
add address=192.168.88.8 mac-address=BC:A8:A6:84:78:2B server=defconf
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip dns static
add address=192.168.88.1 name=router.lan
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf:  drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/ip ssh
set allow-none-crypto=yes
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=ether1 type=external
add interface=bridge type=internal
add interface=pppoe-out1 type=external
/system clock
set time-zone-name=Europe/Saratov
/system identity
set name=kolyan
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN

Are you looking for an answer to the topic “no route to host“? We answer all your questions at the website barkmanoil.com in category: Newly updated financial and investment news for you. You will find the answer right below.

Keep Reading

No Route To Host

No Route To Host

How do I fix No route to host?

Open the applet or go through your system settings. Select your connection and find the “IPv4” tab. Switch the connection to “Manual” and manually enter in the IP address of your computer and the IP of your router as the gateway. Then, in the DNS field below, enter your router’s IP or the IP of another DNS server.

What causes no route to host?

‘No Route to Host’ denotes a network problem, usually one which shows up when the server or host is not responding. This may happen because of network issues or because of an inappropriate setup.


\”Connection refused\” vs \”No route to host\” (4 Solutions!!)

\”Connection refused\” vs \”No route to host\” (4 Solutions!!)

\”Connection refused\” vs \”No route to host\” (4 Solutions!!)

Images related to the topic\”Connection refused\” vs \”No route to host\” (4 Solutions!!)

\

\”Connection Refused\” Vs \”No Route To Host\” (4 Solutions!!)

What is no route host exception?

“No route to host” Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down.

Can ping but SSH no route to host?

Your “no route to host” while the machine responds to ping is a sign of a firewall that is denying you access but is informing you that it happened (i.e. with an ICMP message rather than just silent drop). Check your outgoing firewall. If it isnt that then its blocked closer to the destination.

How do I fix port 22 without hosting?

Login, and access a command prompt. Then use the firewall-cmd (RHEL/CentOS/Fedora) or UFW (Debian/Ubuntu) to open port 22 (or the port you configured to be used for SSH) in the firewall as follows. Now try to re-connect to the remote server once more via SSH.

How do I fix destination host unreachable?

How to Fix Ping Error Destination Host Unreachable?

  1. Disable the firewall. Aggressive firewall settings can cause the destination host unreachable error. …
  2. Perform a Power Cycle in your Network. Switch off the devices on your network. …
  3. Disable IPv6 and Test the Connectivity. Sometimes devices fell into the IP version conflicts.

Can ping but connection refused?

If it says Connection refused , it is likely that the other host is reachable, but there is nothing listening on the port. If there is no response (packet is dropped), it is likely a filter blocking the connection. Next, try nmap <ip> . This will tell you which ports are open and blocked.


See some more details on the topic no route to host here:


Cách sửa lỗi kết nối “No Route to Host” trên Linux – Thủ thuật

Dưới đây Taimienphi.vn sẽ liệt kê một số nguyên nhân gây lỗi cũng như cách sửa lỗi “No Route to Host” trên Linux. sua loi ket noi no route to host tren linux.

+ Read More

How to Fix “No Route to Host” Connection Error on Linux

When you’re trying to connect to a service on Linux, “No route to host” is one of the last things you want to hear.

+ View More Here

‘No Route to Host’ Error in Linux – What To Do – Alphr

‘No Route to Host’ denotes a network problem, usually one which shows up when the server or host is not responding. This may happen because of …

+ View More Here

Khắc phục lỗi định tuyến đến máy chủ (No Route to Host …

Khắc phục lỗi định tuyến đến máy chủ (No Route to Host) trong Linux? · 1. Kiểm tra lại Host/Service · 2. Cổng kết nối sai · 3. Iptables bị chặn kết …

+ View More Here

How do I ping an IP address?

For Windows 10, go to Search in the taskbar and:

  1. Type “cmd” to bring up the Command Prompt.
  2. Open the Command Prompt.
  3. Type “ping” in the black box and hit the space bar.
  4. Type the IP address you’d like to ping (e.g., 192. XXX. X.X).
  5. Review the ping results displayed.

How do I resolve destination host unreachable in Linux?

You can verify it by disabling the firewall and ping the destination IP again. The second common reason is a loose network connection. Referred from this source. We can fix this, by disconnecting both power cables and Ethernet cables from the modem, router, and PC.

Why is destination host unreachable?

Destination Network / Host unreachable – This means that the host that you are trying to ping is down or is not operating on the network. Hardware Error – This usually means that your network adapter is disabled or you have unplugged the Ethernet cable.


Mengatasi mikrotik no route to host

Mengatasi mikrotik no route to host

Mengatasi mikrotik no route to host

Images related to the topicMengatasi mikrotik no route to host

Mengatasi Mikrotik No Route To Host

Mengatasi Mikrotik No Route To Host

How check if port is open Linux?

On a Linux computer

  1. Open Terminal on your Linux computer.
  2. Enter “telnet + IP address or hostname + port number” (e.g., telnet www.synology.com 1723 or telnet 10.17. xxx. xxx 5000) to run the telnet command and test the port status.
  3. If the port is open, a message will say Connected to 10.17. xxx. xxx.

What is the SSH protocol?

SSH or Secure Shell is a network communication protocol that enables two computers to communicate (c.f http or hypertext transfer protocol, which is the protocol used to transfer hypertext such as web pages) and share data.

What port does SSH use?

By default, the SSH server still runs in port 22.

Could not open connection to the host on port 22 Connect failed Linux?

Sometimes while connecting to SSH servers, users often encounter “Connection refused” error by port 22. It happens because of several reasons like SSH service is not running, the port is blocked by the firewall, or the server is using a different port. It can also occur because of the IP conflict issue.

What does it mean when a website is unreachable?

“This site can’t be reached: ERR ADDRESS UNREACHABLE” is a standard error message. When a user attempts to open a website, the browser is unable to connect to the server. The router or your internet settings are usually at blame if the problem is on your end.

How do I renew my IP address?

Getting a new IP address on your Android isn’t quite as straightforward. You need to force your phone to “forget” the current Wi-Fi network it’s connected to. Once you do this, it’ll release its current connection (and IP address). The next time you connect it’ll receive a new one.

How do I fix connection refused?

To try and resolve the ERR_CONNECTION_REFUSED message, you can:

  1. Check to see whether the page itself has gone down.
  2. Restart your router.
  3. Clear your browser’s cache.
  4. Assess your proxy settings and adjust them as needed.
  5. Temporarily disable antivirus and firewall software.
  6. Flush your DNS cache.
  7. Change your DNS address.

What is the ICMP port?

ICMP has no concept of ports, as TCP and UDP do, but instead uses types and codes. Commonly used ICMP types are echo request and echo reply (used for ping) and time to live exceeded in transit (used for traceroute).

Why is SSH not working?

Make sure you have SSH access enabled. You can check to see of SSH is enabled by running cf ssh-enabled APP_NAME . Enable it by running cf enable-ssh APP_NAME . Make sure you are not in an environment that blocks outgoing traffic on port 2222 (the default port for cf ssh traffic).


[Mikrotik] How to Enable internet in Mikrotik with Static Route

[Mikrotik] How to Enable internet in Mikrotik with Static Route

[Mikrotik] How to Enable internet in Mikrotik with Static Route

Images related to the topic[Mikrotik] How to Enable internet in Mikrotik with Static Route

[Mikrotik] How To Enable Internet In Mikrotik With Static Route

[Mikrotik] How To Enable Internet In Mikrotik With Static Route

Why is destination host unreachable?

Destination Network / Host unreachable – This means that the host that you are trying to ping is down or is not operating on the network. Hardware Error – This usually means that your network adapter is disabled or you have unplugged the Ethernet cable.

How do I resolve destination host unreachable in Linux?

You can verify it by disabling the firewall and ping the destination IP again. The second common reason is a loose network connection. Referred from this source. We can fix this, by disconnecting both power cables and Ethernet cables from the modem, router, and PC.

Related searches to no route to host

  • mysqli real connect hy0002002 no route to host
  • no route to host kubernetes
  • Java net noroutetohostexception No route to host (host unreachable)
  • destination host unreachable ubuntu
  • No route to host host unreachable
  • Destination host unreachable
  • No route to host kubernetes
  • no route to host host unreachable
  • destination host unreachable
  • java net noroutetohostexception no route to host host unreachable
  • Destination host unreachable Ubuntu
  • destination host unreachable win 10
  • Stop iptables CentOS 7
  • failed to connect to github com port 443 no route to host

Information related to the topic no route to host

Here are the search results of the thread no route to host from Bing. You can read more if you want.


You have just come across an article on the topic no route to host. If you found this article useful, please share it. Thank you very much.

Да мне нужно было не через днсп клиента настраивать, а через ппое
И ещё один момент помогите с правами клиенты не могут выйти в интернет ошибка «сбой передачи»

Код: Выделить всё


[admin@MikroTik] > /ip firewall mangle                                                                                                     
[admin@MikroTik] /ip firewall mangle> print detail                                                                                                           
Flags: X - disabled, I - invalid, D - dynamic
 0    chain=prerouting action=mark-connection new-connection-mark=allow_in connection-state=new protocol=tcp dst-port=9999

[admin@MikroTik] /ip firewall mangle> /ip firewall nat                                                       
[admin@MikroTik] /ip firewall nat> print detail   
Flags: X - disabled, I - invalid, D - dynamic
 0    chain=srcnat action=masquerade src-address=61.75.223.64/27 out-interface=pppoe-out1 log=no log-prefix=""

 1    chain=dstnat action=redirect to-ports=80 protocol=tcp dst-port=9999

 [admin@MikroTik] /ip firewall nat> /ip firewall mangle                                                                                                     
[admin@MikroTik] /ip firewall mangle> print detail       
Flags: X - disabled, I - invalid, D - dynamic
 0    chain=prerouting action=mark-connection new-connection-mark=allow_in connection-state=new protocol=tcp dst-port=9999
[admin@MikroTik] /ip firewall mangle> /ip firewall filter

                                                                                                      [admin@MikroTik] /ip firewall filter> print detail       
Flags: X - disabled, I - invalid, D - dynamic
 0    chain=input protocol=icmp

 1    chain=input connection-state=new protocol=tcp src-address=61.75.223.64/27 in-interface=br-lan dst-port=80,8291,22

  2    chain=input action=accept connection-state=new protocol=tcp connection-mark=allow_in in-interface=pppoe-out1 dst-port=80 log=no log-prefix=""

 3    chain=input action=accept connection-state=new protocol=udp src-address=61.75.223.64/27 in-interface=br-lan dst-port=53,123 log=no log-prefix=""

 4    chain=input connection-state=established,related

 5    chain=output connection-state=!invalid

 6    chain=forward action=accept connection-state=established,new src-address=61.75.223.64/27 in-interface=br-lan out-interface=pppoe-out1 log=no log-prefix=""
 7    chain=forward action=accept connection-state=established,related in-interface=pppoe-out1 out-interface=br-lan log=no log-prefix=""

 8    chain=input action=drop

 9    chain=output action=drop

10    chain=forward action=drop

[admin@MikroTik] /ip firewall filter> /ip route
[admin@MikroTik] /ip route> print detail       
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
 0 ADS  dst-address=0.0.0.0/0 gateway=pppoe-out1 gateway-status=pppoe-out1 reachable distance=0 scope=30 target-
 1 ADC  dst-address=61.75.213.64/27 pref-src=61.75.213.65 gateway=br-lan gateway-status=br-lan reachable distance=0 scope=10

 2 ADC  dst-address=213.231.0.200/32 pref-src=213.231.25.165 gateway=pppoe-out1 gateway-status=pppoe-out1 reachable distance=0 scope=10
[admin@MikroTik] /ip route> /ip addres 
[admin@MikroTik] /ip address> print detail
Flags: X - disabled, I - invalid, D - dynamic
 0   address=61.75.213.65/27 network=61.75.213.64 interface=br-lan actual-interface=br-lan

 1 D address=213.231.25.165/32 network=213.231.0.200 interface=pppoe-out1 actual-interface=pppoe-out1
 admin@MikroTik] /ip address> /interface
[admin@MikroTik] /interface> print detail
Flags: D - dynamic, X - disabled, R - running, S - slave
 0  R  ;;; wan
       name="eth1-wan" default-name="ether1" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1598 max-l2mtu=4074 mac-address=64:D1:54:9F:C8:E4
       last-link-up-time=jan/21/2018 15:02:12 link-downs=0

 1   S ;;; lan
       name="eth2-lan" default-name="ether2" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1598 max-l2mtu=4074 mac-address=64:D1:54:9F:C8:E5 link-downs=0

 2   S name="eth3-lan" default-name="ether3" type="ether" mtu=1500 actual-mtu=1500
 l2mtu=1598 max-l2mtu=4074 mac-address=64:D1:54:9F:C8:E6 link-downs=0

 3   S name="eth4-lan" default-name="ether4" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1598 max-l2mtu=4074 mac-address=64:D1:54:9F:C8:E7 link-downs=0

 4  RS name="eth5-lan" default-name="ether5" type="ether" mtu=1500 actual-mtu=1500 l2mtu=1598 max-l2mtu=4074 mac-address=64:D1:54:9F:C8:E8
       last-link-down-time=jan/21/2018 15:21:29 last-link-up-time=jan/21/2018 15:21:33 link-downs=1

 5   S name="wlan1" default-name="wlan1" type="wlan" mtu=1500 actual-mtu=1500 l2mtu=1600 max-l2mtu=2290 mac-address=64:D1:54:9F:C8:E9
       last-link-down-time=jan/21/2018 15:54:09
       last-link-up-time=jan/21/2018 15:53:14 link-downs=2

 6  R  name="br-lan" type="bridge" mtu=auto actual-mtu=1500 l2mtu=1598 mac-address=64:D1:54:9F:C8:E5 last-link-up-time=jan/21/2018 15:02:09 link-downs=0

 7  R  name="pppoe-out1" type="pppoe-out" mtu=1480 actual-mtu=1480 last-link-up-time=jan/21/2018 15:19:52 link-downs=0
[admin@MikroTik] /interface> /ip dhcp-server
[admin@MikroTik] /ip dhcp-server> print detail
Flags: D - dynamic, X - disabled, I - invalid
 0    name="dhcppool" interface=br-lan lease-time=8h address-pool=dhcppool bootp-support=static authoritative=yes use-radius=no lease-script=""
       admin@MikroTik] /ip dhcp-server> /ip pool
[admin@MikroTik] /ip pool> print detail
 0 name="dhcppool" ranges=61.75.223.66-61.75.223.93

[admin@MikroTik] /ip dns> print       
                      servers:
              dynamic-servers: 194.143.136.1,194.143.136.2
        allow-remote-requests: no
          max-udp-packet-size: 4096
         query-server-timeout: 2s
          query-total-timeout: 10s
       max-concurrent-queries: 100
  max-concurrent-tcp-sessions: 20
                   cache-size: 2048KiB
                cache-max-ttl: 1w
                   cache-used: 18KiB

Понравилась статья? Поделить с друзьями:
  • Migun hy 7000e ошибка e1
  • Miflash ошибка writing partition
  • Miflash ошибка ping target failed
  • Miflash ошибка not catch checkpoint
  • Miflash ошибка critical partition flashing is not allowed