Community discussions

MikroTik App
 
999999
just joined
Topic Author
Posts: 15
Joined: Tue Aug 24, 2004 4:15 am

Assign IP Public for client

Sun Jul 16, 2006 10:23 am

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

Re: Assign IP Public for client

Sun Jul 16, 2006 10:36 am

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

http://forum.mikrotik.com/viewtopic.php?t=9675

regards
BalimoreDOTcom
------------------------------------------------------------------------------------
 
999999
just joined
Topic Author
Posts: 15
Joined: Tue Aug 24, 2004 4:15 am

Sun Jul 16, 2006 10:58 am

I dont use NAT in 2.8. So I must use NAT if I upgrade my MT with 2.9? :cry:
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Sun Jul 16, 2006 11:02 am

You have to use NAT anyway, there is NAT in 2.8 too. There will be different syntax in 2.8 version.
 
999999
just joined
Topic Author
Posts: 15
Joined: Tue Aug 24, 2004 4:15 am

Sun Jul 16, 2006 11:30 am

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

Btw, thanks all
 
advantz
Member Candidate
Member Candidate
Posts: 187
Joined: Thu Jul 08, 2004 4:11 am

Mon Jul 17, 2006 12:33 am

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??
 
onowojemma
Member Candidate
Member Candidate
Posts: 129
Joined: Sun Sep 11, 2005 5:27 pm
Location: Nigeria

Tue Aug 01, 2006 11:02 am

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
 
999999
just joined
Topic Author
Posts: 15
Joined: Tue Aug 24, 2004 4:15 am

Sat Aug 05, 2006 7:31 am

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

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

Who is online

Users browsing this forum: Bing [Bot], complexxL9, hazem and 194 guests