Community discussions

MikroTik App
 
kostasthess
newbie
Topic Author
Posts: 37
Joined: Thu Feb 25, 2010 7:07 pm
Location: Greece
Contact:

Strange Problem with rb450g

Sat Jun 09, 2012 11:20 pm

Hello again .

I have a strange problem . When i paste some data at terminal i get the error " Router has been disconnected"

The paste data is the default script with some modification on ips and names .

Has any "protection" about how much lines i can paste?

I add it below to see it .

Thanks in advance .
	/interface set ether1 name="Port1-Internet";
	/ip dhcp-client add interface=Port1-Internet disabled=no comment="Auto-DHCP Client";
	/interface set ether2 name=Port2-Hotspot;
	/interface set ether3 name=Port3-Hotspot-Slave;
	/interface set ether4 name=Port4-Hotspot-Slave;
	/interface set ether5 name=Port5-Hotspot-Slave;
	/interface ethernet set Port3-Hotspot-Slave master-port=Port2-Hotspot;
	/interface ethernet set Port4-Hotspot-Slave master-port=Port2-Hotspot;
	/interface ethernet set Port5-Hotspot-Slave master-port=Port2-Hotspot;
	/ip address add address=192.168.200.1/24 interface=Port2-Hotspot comment="Hotspot Setup";
	/ip pool add name="default-dhcp" ranges=192.168.200.10-192.168.200.254;	
	/ip dhcp-server	add name=default address-pool="default-dhcp" interface=Port2-Hotspot disabled=no;
	/ip dhcp-server network	add address=192.168.200.0/24 gateway=192.168.200.1 dns-server=192.168.88.1 comment="Hotspot Setup";
	/ip firewall nat add chain=srcnat out-interface=Port1-Internet action=masquerade comment="Hotspot Setup";
	/ip firewall filter add chain=input action=accept protocol=icmp comment="Hotspot Setup";
	/ip firewall filter add chain=input action=accept connection-state=established comment="Hotspot Setup";
	/ip firewall filter add chain=input action=accept connection-state=related comment="Hotspot Setup";
	/ip firewall filter add chain=input action=drop comment="Hotspot Setup" disabled=no in-interface=Port1-Internet;
	/ip dns set allow-remote-requests=yes;
	/ip dns static add name=router address=192.168.200.1;
	
 
Zod
Frequent Visitor
Frequent Visitor
Posts: 91
Joined: Mon Apr 23, 2012 11:02 pm

Re: Strange Problem with rb450g

Wed Jun 13, 2012 1:09 am

If you're changing the IP address, and you are connected to the router through IP then maybe you get disconnected when the IP Address is applied to the interface that you are connected through.

Who is online

Users browsing this forum: jpurtteman, scoobyn8 and 41 guests