Community discussions

MikroTik App
 
someuser
Member Candidate
Member Candidate
Topic Author
Posts: 102
Joined: Tue Apr 13, 2010 7:05 am

add public IP

Fri May 28, 2010 10:06 pm

Hi,
I have a simple setup with a box configured with routerOS 4.9
I've previously gotten DHCP (public IP's) on all the boxes (with Hotspot) and all was fine.
Now I've been given a static IP 72.214.*.44.
I can't figure out how to properly add this to get out to internet.
Modem is directly into ether1
I've started with default (out of box) setup.
Tried to add the static to ether1 (wan).
Do I add such as this? 72.214.*.44/28?
The subnet is 255.255.255.240.
Then I add the static route with gateway?
Then create NAT dst and src rule? using the public IP and gateway?
Thanks
 
vacarosie200
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Sun Jun 15, 2008 11:49 am
Location: Romania

Re: add public IP

Fri May 28, 2010 10:21 pm

telnet this:


ip
dhcp-client
remove numbers= 0
..
address
add address=xxx.xxx.xxx.xxx/28
..
route
add gateway=xxx.xxx.xxx.xxy

edit

and don't forget about DNS
 
someuser
Member Candidate
Member Candidate
Topic Author
Posts: 102
Joined: Tue Apr 13, 2010 7:05 am

Re: add public IP

Mon May 31, 2010 5:09 pm

Got it, Thanks

Who is online

Users browsing this forum: sergey343 and 22 guests