Community discussions

MikroTik App
 
Riajul74
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Sun Feb 10, 2013 12:01 am

hotspot giving different ip (address) than my computer ip

Wed Jul 24, 2013 7:39 pm

hello,

i have hotspot setup my RB450 . i have made binding for my ip 192.168.2.3 , but if hotspot login then it giving me different ip 192.168.2.5. also i have DHCP on my router.

please see attachment.

i need if i login then it will remain address 192.168.2.3 not 192.168.2.5

please help me with this.
You do not have the required permissions to view the files attached to this post.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: hotspot giving different ip (address) than my computer i

Thu Jul 25, 2013 12:56 am

If you want the device with that mac address to always get the same ip from the dhcp server, then you need to make the dhcp lease static.
/ip dhcp-server lease
print
make-static X
Change X to the line number of the lease.

Check "/ip hotspot host" also.
 
Riajul74
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Sun Feb 10, 2013 12:01 am

Re: hotspot giving different ip (address) than my computer i

Thu Jul 25, 2013 1:42 am

i made static already which i want to lease. before hotspot login its giving address to address same, but if i login hotspot its giving different.

more clear to you that i have admin pool address from 192.168.2.1-192.168.2.20, i have lease my computer ip 192.168.2.3. also i made binding my ip 192.168.2.3 to address 192.168.2.3 which i shown my screen shoot. when i loging to hotspot i should get ip 192.168.2.3, but i am not getting that. i am getting 192.168.2.5 or 192.168.2.9 or something from pool 192.168.2.1-192.168.2.20. i have checked that if my ip was taken by any hotspot user/host. but no, none taken 192.168.2.3.

hope i made you understand my problem.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: hotspot giving different ip (address) than my computer i

Thu Jul 25, 2013 5:15 am

Post "/ip hotspot host" and "/ip dhcp-server lease".
 
Riajul74
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Sun Feb 10, 2013 12:01 am

Re: hotspot giving different ip (address) than my computer i

Thu Jul 25, 2013 8:50 am

