RB750G WEBFIG 5.21 need to set STATIC internet connection

Hi I’m new to the forum. I’ve had this RB750G for 1 year running 4.16. Port 1 is connected behing a RT-N16 which holds the ISP feed. Port-2 is feeding a Rocket M2 antenna. That’s all working fine. MY ISP connection requires a Static definition with network mask, gateway, dns etc. The reason for the RT-N16 is because I could not figure out how to configure the RB750G with the static info. I upgraded to 5.21. Using WEBFIG I still can’t figure it out. My RT-N16 has static (ex:) =xx.xx.xx.53, mask=255.255.255.248, gateway=xx.xx.xx.49 . I don’t understand the relationship in WEBFIG address menu of entering xx.xx.xx.53/24 ? Richard

Choose one of your lan ports (port 1 e.g.) on mikrotik and put ip address : xx.xx.xx.53, subnet mask is : 255.255.255.248 which is equal /29, so your ip address on mikrotik will be xx.xx.xx.53/29

then go to : IP-Routes add new route and put destination 0.0.0.0/0 , and below put gateway: xx.xx.xx.49

Alos you must do src-nat in ip firewall nat so that all local network are translated to your public ip xx.xx.xx.53

check official mikrotik wiki for that

Thanks very much, how is /29 matching 248 , is there any math behind this ?

http://www.aelius.com/njh/subnet_sheet.html

just type in google subnetting:

http://en.wikipedia.org/wiki/Subnetwork
http://www.techrepublic.com/article/ip-subnetting-made-easy/6089187

there are also good video materials from cbt nuggets for ccna for subnetting