[afnog] Configuring mikrotik to supply my clients with public IPs

John Gitau JGitau at Safaricom.co.ke
Fri Jul 1 13:26:21 EAT 2005


> In the basic setup i cannot find the configuration for public IPs

Hmm, Im a little bit confused by your post, I assume you meant that you
do not know how to add a route so that the public IP's assigned to you
can be routed to your service provider, but are happily using NAT?,
unless of course you meant that you can't add the IP addresses to the
relevant interface:-)Aaanyway

The easiest thing to do in this case is to use static/default routes. 

The syntax for a mikrotik (Router OS2.7) is:

/ip route add gateway 62.24.5.1 
# The above adds the default route.

/ip route add dst-address=172.16.0.0/24 gateway=192.168.10.1 
# The above gives you a through 192.168.10.1 for the network
172.16.0.0/24

Alternatively you can go the policy or dynamic routing way. Mikrotiks
support ospf/rip/bgp and anything that meets your fancy. Good luck.


			**Gitau
			Safaricom 
........................................................................
. 
"If the entire earth, land and water, were covered with computers, 
IPv6 would allow 7x10^23 IP addresses per square meter.  [...]  While it
was not the intention to give every molecule on the surface of the earth
its own IP address, we are not that far off."
	.. Tannenbaum, .Computer.Networks., 3rd Edition
........................................................................
.



More information about the afnog mailing list