Community discussions

MikroTik App
 
User avatar
communicaters
just joined
Topic Author
Posts: 18
Joined: Sat May 14, 2011 10:12 am
Location: Lahore, Pakistan
Contact:

need solution

Wed Jun 08, 2011 8:02 pm

Dear Friends

I have setup a 1km wireless link with the help of RB433AH having 23dBi Grid antenna as client and RB433AH having 12dBi Omni antenna. everything working fine i can ping and test bandwidth it is perfectly fine and getting 8Mbps speed on average.

But the problem is this that i have assign a real IP to one of my device. I can ping my Gateway but unable to ping the device assign IP address. can someone help me in this regards.
 
lazerusrm
Member Candidate
Member Candidate
Posts: 162
Joined: Sat Jan 29, 2011 7:56 am

Re: need solution

Thu Jun 09, 2011 6:17 am

Are you talking about the Mikrotik router itself?

Check the broadcast address in your IP -> address settings and make sure it is set accordingly...
 
User avatar
communicaters
just joined
Topic Author
Posts: 18
Joined: Sat May 14, 2011 10:12 am
Location: Lahore, Pakistan
Contact:

Re: need solution

Thu Jun 09, 2011 9:06 am

Dear friend

every thing is set accordingly because it is assigned by the ISP and there is no doubt about it because I am pinging the Gateway as well.
 
0ldman
Forum Guru
Forum Guru
Posts: 1465
Joined: Thu Jul 27, 2006 5:01 am

Re: need solution

Thu Jun 09, 2011 9:23 am

Do you have a default route set? 0.0.0.0/0 to x.x.x.x

Do you have NAT anywhere in the system? Have you enabled masquerade? Need a lot more info to answer that question.
 
User avatar
communicaters
just joined
Topic Author
Posts: 18
Joined: Sat May 14, 2011 10:12 am
Location: Lahore, Pakistan
Contact:

Re: need solution

Thu Jun 09, 2011 5:58 pm

Dear Friends,

Yes I have set the routing table as well but can not resolve my issue.

I only configure my router's Wireless, Bridge and LAN interface IP nothing else has been set.

but still unable to get connected. I even can not ping my remote AP's LAN IP as well.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: need solution

Thu Jun 09, 2011 6:02 pm

You missed the part where it says "need a lot more info to answer your question". Just saying "nuh uh" doesn't get anyone anywhere.

Put yourself into everyone else's shoes. You can't figure out what is going on and you have access to the system - how is anyone else supposed to figure it out for you when they can't even look at the devices in question? If you want help other than wild guesses, post some details.

Start with the output of "/ip address print detail", "/ip route print detail", "/interface print", "/ip firewall export", and an accurate network diagram.
 
lazerusrm
Member Candidate
Member Candidate
Posts: 162
Joined: Sat Jan 29, 2011 7:56 am

Re: need solution

Thu Jun 09, 2011 8:26 pm

C'mon fewi, sometimes guessing is fun :P
 
User avatar
communicaters
just joined
Topic Author
Posts: 18
Joined: Sat May 14, 2011 10:12 am
Location: Lahore, Pakistan
Contact:

Re: need solution

Fri Jun 10, 2011 5:35 pm

Here are the detail as you demand

Bridge Side Configration
 > ip address print detail
Flags: X - disabled, I - invalid, D - dynamic 
 0   address=10.10.0.1/30 network=10.10.0.0 broadcast=10.10.0.3 interface=wlan1 
     actual-interface=bridge1 

 1   address=90.0.0.10/24 network=90.0.0.0 broadcast=90.0.0.255 interface=ether1 
     actual-interface=bridge1 
[admin@MikroTik] > /ip route print detail
Flags: X - disabled, A - active, D - dynamic, 
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, 
B - blackhole, U - unreachable, P - prohibit 
 0 A S  dst-address=0.0.0.0/0 gateway=90.0.0.1 
        gateway-status=90.0.0.1 reachable bridge1 distance=1 scope=30 
        target-scope=10 

 1 ADC  dst-address=10.10.0.0/30 pref-src=10.10.0.1 gateway=bridge1 
        gateway-status=bridge1 reachable distance=0 scope=10 

 2 ADC  dst-address=90.0.0.0/24 pref-src=90.0.0.10 gateway=bridge1 
        gateway-status=bridge1 reachable distance=0 scope=10 
  /interface prin 
Flags: D - dynamic, X - disabled, R - running, S - slave 
 #     NAME                                         TYPE             MTU   L2MTU
 0  R  ether1                                       ether            1500  1526 
 1     ether2                                       ether            1500  1522 
 2     ether3                                       ether            1500  1522 
 3  R  bridge1                                      bridge           1500  1526 
 4  R  wlan1                                        wlan             1500  2290 
/ip firewall export 
# jan/02/1970 03:19:41 by RouterOS 4.11
# software id = 0JWX-J3GH
#
/ip firewall connection tracking
set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s \
    tcp-close-wait-timeout=10s tcp-established-timeout=1d \
    tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s \
    tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no \
    tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=\
    bridge1
