ta2mzl
February 25, 2010, 7:40pm
1
Hi everybody;
I can connect to 3G network as below after this what will I do for internet connection via ethernet port or wlan ( I have wireless card).
Could you explain other IP defination, NAT etc?
regards.
[admin@RB411U] > /port print
Flags: I - inactive
# NAME CHANNELS USED-BY BAUD-RATE
0 serial0 1 Serial Console auto
1 usb2 7 PPP <ppp-out1> 9600
[admin@RB411U] > /system resource usb print
# DEVICE VENDOR NAME SPEED
0 2:1 RB400 EHCI 480 Mbps
1 2:2 Sierra Wireless, Inco... MC8790 480 Mbps
2 1:1 RB400 OHCI 12 Mbps
[admin@RB411U] > /interface ppp-client
[admin@RB411U] /interface ppp-client> print
Flags: X - disabled, R - running
0 R name="ppp-out1" max-mtu=1500 max-mru=1500 mrru=disabled port=usb2
data-channel=3 info-channel=0 apn="internet" pin="" user="" password=""
profile=default phone="*99#" dial-command="ATDT"
modem-init="AT+CGDCONT=1" null-modem=no dial-on-demand=no
add-default-route=yes use-peer-dns=yes allow=pap,chap,mschap1,mschap2
[admin@RB411U] /interface ppp-client> ..
[admin@RB411U] /interface> ..
[admin@RB411U] > /ip route print
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
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 DS 0.0.0.0/0 81.6.72.198 1
1 ADC 81.6.72.198/32 81.6.72.198 ppp-out1 0
2 ADC 192.168.2.0/24 192.168.2.1 ether1 0
3 ADC 192.168.10.0/24 192.168.10.1 wlan1 0
[admin@RB411U] > /interface ppp-client log print
bad command name log (line 1 column 23)
[admin@RB411U] > /interface ppp-client
[admin@RB411U] /interface ppp-client> log print
bad command name log (line 1 column 1)
[admin@RB411U] /interface ppp-client> log
bad command name log (line 1 column 1)
[admin@RB411U] /interface ppp-client> /log print
02:00:21 system,info router rebooted
02:00:29 async,ppp,info ppp-out1: initializing...
02:00:29 async,ppp,info ppp-out1: reseting link...
02:00:29 async,ppp,info ppp-out1: reseting link... - could not acquire serial po
rt
02:00:30 async,ppp,info ppp-out1: disconnected
02:00:30 async,ppp,info ppp-out1: initializing...
02:00:30 async,ppp,info ppp-out1: reseting link...
02:00:31 async,ppp,info ppp-out1: initializing modem...
02:00:31 async,ppp,info ppp-out1: dialing out...
02:00:31 async,ppp,info ppp-out1: authenticated
02:00:36 async,ppp,info ppp-out1: connected
ta2mzl
February 26, 2010, 11:50am
3
Hi;
is there any wiki example page ?
regards.
Pilgrim
February 27, 2010, 9:11am
4
slightly different, but explains the nat setup.
rosmE.pdf (448 KB)
Pilgrim
February 27, 2010, 9:16am
5
ta2mzl
February 28, 2010, 10:41pm
6
Hi;
no internet on LAN (local), where is my mistake?
I could not find my mistake.
regars.
04:21:46 async,ppp,info 3G: initializing...
04:21:46 async,ppp,info 3G: reseting link...
04:21:46 system,info device changed by admin
04:21:47 async,ppp,info 3G: terminating... - modem hunged up
04:21:47 async,ppp,info 3G: disconnected
04:21:47 async,ppp,info 3G: initializing...
04:21:47 async,ppp,info 3G: reseting link...
04:21:48 async,ppp,info 3G: initializing modem...
04:21:48 async,ppp,info 3G: dialing out...
04:21:48 async,ppp,info 3G: authenticated
04:21:51 async,ppp,info 3G: connected
[admin@RB411U] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 ;;; LOCAL IP
192.168.0.1/24 192.168.0.0 192.168.2.255 LAN
1 192.168.10.1/24 192.168.10.0 192.168.10.255 WLAN
2 D 81.6.124.185/32 81.6.124.185 0.0.0.0 3G
3 10.0.0.217/32 10.0.0.217 10.0.0.217 3G
[admin@RB411U] > ip route print
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
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 DS 0.0.0.0/0 81.6.124.185 1
1 ADC 10.0.0.217/32 10.0.0.217 3G 0
2 ADC 81.6.124.185/32 81.6.124.185 3G 0
3 ADC 192.168.0.0/24 192.168.0.1 LAN 0
4 ADC 192.168.10.0/24 192.168.10.1 WLAN 0
[admin@RB411U] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade out-interface=3G
[admin@RB411U] >
ta2mzl
March 1, 2010, 11:23pm
7
Can anybody help me?
I tried NAT but I couldn’t reach internet by router.
thanks.
The problem is with route,
[admin@RB411U] > ip route print
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
DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 DS 0.0.0.0/0 81.6.124.185 1
Default gateway is without 'A' sign (active), so it is not working.
I do not know why A is missing, as in your setup it should be with A. You may try to set add-default-gateway=no and add it manually to check if the internet works.
Let us know about the result.
ta2mzl
March 9, 2010, 10:18am
9
Sergejs;
Thank you for answer;
I will try your advise and I will be inform you.
I have also similar topic in “RouterOS Community Support [General]”.
and I think problem is below; my gateway and dst Ip is same that is comming from 3G provider.
I can not change this. Because that is 3G provider rule and they are giving same IP as dst IP and Gateway IP.
[admin@MikroTik] > ip route pr
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
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 DS 0.0.0.0/0 188.38.52.220 1
1 ADC 188.38.52.220/32 188.38.52.220 ppp-out1 0
2 ADC 192.168.1.0/24 192.168.1.1 ether1 0
Yes, I see that it is from your provider.
As I told you try with static gateway rule.
Make sure the latest MikroTik RouterOS version is installed on the router.
Contact your provider to clarify, whether they haver proper configuration on PPP server on their side.
ta2mzl
March 9, 2010, 6:18pm
11
Sergejs hi;
thanks for your advice
Problem solved, I can connect 3G network and I can surf Internet via RB411U+MC8790 combination.
Problem was add-default-route=yes, don’t enable that in UMTS interface and add manualy route with gatewat=ppp interface as UMTS connection.
reecho
March 18, 2010, 6:09am
12
Can you clarify what you added as a route??
This would help me heaps..
hello ta2mzl
can you please explain how did you add the static route…coz i’m facing the same problem since last few days.
thanks