E
E
Evgeny Solid2015-12-24 16:28:48
Mikrotik
Evgeny Solid, 2015-12-24 16:28:48

Devices on which ip is set to static do not work?

A device with a static ip is connected to the microtik router, it is not possible to connect to it via ip. What could be the problem?
export compact
set [ find default-name=wlan1 ] name=wlan2
/interface ethernet
set [ find default-name=ether1 ] mac-address=E4:8D:8C:81:3F:C1
set [ find default-name=ether2 ] mac-address=E4:8D:8C:81:3F:C2
set [ find default-name=ether3 ] mac-address=E4:8D:8C:81:3F:C3
set [ find default-name=ether4 ] mac- address=E4:8D:8C:81:3F:C4
set [ find default-name=ether5 ] mac-address=E4:8D:8C:81:3F:C5
set [ find default-name=ether6 ] mac-address= E4:8D:8C:81:3F:C6
set [ find default-name=ether7 ] mac-address=E4:8D:8C:81:3F:C7
set [ find default-name=ether8 ] mac-address=E4:8D:8C:81:3F:C8
set [ find default-name=sfp1 ] mac-address=E4:8D:8C:81:3F:C9
/caps -man security
add authentication-types=wpa2-psk encryption=aes-ccm,tkip \
group-encryption=aes-ccm name=sec passphrase=xXXXXX
/caps-man configuration
add country=russia datapath.bridge=bridge1 mode=ap name =cfg1 security=\
sec ssid=KV-15
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=\
dynamic-keys supplicant-identity=MikroTik wpa-pre- shared-key=\
xxxxxxxx wpa2-pre-shared-key=xxxxxx
/ip pool
add name=dhcp ranges=192.168.1.3-192.168.1.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge1 name=dhcp1
/caps-man manager
set enabled=yes
/caps-man provisioning
add action=create-dynamic-enabled master-configuration=cfg1
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=ether6
add bridge=bridge1 interface=ether7
add bridge=bridge1 interface=ether8
add bridge=bridge1 disabled =yes
add bridge=bridge1 interface=sfp1
/interface wireless cap
set bridge=bridge1 caps-man-addresses=192.168.1.1 enabled=yes \
interfaces=wlan2
/ip address
add address=192.168.1.1/24 interface=ether2 network=192.168.1.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.1.0 /24 gateway=192.168.1.1 netmask=24
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/lcd interface pages
set 0 interfaces=*1
/system clock
set time-zone-name=Europe/Moscow
/ system identity
set name=Manager
Device IP 192.168.1.168

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maksim, 2015-12-24
@chumayu

The problem is with you, or rather in how you provide information.

L
LESHIY_ODESSA, 2015-12-24
@LESHIY_ODESSA

If we are talking about accessing the device from the outside, that is, through the WAN port (Internet), then you need to forward the port.
/ip firewall nat
add action=netmap chain=dstnat comment="TORRENT TCP" disabled=no dst-port=44445 protocol=tcp to-addresses=192.168.1.168 to-ports=

44445 this computer (mac address)
/ip dhcp-server lease
add address=192.168.1.168 always-broadcast=yes comment=ALEX disabled=no mac-address=00:70:F3:4A:F0:1A server=dhcp-server

On future. Nobody is interested in export compact .
For Router OS 5.xx - /export hide-sensitive file=backupand upload the backup.rsc file
Starting from 6.xx - exportit has become the default export compact, therefore, to get the full config -/export hide-sensitive verbose file=backup
hide-sensitive— means that all passwords will not be published.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question