Community discussions

MikroTik App
 
mamoman
just joined
Topic Author
Posts: 14
Joined: Tue Mar 03, 2015 12:04 am

Basic ip addressing use and bridge setup

Tue Dec 29, 2015 9:30 am

Hi,
I have a CRS226-24G-2S+ and am trying to setup a simple bridge or vlan for two ports with dhcp and gateway ip address.
Am more used to Cisco then mikrotik.

my config so far is
/interface bridge
add name=BR-10

/ip pool
add name=default-dhcp ranges=172.16.10.5-172.16.10.10
/ip dhcp-server
add add-arp=yes address-pool=default-dhcp always-broadcast=yes disabled=no interface=BR-10 lease-time=3d name=default

/interface bridge port
add bridge=BR-10 interface=ether2
add bridge=BR-10 interface=ether3

/ip address
add address=172.16.10.1/24 interface=BR-10 network=172.16.10.0
/lcd interface pages
set 1 interfaces=ether13,ether14,ether15,ether16,ether17,ether18,ether19,ether20,ether21
/ip dhcp-server network
add address=172.16.10.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=172.16.10.1


When I connect my macbook on ether2 it does not get an ip address, and when i set it with fixed ip address it also cannot ping 172.16.10.1

I posted the above first in routerOS section, but was told to do it in this section due to the model used.

Any feedback what i am doing wrong config wise ?

martin
 
mpreissner
Member
Member
Posts: 357
Joined: Tue Mar 11, 2014 11:16 pm
Location: Columbia, MD

Re: Basic ip addressing use and bridge setup

Thu Dec 31, 2015 2:40 pm

Try posting in the Beginner Basics or General forums. This forum is only for SwOS devices, and the CRS is ROS.

Who is online

Users browsing this forum: No registered users and 17 guests