Changes

Jump to: navigation, search

SWITCH-mikrotik

634 bytes removed, 07:53, 31 December 2023
/* Config */
== Config ==
work in progress...
 
 
/interface vlan
 
add name=FIXME-NAT vlan-id=130 interface=ether23 (ne pas executer car a du être mis disable)
 
add name=FIXME-PUBLIC vlan-id=135 interface=ether24 (ne pas executer car a du être mis disable)
 
(/interface vlan print)
 
(/interface vlan print detail)
<pre>
/interface bridge
add name=bridge4Nat
 
add name=bridge4Public
/interface bridge port
add bridge=bridge4Nat interface=FIXME-NAT (ne pas executer car a du être mis disable) add bridge=bridge4Public interface=FIXME-PUBLIC (ne pas executer car a du être mis disable)  add bridge=bridge4Nat interface=ether1 (pvid=130) 
add bridge=bridge4Nat interface=ether3
 
add bridge=bridge4Nat interface=ether5
 
add bridge=bridge4Nat interface=ether7
 
add bridge=bridge4Nat interface=ether9
 
add bridge=bridge4Nat interface=ether11
 
add bridge=bridge4Nat interface=ether13
 
 
add bridge=bridge4Nat interface=ether15
 add bridge=bridge4Nat interface=ether17ether23
add bridge=bridge4Public interface=ether2
 
add bridge=bridge4Public interface=ether4
 
add bridge=bridge4Public interface=ether6
 
add bridge=bridge4Public interface=ether8
 
add bridge=bridge4Public interface=ether10
 
add bridge=bridge4Public interface=ether12
 
add bridge=bridge4Public interface=ether14
 
add bridge=bridge4Public interface=ether16
add bridge=bridge4Public interface=ether24
add bridge=bridge4Public interface=ether18 (/interface bridge print) (/interface bridge print detail) ((/ip address add address=192.168.1251.1xx/24 interface=bridge1))bridge4Public</pre>
Pour controler:
<pre>
/interface bridge print
/interface bridge print detail
</pre>
Reference:
https://www.youtube.com/watch?v=4BOYqtV4MCY&list=PLJ7SGFemsLl1QUNkgAbGj9ldlWRrr8zMj&ab_channel=TheNetworkBerg
 
 
https://wiki.mikrotik.com/wiki/Manual:Basic_VLAN_switching
 
https://help.mikrotik.com/docs/display/ROS/Bridging+and+Switching#BridgingandSwitching-BridgeVLANFiltering
<br>
52
edits