Help needed w/ RB493AH config

hello everyone!

I have a RB493AH routerboard that i’m having some trouble with.

Right now I’m playing around with it, tring to get it to route my internet traffic from ether1 to ether2. For the life of me I can’t seem to get this to work, and the wiki pages I have looked at dont seem to explain how to do this.

Let me tell you what I have done so far.

  1. I have configured the ether1 to get an address via DHCP. (this appears to have worked, I can access it via SSH from my desktop which is plugged in to the same swtich that the RB493AH is in)

  2. I have staticly assigned an IP to ether2, setup a DHCP server handing out IPs on ether2 and can ping it from my laptop plugged in to ether2. i can also ping the IP from ether1 from the laptop.

What i can not do right now is ping my desktop, or get on the internet from the laptop. I know Im missing a few things to get it work, maybe something with the routing tables and NAT.. but i have no idea what. figured Id try to get this to work before i tried to get it to work how we’ll be using it in production.

Im using Winbox to configure the device, and have access to the console if need be.

Hi,

in console copy paste this:

/ip firewall nat
add action=masquerade chain=srcnat comment="" disabled=no out-interface=YOUR_INTERFACE_CONNECTED_TO_INTERNET

thanks,

I did as you suggested, and it does not look like any thing has changed, when i try and ping an exernal IP address, it shows “request timed out” and about after a 1 or 2 min. it changes to “reply from 192.168.135.254(the routerboard) destination host unreachable”
One thing i did notice… i can no longer connect from the ether1 side (the “internet” side) w/ the winbox or from SSH. do i need to run another command on it to allow traffice FROM the “internet” to get to the device?

so what did that command do exactly?

thanks for the help too!

I’ve attached my settings file in case its needed.
Settings.txt (14.2 KB)

Hi,

I need to know exactly your IP configuration. If you receive it with DHCP, type the range you get.

thanks,

ok on the ether1 (WAN) it has the following

IP Range: 192.168.20.1-19
Gateway: 192.168.20.254
DNS: 68.94.156.1

on ether2 (LAN)
Device IP 192.168.135.254

DHCP Server
IP Pool: 192.168.135.1-253
GW 192.168.135.254
DNS 68.94.156.1

Hi, then try:

/ip fire nat
add action=masquerade chain=srcnat disabled=no src-address=192.168.135.0/24

Thanks!! that worked!!!

Now on to my next phase.

Load Balenceing/sharing!!! I dont suppose you could help me with that could you?

Hi,

there is a lot of posts of load balancing in the forum. You need to use PCC. Try to find it in the forum and we will help you when needed.

Up my Karma please, because that worked for yoou! : D!


thanks,

I already have!

I saw a few posts on it, and saw the PPC thing in the wiki, will give it a shot and see how far i get with it.

thanks again!