Community discussions

MikroTik App
 
dana1975
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Sat Jul 04, 2009 8:32 pm

assig public ip to some client

Fri Jul 31, 2009 4:42 pm

hi dear
i have a mikrotik with these ethers:
ether1:192.168.100.1
ether2,3,4: DHCP-Client (providers gives me 10 Valid IP on each line)
also i have load balancing with fail over


can some of my client have public ip ?
1-client directly give Valid IP from provider
2-i map public ip (DHCP) to invalid ip
3-i map public ip (DHCP) to mac address

i know this command, but i dont have static ip to assign some clients
/ip firewall nat add chain=dstnat dst-address=10.5.8.200 action=dst-nat to-addresses=192.168.100.28
/ip firewall nat add chain=srcnat src-address=192.168.100.28 action=src-nat to-addresses=10.5.8.200

tank you so much
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: assig public ip to some client

Fri Jul 31, 2009 5:59 pm

have you upgraded your 2.9.27? =)
 
dana1975
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Sat Jul 04, 2009 8:32 pm

Re: assig public ip to some client

Fri Jul 31, 2009 7:05 pm

yes sir
 
dana1975
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Sat Jul 04, 2009 8:32 pm

Re: assig public ip to some client

Sat Aug 01, 2009 1:33 am

any replay ???????????????????????????
 
dana1975
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Sat Jul 04, 2009 8:32 pm

Re: assig public ip to some client

Sat Aug 01, 2009 1:32 pm

hi chupaka
you only wanted know that i upgraded my OS or no ?
please answer my question
thank you so much
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: assig public ip to some client

Sat Aug 01, 2009 4:56 pm

I think you should use scripting to see whether your IP address via DHCP has been changed and correct your mapping rules accordingly
 
dana1975
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Sat Jul 04, 2009 8:32 pm

Re: assig public ip to some client

Mon Aug 03, 2009 3:36 pm

could you please help me to write this script?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7188
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: assig public ip to some client

Mon Aug 03, 2009 3:52 pm

Who is online

Users browsing this forum: antosusan and 68 guests