/ip hotspot host> print
Flags: S - static, H - DHCP, D - dynamic, A - authorized, P - bypassed
# MAC-ADDRESS ADDRESS TO-ADDRESS SERVER IDLE-TIMEOUT
0 SP 00:15:17:FA:BA:BC 192.168.2.1 192.168.2.1 hotspot1
1 SP 00:15:99:7F:F2:78 192.168.2.250 192.168.2.250 hotspot1
2 SP 50:E5:49:A6:30:96 192.168.2.25 192.168.2.25 hotspot1
3 SP 50:E5:49:26:50:07 192.168.2.22 192.168.2.22 hotspot1
4 H 6C:F0:49:B3:A1:12 192.168.2.110 192.168.2.110 hotspot1 20m
5 H 70:71:BC:1F:55:BB 192.168.2.128 192.168.2.128 hotspot1 20m
6 A 1C:6F:65:E5:06:DB 192.168.2.80 192.168.2.114 hotspot1
7 A 50:E5:49:2A:81:3A 192.168.2.23 192.168.2.27 hotspot1
8 A 1C:6F:65:AE:B4:ED 192.168.2.24 192.168.2.28 hotspot1
9 A 90:2B:34:18:14:9B 192.168.2.91 192.168.2.79 hotspot1
10 H 6C:F0:49:6C:00:6D 192.168.2.87 192.168.2.87 hotspot1 20m
11 A 50:E5:49:3E:2E:D2 192.168.2.76 192.168.2.102 hotspot1
12 A 1C:6F:65:E5:06:FB 192.168.2.127 192.168.2.120 hotspot1
13 H 1C:6F:65:E9:5B:DB 192.168.2.131 192.168.2.131 hotspot1 20m
14 A 60:EB:69:9C:91:71 192.168.2.31 192.168.2.10 hotspot1
15 H 6C:F0:49:B3:B5:77 192.168.2.109 192.168.2.109 hotspot1 20m
16 H 6C:F0:49:B3:A0:FB 192.168.2.112 192.168.2.112 hotspot1 20m
17 H 00:01:6C:67:24:5B 192.168.2.66 192.168.2.66 hotspot1 20m
18 A 74:EA:3A:81:AB:CB 192.168.2.97 192.168.2.105 hotspot1
19 A 50:E5:49:3E:2F:D8 192.168.2.21 192.168.2.26 hotspot1
20 H 94:DE:80:03:F4:94 192.168.2.106 192.168.2.106 hotspot1 20m
21 H 00:30:67:3A:43:D7 192.168.2.118 192.168.2.118 hotspot1 20m
22 H 6C:62:6D:82:4E:89 192.168.2.108 192.168.2.108 hotspot1 20m
23 H 00:01:6C:62:02:C8 192.168.2.83 192.168.2.83 hotspot1 20m
24 H 00:1D:7D:30:A4:9A 192.168.2.137 192.168.2.137 hotspot1 20m
25 H 00:01:6C:67:24:66 192.168.2.119 192.168.2.119 hotspot1 20m
26 H 1C:6F:65:AE:B4:A3 192.168.2.115 192.168.2.115 hotspot1 20m
27 H 00:1B:FC:1E:2C:F6 192.168.2.130 192.168.2.130 hotspot1 20m
28 H 6C:62:6D:82:4B:C3 192.168.2.101 192.168.2.101 hotspot1 20m
29 A BC:AE:C5:64:38:14 192.168.2.4 192.168.2.2 hotspot1
30 H 90:2B:34:18:1B:60 192.168.2.82 192.168.2.82 hotspot1 20m
31 A 90:2B:34:18:14:8D 192.168.2.135 192.168.2.116 hotspot1
32 H 1C:6F:65:AE:B4:88 192.168.2.133 192.168.2.133 hotspot1 20m
33 A 1C:6F:65:AE:B4:F1 192.168.2.95 192.168.2.6 hotspot1
34 A 6C:F0:49:6C:00:D8 192.168.2.69 192.168.2.117 hotspot1
35 H 50:E5:49:A1:3C:47 192.168.2.60 192.168.2.60 hotspot1 20m
36 H 90:2B:34:18:22:D4 192.168.2.94 192.168.2.94 hotspot1 20m
37 H 90:2B:34:A0:57:29 192.168.2.71 192.168.2.71 hotspot1 20m
38 H 90:2B:34:15:61:E0 192.168.2.90 192.168.2.90 hotspot1 20m
39 H 90:2B:34:18:22:DA 192.168.2.93 192.168.2.93 hotspot1 20m
40 H 90:2B:34:A0:57:21 192.168.2.78 192.168.2.78 hotspot1 20m
41 H 1C:6F:65:AE:B4:F0 192.168.2.99 192.168.2.99 hotspot1 20m
42 H 1C:6F:65:AE:B4:C6 192.168.2.125 192.168.2.125 hotspot1 20m
43 H 50:E5:49:2A:81:42 192.168.2.124 192.168.2.124 hotspot1 20m
44 H 1C:6F:65:AE:B1:53 192.168.2.86 192.168.2.86 hotspot1 20m
45 H 00:24:8C:BB:0D:5C 192.168.2.122 192.168.2.122 hotspot1 20m
46 A 00:25:00:D6:F9:90 192.168.2.3 192.168.2.3 hotspot1


