Getting Started with RouterBoard 750G

Ok, I was recommended to look at MikroTik’s RouterBoard 750G.

I’ve installed WinBox on my machine and started looking though the software.

I’ve had a look at the basic configuration and had a bit of a play with changing a few things and attempted (failed) to add a hot spot, just for the hell of it.

I copied the start up script it presented when I first powered it up and have had a bit of a read, but I really am lost.

  1. I don’t understand how you alter the script and upload it. The defaults are 19.2168.88.0/24 but I want 192.168.2.0/24 so I don’t have to renumber all my networks static devices.

  2. Eth0/interface0 is set to dhcp client but I want it to be a static address from my cable hfc modem. I can’t see how to reconfigure that.

  3. I’m running a PATA2 VoIP unit on ports 5060 & 5061 and I also have an Android phone running sipdroid across my wifi ap. So I want to give the VoIP traffic priority over downloads (http) and email so that checking the mail or browsing a web page doesn’t drown out a telephone call. However I simply don’t understand what I’m meant to be doing. I’ve read stacks on the Mik web site that talks about ‘queues’ but don’t follow who the whole concepts fit together.

Sadly I haven’t found the Mik web site very helpful for people who aren’t previously coming from the Cisco school and already up to speed with all the concepts of a commerical router.

What I’d like is some sample configuration scripts so I can pull them apart and get a grip on understanding this thing. I’d also like some help to know how to load the scripts. At present I can’t even figure out how to factory reset the 750G.

I’d also like help to set up the snmp so I can set up the dude on my pc and see the traffic flows.

Eventually I’d like to also be able to do the following:

  • Count all the traffic that goes across each port on the router so I can devide up traffic between phones (the ATA), our back up server and our general use.
  • Set up VLans so I can seperate out the traffic. I’d also like to get a 250G and hang that off one of the ports and then run the VLANs to that and count traffic off each port, I’m keen to make a snmp traffic map using cacti and www.network-weathermap.com which looks really cool.

You don’t upload or download scripts, you just use enter commands on the CLI or use the GUI instead. Scripts are just ways to shortcut entering the commands manually - scripts are executed line by line and contain the same commands you enter on the CLI.

  1. To add an IP address refer to http://wiki.mikrotik.com/wiki/Manual:IP/Address#Example. In your case the command would be “/ip address add address=192.168.2.0/24 interface=ether2”, if ether2 is the interface you’re connecting to. You can then run “/ip address print” and find the number of the existing IP address (probably 0) and run “/ip address remove 0” to delete the 192.168.88.1 address.
  2. DHCP clients are configured under “/ip dhcp-client”. Print the items there, and remove the client that exists. Then go back into the IP address section and add your WAN IP to the WAN interface. You’ll also need to add a static default route via “/ip route add dst-address=0.0.0.0/0 gateway=ip.address.of.gateway”.
  3. Queues can’t be adequately covered in a forum post. QoS is one of the more difficult topics in networking. I’m not trying to be discouraging here - work on the basics first and come back to QoS later.

Configuration resets are covered in this manual page: http://wiki.mikrotik.com/wiki/Manual:Configuration_Management#Configuration_Reset

Fewi beat me to most of it, but a few things to add.

1.) VLANs can be confusing to beginners, I would suggest looking them up via google and reading up on how they work to get a grip on them. They are a wonderful networking tool, but if you don’t know what you are doing with them you can very easily mess up the network and lock yourself out. Most operating systems you would be using to connect to the router are not VLAN aware by default, and MikroTik handles VLANs the Linux way, each VLAN is its own interface.
2.) You talk about the Dude for network monitoring and then netflows. What specifically are you looking for? Netflows is a tool for traffic analyzing, this will show the destination and source IP and port, when it started and how much traffic was sent. MikroTik does support netflows (Traffic Flow in MikroTik), but it only exports them, you need to set up a server to collect the data and analyze it for you.

I know how you feel :slight_smile: I was also struggling with the most basic things e.g. uploading scripts. Maybe you solved it already, but if not, then just open a new terminal window in winbox and paste the scripts or - selected parts of the script. The script can be altered in any editor and then pasted.

Other things I was stuggling with was to into the logic of working with mikrotik and the RouterOS. At that time I persived the WAN as the input and LAN interfaces as output. That is not the case - all interfaces can be cofigured induvidually and all interfaces are input and output interfaces all depending on the direction of the traffic. You have to look at all traffic from the routers perspective.

NB. As far as I remember there is no firewall - only NAT in the factory setup.

When doing port forwarding then you have to open the port in the firewall rules and then do the forward in NAT using dstnat.

I am using a RB750 as my office / home router.

rgs Pilgrim

Friends

Can you help me on showing the ways to get cacti graphs up and running. I guess i didn't get the correct host template. I'll show you my current configuration and settings both at cacti and mikrotik device.


My current cacti version is : 0.8.7e

#Device Registeration#
Host Template that i used is : Generic SNMP-Enabled Host
Ping and Downed Detection : PING and SNMP
SNMP version : 1
SNMP Community : public
SNMP port : 161

##The results upon registration##
SNMP Information
System:router
Uptime: 66489600 (7 days, 16 hours, 41 minutes)
Hostname: EDMI_Technologies
Location: Senai III
Contact:

Ping Results
ICMP Ping Success (3.760 ms)

#Will attached the graph results I received#


My current Mikrotik version is : 4.11

[admin@EDMI_Technologies] /snmp> print
enabled: yes
contact: ""
location: "Senai III"
engine-id: ""
engine-boots: 0
time-window: 15
trap-sink: 0.0.0.0
trap-community: public
trap-version: 1

[admin@EDMI_Technologies] /snmp community> print

NAME ADDRESS SECURITY READ-ACCESS

0 public 0.0.0.0/0 none yes

I am attaching the graph design that i get. Looking forward for solutions. Thanks

Rgds
Saran


This would be a better question for the Cacti forums.