Hello, I am attempting at configuring a Static IP provided by an internet service provider on a RouterBoard 2011Ui AS-RM. This is my first attempt at this configuration, Ive exhausted all efforts and have searched forums and videos to no resolve. I was provided the following information by the ISP
Static IP: XX.XX.XXX.110
Subnet: 255.255.255.252
Gateway: XX.XX.XXX.109
DNS 1: XX.XX.XX.35
DNS 2: XX.XX.XX.36
------------------------------------
This is my current basic configuration, If someone can be kind enough to point out where my error/s may be?
*NOTE: When I input the Static IP address as provided, along with the /30 subnet, it does not want to take a .109 for the gateway and continuously converts it to .108 no matter what I do. I would assume it has to do with the subnet calc considering it is a .252 (/30)
[admin@MikroTik] > export
# dec/28/2015 23:22:44 by RouterOS 6.33.3
# software id = 1CJK-0VUQ
#
/interface bridge
add admin-mac=XX:XX:XX:XX:XX:34 auto-mac=no name=bridge-local
/interface ethernet
set [ find default-name=ether1 ] name=ether1-gateway
set [ find default-name=ether2 ] name=ether2-master-local
set [ find default-name=ether3 ] master-port=ether2-master-local name=\
ether3-slave-local
set [ find default-name=ether4 ] master-port=ether2-master-local name=\
ether4-slave-local
set [ find default-name=ether5 ] master-port=ether2-master-local name=\
ether5-slave-local
set [ find default-name=ether6 ] name=ether6-master-local
set [ find default-name=ether7 ] master-port=ether6-master-local name=\
ether7-slave-local
set [ find default-name=ether8 ] master-port=ether6-master-local name=\
ether8-slave-local
set [ find default-name=ether9 ] master-port=ether6-master-local name=\
ether9-slave-local
set [ find default-name=ether10 ] master-port=ether6-master-local name=\
ether10-slave-local
/ip neighbor discovery
set ether1-gateway discover=no
/ip pool
add name=dhcp ranges=10.0.0.10-10.0.0.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge-local name=default
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=ether6-master-local
add bridge=bridge-local interface=sfp1
/ip address
add address=10.0.0.1/24 comment="default configuration" interface=\
ether2-master-local network=10.0.0.0
add address=XX.XX.XXX.110/30 interface=ether1-gateway network=XX.XX.XXX.108
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid interface=\
ether1-gateway
/ip dhcp-server network
add address=10.0.0.0/24 comment="default configuration" gateway=10.0.0.1 \
netmask=24
/ip dns
set allow-remote-requests=yes servers=XX.XX.XX.35,XX.XX.XX.36
/ip dns static
add address=10.0.0.1 name=router
/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=\
established,related
add action=drop chain=input comment="default configuration" in-interface=\
ether1-gateway
add action=fasttrack-connection chain=forward comment="default configuration" \
connection-state=established,related
add chain=forward comment="default configuration" connection-state=\
established,related
add action=drop chain=forward comment="default configuration" \
connection-state=invalid
add action=drop chain=forward comment="default configuration" \
connection-nat-state=!dstnat connection-state=new in-interface=\
ether1-gateway
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" \
out-interface=ether1-gateway
/ip route
add distance=1 gateway=XX.XX.XXX.109
/system clock
set time-zone-name=America/New_York
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
add interface=ether6-master-local
add interface=ether7-slave-local
add interface=ether8-slave-local
add interface=ether9-slave-local
add interface=ether10-slave-local
add interface=sfp1
add interface=bridge-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
add interface=ether6-master-local
add interface=ether7-slave-local
add interface=ether8-slave-local
add interface=ether9-slave-local
add interface=ether10-slave-local
add interface=sfp1
add interface=bridge-local
[admin@MikroTik] >