Community discussions

MikroTik App
 
boscolee
newbie
Topic Author
Posts: 40
Joined: Tue Apr 29, 2014 3:13 pm

Cannot connect to Internet after change router IP address

Tue Apr 29, 2014 4:41 pm

Hello,

I have changed the RB951G-2HnD's default IP address from 192.168.88.1 to 192.168.88.254. After changed it's IP address, the computer cannot outgoing to Internet. The computer can connect to the router (192.168.88.254) only.

Does there any user have experience to resolve this issue?

At this moment, I just keep the default address (192.168.88.1), Internet is normal.

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

Re: Cannot connect to Internet after change router IP addres

Tue Apr 29, 2014 4:48 pm

Insure you change the gateway on the PC. The dhcp server settings on the router may need to be changed. That may require "Repair the connection" on your PCs.
/ip dhcp-server network
print
 
boscolee
newbie
Topic Author
Posts: 40
Joined: Tue Apr 29, 2014 3:13 pm

Re: Cannot connect to Internet after change router IP addres

Tue Apr 29, 2014 5:07 pm

Hello,

Thank you for your answer.

Actually, I have also changed the DHCP range in the router. After apply the change, I have release and renew the IP address of PC to retrieve the new gateway.

But, it still cannot access to Internet.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Cannot connect to Internet after change router IP addres

Tue Apr 29, 2014 5:11 pm

Then you should post the following
/ip address
/ip route
/ip dhcp-server
/ip dhcp-server network
/ip pool
/ip firewall nat
 
boscolee
newbie
Topic Author
Posts: 40
Joined: Tue Apr 29, 2014 3:13 pm

Re: Cannot connect to Internet after change router IP addres

Tue Apr 29, 2014 5:21 pm

/ip address = 192.168.88.118
/ip route = 192.168.88.254
/ip dhcp-server = Enabled
/ip dhcp-server network =
/ip pool = 192.168.88.101-192.168.88.120
/ip firewall nat = Enabled

(as the screen captured attached)
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: Cannot connect to Internet after change router IP addres

Tue Apr 29, 2014 6:28 pm

I should have been more specific. You should post the following
/ip address print
/ip route print
/ip dhcp-server print
/ip dhcp-server network print
/ip pool print
/ip firewall nat print
 
boscolee
newbie
Topic Author
Posts: 40
Joined: Tue Apr 29, 2014 3:13 pm

Re: Cannot connect to Internet after change router IP addres

Tue Apr 29, 2014 6:31 pm

Does these are the script? If yes, how to capture the running result of these script?
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Cannot connect to Internet after change router IP addres

Tue Apr 29, 2014 7:51 pm

The solution in your case is easy. If you do not understand what I am asking, don't change it.
 
boscolee
newbie
Topic Author
Posts: 40
Joined: Tue Apr 29, 2014 3:13 pm

Re: Cannot connect to Internet after change router IP addres

Wed Apr 30, 2014 6:33 pm

May be let me ask in this wait, how can I paste this script in the MiktoTik to execute and get the result?

/ip address print
 
boscolee
newbie
Topic Author
Posts: 40
Joined: Tue Apr 29, 2014 3:13 pm

Re: Cannot connect to Internet after change router IP addres

Thu May 01, 2014 3:38 am

Finally, I found the terminal to key in the command (Excuse me, I am very new for MikroTik, just start to play for 2 days). Here below are the result of each query:

[admin@MikroTik] >> /ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; default configuration
192.168.88.1/24 192.168.88.0 ether2-master-local
1 D 14.136.80.120/22 14.136.80.0 ether1-gateway

[admin@MikroTik] >> /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 ADS 0.0.0.0/0 14.136.80.1 1
1 ADC 14.136.80.0/22 14.136.80.120 ether1-gateway 0
2 ADC 192.168.88.0/24 192.168.88.1 bridge-local 0

[admin@MikroTik] >> /ip dhcp-server print
Flags: X - disabled, I - invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 default bridge-local dhcp 10m

[admin@MikroTik] >> /ip dhcp-server network print
# ADDRESS GATEWAY DNS-SERVER WINS-SERVER DOMAIN
0 ;;; default configuration
192.168.88.0/24 192.168.88.1 192.168.88.1

[admin@MikroTik] >> /ip dhcp-server network print
# ADDRESS GATEWAY DNS-SERVER WINS-SERVER DOMAIN
0 ;;; default configuration
192.168.88.0/24 192.168.88.1 192.168.88.1

[admin@MikroTik] >> /ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; default configuration
chain=srcnat action=masquerade to-addresses=0.0.0.0
out-interface=ether1-gateway

Let me refresh my question, my Mikrotik box cannot let the computers access to Internet after change the default IP (192.168.88.1) to 192.168.88.254.

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

Re: Cannot connect to Internet after change router IP addres

Thu May 01, 2014 1:34 pm

I recommend removing the assignment in "/ip address" and enter a new assignment. Don't edit the address. It won't change the stuff needed to route the new ip address. Do the same with the dhcp server. Remove it and set up a new one after the "/ip address" change.

Be careful tho. Removing the address while using it to connect to the router will cause a disconnect and you will be unable to connect to the router using that ip. I use the serial port for stuff like this.
 
boscolee
newbie
Topic Author
Posts: 40
Joined: Tue Apr 29, 2014 3:13 pm

Re: Cannot connect to Internet after change router IP addres

Thu May 01, 2014 6:52 pm

Hello,

Thank you for your reply.

Just have change the IP address to 192.168.88.254 as the screen captured below. Also still cannot access to Internet after change.
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: Cannot connect to Internet after change router IP addres

Thu May 01, 2014 7:58 pm

Did you change the dhcp server and repair the network connection?
 
boscolee
newbie
Topic Author
Posts: 40
Joined: Tue Apr 29, 2014 3:13 pm

Re: Cannot connect to Internet after change router IP addres

Fri May 02, 2014 4:35 am

May I get more detail for the quoted "Do the same with the dhcp server. Remove it and set up a new one after the "/ip address" change"?

Since, I don't know how to do it.

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

Re: Cannot connect to Internet after change router IP addres

Fri May 02, 2014 5:08 am

Remove the old dhcp server.
/ip dhcp-server
remove X
Relace X with the line number of the server for that network.

Set up the new one.
/ip dhcp-server
setup
 
boscolee
newbie
Topic Author
Posts: 40
Joined: Tue Apr 29, 2014 3:13 pm

Re: Cannot connect to Internet after change router IP addres

Fri May 02, 2014 7:30 am

Can I do this by WinBox's GUI?
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Cannot connect to Internet after change router IP addres

Fri May 02, 2014 8:24 am

Can I do this by WinBox's GUI?
Yes.
 
boscolee
newbie
Topic Author
Posts: 40
Joined: Tue Apr 29, 2014 3:13 pm

Re: Cannot connect to Internet after change router IP addres

Fri May 02, 2014 9:17 am

Do I just disable the DHCP server by WinBox?
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Cannot connect to Internet after change router IP addres

Fri May 02, 2014 2:16 pm

No. Remove it by highlighting the dhcp server entry, then click the red '-'. Click "DHCP Setup" and answer the prompts.

Who is online

Users browsing this forum: GoogleOther [Bot], MADM1k3, Mosfet and 116 guests