MikroTik RouterBoard RB532A

From Wildsong
Jump to navigationJump to search

RouterBoard 532A

Support for it in OpenWrt seems to be pretty good, they have the latest releases prebuilt for it. I used instructions in this page to get it loaded.

I installed KAMIKAZE (7.09)

Install took 10 minutes including opening up the case. OpenWrtDocs/Hardware/Mikrotik/RB532

Support in dd-wrt is not good. There is an old beta.

CF layout

Kamikaze fits in a 16MB flash so any old CF card will do for booting.

Ethernet ports

There are three, the one to the left of the serial port is eth0 To the right are eth1 and eth2

By default in Kamikaze eth0 is in DHCP so it would make a good WAN port

MAC numbers

  • eth0 00:0c:42:10:1c:6c
  • eth1 00:0c:42:10:1c:6d
  • eth2 00:0c:42:10:1c:6e

Configuration

Password

Root password set from the console port command line using "passwd". Set to the usual root password.

Network

Putting the D-Link mac address assures we wull get the same IP address assigned by Comcast.

/etc/config/network

config interface loopback                                                       
        option ifname   lo                                                      
        option proto    static                                                  
        option ipaddr   127.0.0.1                                               
        option netmask  255.0.0.0                                               
                                                                                
config interface wan                                                            
        option ifname   eth0                                                    
        option proto    dhcp
        option macaddr xx:xx:xx:xx:xx      put the dlink mac here                                    
                                                                                
config interface lan                                                            
        option ifname   eth1                                                    
        option proto    static                                                  
        option ipaddr   10.127.32.1                                             
        option netmask  255.0.0.0                                               
                                                                                
config interface dmz                                                            
        option ifname   eth2                                                    
        option proto    static                                                  
        option ipaddr   192.168.123.1                                           
        option netmask  255.255.255.0      

DHCP

We provide DHCP only to the DMZ zone.

/etc/config/dhcp
config dhcp                                                                     
        option interface        lan                                             
        option ignore   1                                                       
                                                                                
config dhcp                                                                     
        option interface        dmz                                             
        option start    100                                                     
        option limit    150                                                     
        option leasetime        12h                                             
                                                                                
config dhcp                                                                     
        option interface        wan                                             
        option ignore   1