Community discussions

MikroTik App
meshuggah79
刚刚加入了
Topic Author
Posts: 1
加入: Mon Oct 04, 2010 12:08 am

Howto forward all traffic on a WAN-interface

Mon Oct 04, 2010 12:31 am

Hi,

I have tried to find this information but I couldn't find it so I will try to post a topic in here instead.

I have a rb450g which I want to use as following

Port 1: WAN Interface / Gateway for internal bridge -ok
Port 2-4: Bridged ports -ok
Port 5: Separate port that should just forward all traffic to a specific host.

In other words I need Port 5 to be working as a switchport. The connected host is running dhcp and should get an IP from the ISP using that interface.

For some reason I can't manage to make Port 5 working as I want. I don't want the interface to grab an IP.

Can anyone please help my with this beginner issue?:)

Regards,
Tony
Top
riaanmaree
常客
常客
Posts: 66
加入: Thu Aug 31, 2006 10:42 pm
Location:Johannesburg, South Africa
Contact:

Re: Howto forward all traffic on a WAN-interface

Mon Oct 04, 2010 1:17 pm

What do you mean by "I do not want the interface to grab an IP"?

Are you only running IP traffic on port 5?

What device(s) are connected to port 5? I recommend adding an IP and DHCP to port 5 in a unique IP range then add a DST-NAT firewall rule to all traffic matching that source range to dst-nat it to the host you want all traffic to go to.

Set the DHCP to make the mask=32 or subnet 255.255.255.255. Then all traffic will be directed to the default gateway (being the IP of port 5 on your Mikrotik Router). This works on Windows PCs, but I have found the 32bit subnet not to work on Linux hosts.

Hosts connected to port 5 have to use the DHCP or have the IP of port 5 on your mikrotik set as the default gateway.
Top
xxiii
Member Candidate
Member Candidate
Posts: 234
加入: Wed May 31, 2006 12:55 am

Re: Howto forward all traffic on a WAN-interface

Mon Oct 04, 2010 7:58 pm

If I understood you correctly, it sounds like you just want to bridge ports 1 and 5 together? In which case, do so; you will need to create another bridge. (and you should move any configuration on port 1 to be on that bridge instead).
Top

Who is online

Users browsing this forum:Bing [Bot],kravemir,TPSAnnand 24 guests