/ip dhcp-server lease> print
Flags: X - disabled, R - radius, D - dynamic, B - blocked
# ADDRESS MAC-ADDRESS HOST-NAME SERVER RATE-LIMIT STATUS
0 192.168.2.1 D8:5D:4C:80:49:B7 VISIONXEIONSERVER Vision
1 192.168.2.23 50:E5:49:2A:81:3A Upload-PC Vision bound
2 192.168.2.22 50:E5:49:26:50:07 PS-104-PC Vision bound
3 192.168.2.25 50:E5:49:A6:30:96 PS-101-PC Vision bound
4 192.168.2.24 1C:6F:65:AE:B4:ED PS102-PC Vision bound
5 D 192.168.2.98 1C:6F:65:8C:42:8A Mojib-PC Vision bound
6 D 192.168.2.95 1C:6F:65:AE:B4:F1 HR-Manager-PC Vision bound
7 192.168.2.31 60:EB:69:9C:91:71 Moinul-PC Vision bound
8 D 192.168.2.60 50:E5:49:A1:3C:47 QC-114-PC Vision bound
9 D 192.168.2.80 1C:6F:65:E5:06:DB QC-MV-114 Vision bound
10 D 192.168.2.65 00:1D:7D:D0:7D:B5 QC-PC-116 Vision bound
11 D 192.168.2.119 00:01:6C:67:24:66 Designer-PC-110 Vision bound
12 D 192.168.2.66 00:01:6C:67:24:5B Designer-PC-113 Vision bound
13 D 192.168.2.62 90:2B:34:18:14:95 QC-MV-208 Vision bound
14 D 192.168.2.78 90:2B:34:A0:57:21 QC-MV-207 Vision bound
15 D 192.168.2.68 90:2B:34:A0:57:17 PS-105-PC Vision bound
16 D 192.168.2.90 90:2B:34:15:61:E0 QC-MV-211 Vision bound
17 D 192.168.2.84 90:2B:34:18:14:6B QV-MV-205 Vision bound
18 D 192.168.2.94 90:2B:34:18:22:D4 QC-MV-209-PC Vision bound
19 D 192.168.2.82 90:2B:34:18:1B:60 QC-MV-202 Vision bound
20 D 192.168.2.76 50:E5:49:3E:2E:D2 QC-PC-101-PC Vision bound
21 D 192.168.2.64 50:E5:49:1E:18:F9 QC-PC-113-PC Vision bound
22 192.168.2.61 30:85:A9:86:4A:AF Sujan-PC Vision bound
23 D 192.168.2.63 90:2B:34:18:23:05 QC-MV-210-PC Vision bound
24 D 192.168.2.73 1C:6F:65:AE:B1:44 QC-PC-111-PC Vision bound
25 D 192.168.2.86 1C:6F:65:AE:B1:53 QC-117-PC Vision bound
26 D 192.168.2.70 1C:6F:65:6F:8E:D4 Designer-PC-118 Vision bound
27 D 192.168.2.69 6C:F0:49:6C:00:D8 Designer-PC-121 Vision bound
28 D 192.168.2.106 94:DE:80:03:F4:94 QC-MV-212-PC Vision bound
29 D 192.168.2.85 50:E5:49:26:49:79 QC-PC-108-PC Vision bound
30 D 192.168.2.112 6C:F0:49:B3:A0:FB Designer-102-PC Vision bound
31 D 192.168.2.72 00:1F:C6:84:93:F1 ALEX-PC Vision bound
32 D 192.168.2.92 90:2B:34:A0:57:09 QC-119-PC Vision bound
33 D 192.168.2.81 90:2B:34:A0:57:28 QC-MV-215-PC Vision bound
34 D 192.168.2.67 00:18:F3:80:7D:C4 vision-0157b0b3 Vision bound
35 D 192.168.2.93 90:2B:34:18:22:DA QC-MV-201-PC Vision bound
36 D 192.168.2.96 Vision busy
37 D 192.168.2.103 1C:6F:65:6F:A3:59 Designer-PC-120 Vision bound
38 D 192.168.2.101 6C:62:6D:82:4B:C3 Designer-PC-105 Vision bound
39 D 192.168.2.99 1C:6F:65:AE:B4:F0 QC-PC-105 Vision bound
40 D 192.168.2.97 74:EA:3A:81:AB:CB QC-PC-102-PC Vision bound
41 D 192.168.2.122 00:24:8C:BB:0D:5C Designer-PC-123-PC Vision bound
42 D 192.168.2.91 90:2B:34:18:14:9B QC-Head-PC Vision bound
43 D 192.168.2.107 Vision busy
44 D 192.168.2.110 6C:F0:49:B3:A1:12 Designer-PC-114 Vision bound
45 D 192.168.2.87 6C:F0:49:6C:00:6D Designer-PC-109 Vision bound
46 D 192.168.2.89 00:24:8C:C9:6E:BF Designer-PC-111 Vision bound
47 D 192.168.2.124 50:E5:49:2A:81:42 QC-112-PC Vision bound
48 D 192.168.2.127 1C:6F:65:E5:06:FB Designer-PC-122-PC Vision bound
49 D 192.168.2.130 00:1B:FC:1E:2C:F6 Designer-PC-104 Vision bound
50 D 192.168.2.131 1C:6F:65:E9:5B:DB Designer-PC-101 Vision bound
51 D 192.168.2.109 6C:F0:49:B3:B5:77 Designer-PC-108 Vision bound
52 D 192.168.2.113 1C:6F:65:EA:58:E3 Designer-PC-117 Vision bound
53 D 192.168.2.115 1C:6F:65:AE:B4:A3 QC-106-PC Vision bound
54 D 192.168.2.118 00:30:67:3A:43:D7 Designer-PC-115-PC Vision bound
55 D 192.168.2.133 1C:6F:65:AE:B4:88 QC-PC-104 Vision bound
56 D 192.168.2.137 00:1D:7D:30:A4:9A Designer-PC-103 Vision bound
57 D 192.168.2.74 00:27:19:B6:B6:F4 QC-MV-203-PC Vision bound
58 D 192.168.2.125 1C:6F:65:AE:B4:C6 QC-109-PC Vision bound
59 D 192.168.2.126 E8:03:9A:95:ED:10 Jhintu-Pc Vision bound
60 D 192.168.2.7 10:BF:48:0D:7F:84 Mostofakamal Vision bound
61 D 192.168.2.71 90:2B:34:A0:57:29 QC-MV-213-PC Vision bound
62 D 192.168.2.12 64:70:02:13:A0:9B QC-MV-204-PC Vision bound
63 D 192.168.2.77 1C:6F:65:AE:B4:A0 QC-115-PC Vision bound
64 D 192.168.2.75 00:1A:4D:2F:57:45 Designer-119-PC Vision bound
65 D 192.168.2.88 6C:F0:49:B3:A1:1D Designer-PC-112-PC Vision bound
66 D 192.168.2.111 1C:6F:65:E0:16:96 QC-118-PC Vision bound
67 D 192.168.2.135 90:2B:34:18:14:8D WebDeveloper-PC Vision bound
68 D 192.168.2.123 50:E5:49:37:80:07 QC-PC-107-PC Vision bound
69 D 192.168.2.108 6C:62:6D:82:4E:89 Designer-PC-107 Vision bound
70 D 192.168.2.128 70:71:BC:1F:55:BB QC-PC-106-PC Vision bound
71 D 192.168.2.100 1C:6F:65:AE:B4:EE QC-PC-110-PC Vision bound
72 D 192.168.2.83 00:01:6C:62:02:C8 Designer-PC-106 Vision bound
73 192.168.2.21 50:E5:49:3E:2F:D8 PS-105 Vision bound
74 D 192.168.2.4 BC:AE:C5:64:38:14 ALAMIN-PC Vision bound
75 192.168.2.3 00:25:00:D6:F9:90 Riajul-PC Vision bound
 
