how to get public ip...

Hi, i had a problem right now, i cant know my public ip, this is my setup

internet-----gateway-----mikrotik--------ap------network

i had the MK configured to use the gateway for the network, where the users log using pppoe connections. i had dmz enabled on the gateway, so all external request to the gateway are redirected to the MK (as far as i understand)
i want to know what ip is assigned by my isp to the gateway. there is a way to do this?
sorry if my english is not good enough
thanks in advance

at the command prompt use this command, it will show you all hops c:>pathping http://www.google.com

Thanks, this is usefull for me, but the most part of the time i outside from the network, in other city. I need to know if i can automate a task to send me the external ip (by mail for example) so i can log in the MK server remotely.
i already think of an automated task in a machine of the network, but i want to know if MK can do this task.
Thanks for advise Hugh

i had a problem doing what you said to me :frowning:
only count 2 hops , when reach the MK server it dies.

pathping http://www.google.com
0 Silkon [192.168.1.200]
1 server 192.168.1.1
2 ...

tryc:> pathping 64.233.161.99

How about using a dynamic DNS service such as http://www.dyndns.org

I run a client to update the service on a Linux box behind the MK.

Regards

Andrew

if your just looking to see the public IP you present to the world…

http://www.whatismyip.com works very well…

I’ve written a dynamic dns update script for our services that you can use for this. You could give your MT the name ‘mymtrouter.domain.tld’ and then connect using that and never have to remember the IP address.

http://www.changeip.com/

The script is posted in the forums under scripts - search for ‘dynamic dns’ and you’ll find our supported script here in the forums. (PS. DynDns . org charges WAY too much… why would you want to pay more for dns than you even paid for the domain name?)

Sam