•
Software Package Management
IP Addressing
Home menu level: /ip address
Description
IP addresses serve for a general host identification purposes in IP networks. Typical (IPv4) address
consists of four octets. For proper addressing the router also needs the network mask value, id est
which bits of the complete IP address refer to the address of the host, and which - to the address of
the network. The network address value is calculated by binary AND operation from network mask
and IP address values. It's also possible to specify IP address followed by slash "/" and amount of
bits assigned to a network mask.
In most cases, it is enough to specify the address, the netmask, and the interface arguments. The
network prefix and the broadcast address are calculated automatically.
It is possible to add multiple IP addresses to an interface or to leave the interface without any
addresses assigned to it. Leaving a physical interface without an IP address is not a must when the
bridging between interfaces is used. In case of bridging, the IP address can be assigned to any
interface in the bridge, but actually the address will belong to the bridge interface. You can use /ip
address print detail to see to which interface the address belongs to.
MikroTik RouterOS has following types of addresses:
• Static - manually assigned to the interface by a user
• Dynamic - automatically assigned to the interface by estabilished ppp, ppptp, or pppoe
connections
Property Description
actual-interface ( read-only: name ) - only applicable to logical interfaces like bridges or tunnels.
Holds the name of the actual hardware interface the logical one is bound to.
address ( IP address ) - IP address
broadcast ( IP address ; default: 255.255.255.255 ) - broadcasting IP address, calculated by default
from an IP address and a network mask
disabled ( yes | no ; default: no ) - specifies whether the address is disabled or not
interface ( name ) - interface name the IP address is assigned to
netmask ( IP address ; default: 0.0.0.0 ) - specifies network address part of an IP address
network ( IP address ; default: 0.0.0.0 ) - IP address for the network. For point-to-point links it
should be the address of the remote end
Notes
You cannot have two different IP addresses from the same network assigned to the router. Exempli
gratia, the combination of IP address 10.0.0.1/24 on the ether1 interface and IP address
10.0.0.132/24 on the ether2 interface is invalid, because both addresses belong to the same network
10.0.0.0/24. Use addresses from different networks on different interfaces, or enable proxy-arp on
Page 101 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.
Содержание RouterOS v2.9
Страница 1: ...MikroTik RouterOS v2 9 Reference Manual ...