Page 1 of 1
take public ip
Posted: Tue Nov 21, 2006 4:57 pm
by akram
i have mikrotik with 5 public ips , i only use 1 for mikrotik
and 4 free ips , i'd like to use 1 public ip for my workstation
on the mikrotik i put 2 ethernet
1 for public
1 for private
i use masqurade for interner for all workstations
so i want my pc to take one of the public ips
i don't know how to do it or how to configure it
plz help
thanks in advance
Posted: Wed Nov 22, 2006 11:27 am
by janisk
you have to read about basic routing in 2.9 docs.
Re: take public ip
Posted: Wed Nov 22, 2006 12:05 pm
by balimore
----
yes, janisk suggestion is right.
you will to config them by routing, or will make 'Bridge' for first iface to second iface and put ip on 'bridge' i think no more confused.
regards
Hasbullah.com
----
Posted: Wed Nov 22, 2006 12:26 pm
by akram
u got me wrong guys , i just wanna use masqurade with same configuration , i just want to do masqurade to all workstation but for the my workstation got public ip ,is it possible to do it or cann't be?
Posted: Wed Nov 22, 2006 5:08 pm
by akram
thanks you guys , i read more about masqurading
and i found i can use src nat and dst nat
just 2 entries and i got a public ip
here is the example :
/ip firewall nat add chain=dstnat dst-address=10.5.8.200 action=dst-nat \
to-addresses=192.168.0.109
/ip firewall nat add chain=srcnat src-address=192.168.0.109 action=src-nat \
to-addresses=10.5.8.200
10.5.8.200 as public ip
192.168.0.109 as my private ip
Thanks again for u all
Posted: Thu Nov 23, 2006 2:55 am
by balimore
----
yes, ofcourse
that's mean as mapp local to public one, maybe tree months ago, i have like yours. see this link on 'RED' color:
http://www.hasbullah.com/cgi-bin/r/db?p ... lictolocal
regards
Hasbullah.com
----