Page 1 of 1

add public IP

Posted: Fri May 28, 2010 10:06 pm
by someuser
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

Re: add public IP

Posted: Fri May 28, 2010 10:21 pm
by vacarosie200
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

Re: add public IP

Posted: Mon May 31, 2010 5:09 pm
by someuser
Got it, Thanks