Community discussions

MikroTik App
just joined
Topic Author
Posts: 1
Joined: Thu Oct 21, 2010 10:38 am

Configure one port for WAN and others for LAN

Thu Oct 21, 2010 11:08 am

I have one Mikrotik RouterBoard RB450G.
My requirement is configuring one port for WAN and other ports for LAN.
I configure the second port for LAN with IP:
When I start using it, I can not connect to the third port to get IP: the same as the second port.

I mean I want to configure one port for WAN and other 4 ports for LAN look like other Wireles Routers with one built-in port as WAN and others for LAN.

Network Technician
Forum Guru
Forum Guru
Posts: 4637
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Configure one port for WAN and others for LAN

Thu Oct 21, 2010 1:51 pm

If you mean you cannot connect to ips on a different interface, then the most common problem is the nat. If the srcnat/masquerade does not have an out-interface set, then you should add one.
/ip firewall nat
set X out-interface=ether1
If ether1 is not the wan interface, change to the appropriate interface.
Member Candidate
Member Candidate
Posts: 271
Joined: Thu Nov 12, 2009 8:30 am

Re: Configure one port for WAN and others for LAN

Fri Oct 22, 2010 6:19 pm

Have you bridged ports 2-5?

If not, do that and assign the lan ip to the bridge, not port 2.

All 4 ports are now bridged and the router has is now reachable on all 4 ports, assuming firewall settings are correct.

You can restrict bridge traffic using the firewall if you have firewall enabled on the bridge.

Set masquerade as SurferTim notes to access anything that is not local to the router, out the wan port.

If you need wire speed on the lan side, look into using the switch chip - way cool.

Who is online

Users browsing this forum: No registered users and 36 guests