Assign IP Public for client

This is my 2.8 setting for assign IP Public from Public (211.11.5.9) to Local. And now I want to use 2.9 but it cant work. Anyone help me please……..

[admin] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic

ADDRESS NETWORK BROADCAST INTERFACE

0 ;;; Local
20.10.10.1/29 20.10.10.0 20.10.10.4 Local
1 ;;; Public
211.11.5.10/29 211.11.5.8 211.11.5.15 Public
2 30.10.10.1/30 30.10.10.0 30.10.10.3 Local

[admin] > /ip route pr
Flags: X - disabled, I - invalid, D - dynamic, J - rejected,
C - connect, S - static, r - rip, o - ospf, b - bgp

DST-ADDRESS G GATEWAY DISTANCE INTERFACE

0 S 211.11.5.13/32 r 30.10.10.1 1 Local
1 S 0.0.0.0/0 r 211.11.5.9 1 Public
2 DC 20.10.10.0/29 r 0.0.0.0 0 Local

I've already read http://www.mikrotik.com/docs/ros/2.9/ip/address but it cant work too


hi, nine

regards
BalimoreDOTcom

I dont use NAT in 2.8. So I must use NAT if I upgrade my MT with 2.9? :cry:

You have to use NAT anyway, there is NAT in 2.8 too. There will be different syntax in 2.8 version.

With 2.8 I dont use NAT. Try my setting that I post be4.

Btw, thanks all

what is your goal for your setup?

is client a router or pc??

Hello all please i run a small ISP and i went to give Public Ip to my clinte i try i subnet the Block My ISP gave me and try but it don’t work how do i do it so that they can use Public IP thanks

Client is pc and router. But I only give 1 IP Public for my client.

And how if my client need more than 1 ip? :confused:

I have 10 client with ip 20.20.20.0/24 with 20.20.20.1 as gateway, and another client with public ip 211.30.30.12/29 and gateway 211.30.30.10. All in 1 interface (ether1) and 211.30.30.8/29 and gateway 211.30.30.9 is from my isp with interface (isp). I set isp with proxy-arp and set client with public ip like i told b4.

[admin] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic

ADDRESS NETWORK BROADCAST INTERFACE

0 ;;; Local
20.20.20.1/24 20.10.10.0 20.10.10.4 Local
1 ;;; Public
211.30.30.10/29 211.30.30.8 211.30.30.15 Public
2 30.10.10.1/30 30.10.10.0 30.10.10.3 Local

[admin] > /ip route pr
Flags: X - disabled, I - invalid, D - dynamic, J - rejected,
C - connect, S - static, r - rip, o - ospf, b - bgp

DST-ADDRESS G GATEWAY DISTANCE INTERFACE

0 S 211.30.30.12/32 r 30.10.10.1 1 Local
1 S 0.0.0.0/0 r 211.30.30.9 1 Public
2 DC 20.20.20.0/24 r 0.0.0.0 0 Local
3 DC 30.10.10.0/30 r 0.0.0.0 0 Local

And now I get new version 2.9.27 and I want to set it with webproxy too.
For the bandwidth limit I set it with queue tree and every client have 1 rule with parent download and 1 rule parent=upload.
Download parent global-out, upload parent global-in.
I just passthrough from mangle :

0 src-address=20.20.20.2/32 action=passthrough mark-connection=con_2

1 connection=con_2 action=accept mark-flow=2

2 src-address=211.30.30.12/32 action=passthrough mark-connection=con_3

3 connection=con_3 action=accept mark-flow=3

And I use simple queue for client that use IP Public :

0 name="Test" target-address=0.0.0.0/0 dst-address=211.30.30.12/32 interface=Public
queue=red priority=7 limit-at=64000/64000 max-limit=96000/96000

Can someone help me to give sample with this configuration in 2.9.27 + webproxy?
All this configuration that I use is 2.8.11 version.

Can someone help me to give sample with this configuration?

Thanks...........