/ip firewall service-port
set ftp disabled=no ports=21
set tftp disabled=no ports=69
set irc disabled=no ports=6667
set h323 disabled=no
set sip disabled=no ports=5060,5061
set pptp disabled=no

Station Site Configration
 /ip address print detail 
Flags: X - disabled, I - invalid, D - dynamic 
 0   address=90.0.0.20/24 network=90.0.0.0 broadcast=90.0.0.255 
     interface=ether1 actual-interface=bridge1 

 1   address=10.10.0.2/30 network=10.10.0.0 broadcast=10.10.0.3 
     interface=Wireless actual-interface=bridge1 
 /ip route print detail 
Flags: X - disabled, A - active, D - dynamic, 
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, 
B - blackhole, U - unreachable, P - prohibit 
 0 A S  dst-address=0.0.0.0/0 gateway=90.0.0.10 
        gateway-status=90.0.0.10 reachable bridge1 distance=1 scope=30 
        target-scope=10 

 1 ADC  dst-address=10.10.0.0/30 pref-src=10.10.0.2 gateway=bridge1 
        gateway-status=bridge1 reachable distance=0 scope=10 

 2 ADC  dst-address=90.0.0.0/24 pref-src=90.0.0.20 gateway=bridge1 
        gateway-status=bridge1 reachable distance=0 scope=10 
 /interface print 
Flags: D - dynamic, X - disabled, R - running, S - slave 
 #     NAME                                        TYPE             MTU   L2MTU
 0  R  ether1                                      ether            1500  1526 
 1     ether2                                      ether            1500  1522 
 2     ether3                                      ether            1500  1522 
 3  R  Wireless                                    wlan             1500  2290 
 4  R  bridge1                                     bridge           1500  1526
 /ip firewall export 
# jan/02/1970 04:02:08 by RouterOS 4.11
# software id = J4LB-6JYB
#
/ip firewall connection tracking
set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s \
    tcp-close-wait-timeout=10s tcp-established-timeout=1d \
    tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s \
    tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no \
    tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
/ip firewall service-port
set ftp disabled=no ports=21
set tftp disabled=no ports=69
set irc disabled=no ports=6667
set h323 disabled=no
set sip disabled=no ports=5060,5061
set pptp disabled=no
Diagram is simple One is Bridge and second is Station
Bridge is installed at ISP and Station is in my site

Please advice me what to do that i can access the Internet

From my office I can access all the device which are installed in the ISP and can see in my neighbour.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: need solution

Fri Jun 10, 2011 5:57 pm

Remove the 10 dot addresses, they are unnecessary. You don't have a point to point routed link, you're bridging. Assign the public IPs directly to the bridge1 interfaces. Then try again.

What IP address on the public IP network is the default gateway for clients?
 
User avatar
communicaters
just joined
Topic Author
Posts: 18
Joined: Sat May 14, 2011 10:12 am
Location: Lahore, Pakistan
Contact:

Re: need solution

Fri Jun 10, 2011 9:59 pm

Dear fewi,
Remove the 10 dot addresses, they are unnecessary. You don't have a point to point routed link, you're bridging. Assign the public IPs directly to the bridge1 interfaces. Then try again.

What IP address on the public IP network is the default gateway for clients?
I can not get what you want to say can you write code for this how i can assign the Public IPs directely to the bridge1 interface.

I have these 3 Live IP's xx.xxx.140.138,xx.xxx.140.139,xx.xxx.140.140 and the Gate way is xx.xxx.140.129

Please tell me clearly what to do

Thanks
 
mgutz2
Frequent Visitor
Frequent Visitor
Posts: 97
Joined: Wed Jul 07, 2010 8:55 pm
Location: Nicaragua

Re: need solution

Sat Jun 11, 2011 1:27 am

do not know if this is what you need, this is a tutorial I made for my classmates, I did it with a program called Wink, I hope you serve is the only thing that is in Spanish.
http://www.4shared.com/file/o7HnuWZ7/ag ... _el_g.html
 
mgutz2
Frequent Visitor
Frequent Visitor
Posts: 97
Joined: Wed Jul 07, 2010 8:55 pm
Location: Nicaragua

Re: need solution

Sat Jun 11, 2011 1:31 am

I have also one of how to do nat, if you served the last I can go the other.
Greetings from Nicaragua.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: need solution

Sat Jun 11, 2011 1:37 am

I don't see what those 3 public IPs you're talking about now have to do with the configuration snippets you posted. Hopefully someone else can help you. I'm confused.
 
User avatar
communicaters
just joined
Topic Author
Posts: 18
Joined: Sat May 14, 2011 10:12 am
Location: Lahore, Pakistan
Contact:

Re: need solution

Sat Jun 11, 2011 10:36 am

Dear Friends,

Please tell me the code to establish a Bridge connection. One on ISP site and one on client site.

ISP assign me the 3 Live IP address

I have these 3 Live IP's xx.xxx.140.138,xx.xxx.140.139,xx.xxx.140.140 and the Gate way is xx.xxx.140.129

Please help me