no router to host!!!

i have this problem: my mk says if i ping a public ip : no route to host and my mk not resolve the dns if also the dns function.

i can resolve this problem?


Hai fren,

check and make sure your default ip gateway should correct entry.

regards
Hasbullah.com

which gateway?

your gateway :slight_smile:

please ask your network administrator. and if you are the administrator - please ask your ISP (and read some TCP/IP basics books)

good idea can you send me a book? or want that i send to you my book . Ei baby my problem is on the mikrotik not in my mind :laughing:

please describe your problem and setup in more detail, or else you will get such answers :wink:

show us the ip route print and your diagram. based on the error, it looks like you have no routes!!!

on my mk i have:

  1. one ethernet with the cable adsl, the ip of the router on the lan interface is 192.168.0.1 and the ip on the mk’s ethernt is 192.168.0.2;
  2. one ethernet with the dmz in class 10.0.0.0/24;
  3. one ethernet with the my client that i call authentication and my customers take the pppoe on it, so my mk is a real pppoe server.

The problem is: if i want ping a client from the terminal of the mk the result is no route to host.
how i can resolve this problem?

/ip route print
/ip address print
/interface print

please post those :slight_smile: maybe the ISP gave you some incorrect routes

or look maby you add ip address with the same gateway and it dosnt work..Bye

Reguards

no it’s k
but dont work :frowning:

Greetings!

Did you masquerade your local net?
/ip firewall nat add chain=srcnat action=masquerade out-interface=ether1


Hai Fren,

Ok, just for verification your own public address.
please, try it address to your computer directly without mikrotik router, ok or no.

if same problem, ask to your ISP.
i think is simple solution

if yes without problem, try to export your config in this forum.
don’t worry many people will help you . . . :wink:

regards
Hasbullah.com

k
but if i search a public ip from another adsl connection it’s k all, but if i search a public ip of my client in the same mine adsl i don’t search it

i can put here the configuration without ip address for security, but in this way we cannot resolve the problem

Show me
/ip firewall nat print
If there is not a masquerade statement there, you will not have a gateway. It will be unreachable. No route to host.

there isn’t nothing masquerade, but i can masquered the public ip?

Then this is needed to access the internet:
/ip firewall nat add chain=srcnat action=masquerade out-interface=ether1

now all function. The problem was the packet marked. Thanks to all