User avatar
Stillhard
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Sun Jun 10, 2012 11:18 am
Location: Banten, Indonesia
Contact:

Re: hotspot giving different ip (address) than my computer i

Thu Jul 25, 2013 8:55 am

just empty (0.0.0.0) the address and only fill the to-address (192.168.2.3) of the mac-address in the ip-binding
 
Riajul74
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Sun Feb 10, 2013 12:01 am

Re: hotspot giving different ip (address) than my computer i

Thu Jul 25, 2013 9:21 am

tried no solve :(
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: hotspot giving different ip (address) than my computer i

Thu Jul 25, 2013 12:11 pm

That mac address (00:25:00:D6:F9:90) is being issued 192.168.2.3 in both places:
// ip hotspot host
46 A 00:25:00:D6:F9:90 192.168.2.3 192.168.2.3 hotspot1
// ip dhcp-server lease
75 192.168.2.3 00:25:00:D6:F9:90 Riajul-PC Vision bound
Are you sure you are using the correct mac address?
 
Riajul74
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Sun Feb 10, 2013 12:01 am

Re: hotspot giving different ip (address) than my computer i

Thu Jul 25, 2013 1:13 pm

yes, MAC address is perfect.

best
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: hotspot giving different ip (address) than my computer i

Thu Jul 25, 2013 1:21 pm

yes, MAC address is perfect.
Then you have a problem outside the MikroTik router. All the dhcp stuff shows that device is being issued 192.168.2.3 by that router.

Are you sure the router is the only dhcp server on that network? You might want to look into "/ip dhcp-server alert".
http://wiki.mikrotik.com/wiki/Manual:IP ... ver#Alerts

edit: If you did not find another dhcp server on the network, then you might want to set verbose logging for the dhcp server, then renew the lease on your device and check the log.
/system logging
add topics=dhcp,debug action=memory
If you have any questions, post the log entries.
 
Riajul74
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Sun Feb 10, 2013 12:01 am

Re: hotspot giving different ip (address) than my computer i

Thu Jul 25, 2013 1:59 pm

thanks . let me check according to your instruction, i will update.

Who is online

Users browsing this forum: No registered users and 72 guests