Community discussions

MikroTik App
 
akram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Wed Aug 10, 2005 4:58 pm

take public ip

Tue Nov 21, 2006 4:57 pm

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
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Wed Nov 22, 2006 11:27 am

you have to read about basic routing in 2.9 docs.
 
User avatar
balimore
Forum Veteran
Forum Veteran
Posts: 884
Joined: Mon Apr 10, 2006 3:38 am

Re: take public ip

Wed Nov 22, 2006 12:05 pm

----
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
----
 
akram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Wed Aug 10, 2005 4:58 pm

Wed Nov 22, 2006 12:26 pm

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?
 
akram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Wed Aug 10, 2005 4:58 pm

Wed Nov 22, 2006 5:08 pm

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
 
User avatar
balimore
Forum Veteran
Forum Veteran
Posts: 884
Joined: Mon Apr 10, 2006 3:38 am

Thu Nov 23, 2006 2:55 am

----
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
----