Community discussions

MikroTik App
 
fbuster
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Sat May 02, 2015 12:52 pm
Location: BE

2 bridges or vlan

Wed Jan 30, 2019 11:06 pm

Image

I would like a config where the modem hands out :
  • a public ip to internal wan dhcp client
  • a public ip to the settopbox
eth3 & eth4 & wlan are a 10.0.0.0/24 subnet

Can someone help me , i am poor in bridges / vlan / switch
 
gerakon
Member Candidate
Member Candidate
Posts: 105
Joined: Sat May 24, 2014 8:14 am

Re: 2 bridges or vlan

Wed Jan 30, 2019 11:52 pm

Create a WAN-Bridge add ports 1 and 2 to it. Likely change anything in your config that references eth1(DHCP Client, IP address, firewall rules, NAT Rules, etc) to WAN-Bridge. With newer default configurations you may also need to add the WAN-Bridge to a WAN address list (I forget the exact name of the address list).

If you need help, post the results of
export hide-sensitive
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 22207
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: 2 bridges or vlan

Thu Jan 31, 2019 1:30 am

Do you have a block of IPs from your ISP??
If yes, then you are good to go with a setup.
If not, then what is the purpose of the setbox??
 
fbuster
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Sat May 02, 2015 12:52 pm
Location: BE

Re: 2 bridges or vlan

Thu Jan 31, 2019 8:42 am

Yes i get multiple ips from isp.
Settopbox is required by isp and needs a public ip
 
fbuster
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Sat May 02, 2015 12:52 pm
Location: BE

Re: 2 bridges or vlan

Fri Feb 01, 2019 5:42 pm

If I make a wan bridge , will it also use the switch chip?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13130
Joined: Thu Mar 03, 2016 10:23 pm

Re: 2 bridges or vlan

Fri Feb 01, 2019 8:43 pm

Only one bridge can be HW offloaded (i.e. can use switch chip), other bridges will be software-only. When you create two bridges over ports of same switch chip, you can actually select which one should be HW offliaded by setting hw=no on all ports members of bridge where HW offload should not be active.

Performance degradation (or rather CPU load increase) only affects the traffic switched between ports of such bridge (e.g. WAN-bridge), it doesn't change the way routed traffic (e.g. between LAN and WAN) is handled, that part is never HW offloaded.