Community discussions

MikroTik App
 
vedrancek
just joined
Topic Author
Posts: 4
Joined: Thu Jun 07, 2018 9:11 pm

WAN port (ether1) to different port ether8

Thu Jun 07, 2018 9:29 pm

Hello,

I am a new proud user of a RB3011UiAS-RM router. I am also a newbie in mikrotik world (and also in the networking world). I like it so far but I need some kick start :)
I would like to change the router configuration so that the port ether8 would be used for Internet connection from my ISP.
I found some old tutorials where the procedure was described. But since master port no longer exists as of 6.40 I am having troubles grasping the procedure with the new way to do master port is to add interfaces to a bridge.

How can I accomplish the task?

Thanks,
Best regards
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 897
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: WAN port (ether1) to different port ether8

Fri Jun 08, 2018 11:58 am

Assuming you cannot switch lan cables between ether1 and ether8 (both are in a gigabit switch group so it doesn't really make a difference) and you have a fairly up to date default configuration:

  • Change (LAN) bridge port ether8 to ether1
  • Change WAN interface group membership ether1 to ether8
  • Change dhcp-client interface ether1 to ether8

And to be sure, export your configuration to a file and search for all ether1 occurrences.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19352
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: WAN port (ether1) to different port ether8

Fri Jun 08, 2018 2:18 pm

Using winbox, (example two ports on homebridge, other lan on eth3 port, one ISP).
Starting at the top of the list
Interface - make sure the names used reflect what you want. I typically either put a comment or adjust the name.
eth1-LAN1
eth2-LAN1
eth3-LAN2
eth8-ISP

Interface list
wan-eth8-ISP
LAN-homebridge
LAN-eth3

Bridge
homebridge

Bridgeports
homebridge-eth1-LAN1
homebridge-eth2-LAN1

/ip address list
add the homebridge (LAN1) ex 192.168.0.1/24 network 192.168.0.0
add LAN2 ex 192.168.2.1/24 network 192.168.2.0

/ip pool
pool-bridge 192.168.0.x - 192.168.0.xxx
pool-LAN2 192.168.2.y - 192.168.2.yyy

/ip dhcp server entries required
/ip dhcp server NEXT TAB --->network, entries required

/ip dhcp client (IMPORTANT FOR ISP)
choose interface eth8-ISP then decide if you want peer DNS (ISP dynamic servers) or not for your LAN, and leave default route checked for now but recommend making the route yourself later in IP routes for learning purpose and then come back here to remove the default route checkmark.
 
User avatar
Steveocee
Forum Guru
Forum Guru
Posts: 1120
Joined: Tue Jul 21, 2015 10:09 pm
Location: UK
Contact:

Re: WAN port (ether1) to different port ether8  [SOLVED]

Fri Jun 08, 2018 3:36 pm

Your understanding of master port is slightly off, that is used for switching only.

A brief explanation if you are using default config;
Remove ether8 from the bridge/switch. (Interfaces > Bridge > Ports)
Move the DHCP client to ether8 (IP>DHCP Client)
Alter your Firewall and NAT rules to use port 8 instead of port 1 (IP>Firewall>Filters/NAT)
Put port 1 back into your bridge for LAN use (Interfaces > Bridge > Ports)
 
vedrancek
just joined
Topic Author
Posts: 4
Joined: Thu Jun 07, 2018 9:11 pm

Re: WAN port (ether1) to different port ether8

Mon Jun 18, 2018 1:13 am

Hello,

thank you all for the help, qudos to ya all. 20 minutes after posting this question I managed to read carefully the manual and did the port switch the way Steveocee suggested. I dont know why, but I think I had a panic attack and needed a quick help :) Afterwords I did the rest of the router configuration - VLANS, Firewall config, VPN etc and it was a really really great feeling of accomplishment - love the Mikrotik HW, SW and documentation :)

Thanks again for the help and support.
Best regards

Who is online

Users browsing this forum: Google [Bot], Innoce, mkx and 72 guests