Difference between revisions of "SWITCH-mikrotik"

From Fixme.ch
Jump to: navigation, search
(Ports / VLAN)
(Ports / VLAN)
Line 26: Line 26:
 
   <td>3</td>
 
   <td>3</td>
 
   <td>FIXME-NAT</td>
 
   <td>FIXME-NAT</td>
   <td>Multifonction</td>
+
   <td>Fablab link<</td>
 
</tr>
 
</tr>
 
<tr bgcolor=FloralWhite>
 
<tr bgcolor=FloralWhite>
 
   <td>4</td>
 
   <td>4</td>
 
   <td>FIXME-PUBLIC</td>
 
   <td>FIXME-PUBLIC</td>
   <td></td>
+
   <td>Raspi [[Orbital]]</td>
 
</tr>
 
</tr>
 
<tr bgcolor=Cornsilk>
 
<tr bgcolor=Cornsilk>
 
   <td>5</td>
 
   <td>5</td>
 
   <td>FIXME-NAT</td>
 
   <td>FIXME-NAT</td>
   <td>Fablab link</td>
+
   <td>Multifonction/td>
 
</tr>
 
</tr>
 
<tr bgcolor=FloralWhite>
 
<tr bgcolor=FloralWhite>
Line 46: Line 46:
 
   <td>7</td>
 
   <td>7</td>
 
   <td>FIXME-NAT</td>
 
   <td>FIXME-NAT</td>
   <td></td>
+
   <td>ATA</td>
 
</tr>
 
</tr>
 
<tr bgcolor=FloralWhite>
 
<tr bgcolor=FloralWhite>

Revision as of 01:00, 18 December 2023

SW-FIXME-MIKROTIK

VLANs

  • 130: FIXME-NAT
  • 135: FIXME-PUBLIC

Ports / VLAN

Port VLAN Equipement
1 FIXME-NAT Bellatrix PMI
2 FIXME-PUBLIC Bellatrix
3 FIXME-NAT Fablab link<
4 FIXME-PUBLIC Raspi Orbital
5 FIXME-NAT Multifonction/td>
6 FIXME-PUBLIC RIPE NCC
7 FIXME-NAT ATA
8 FIXME-PUBLIC
9 FIXME-NAT
10 FIXME-PUBLIC
11 FIXME-NAT
12 FIXME-PUBLIC
13 FIXME-NAT
14 FIXME-PUBLIC
15 FIXME-NAT
16 FIXME-PUBLIC
17 FIXME-NAT
18 FIXME-PUBLIC
19 reserved for FIXME-NAT DON'T USE!
20 reserved for FIXME-PUBLIC DON'T USE!
21 reserved for FIXME-NAT DON'T USE!
22 reserved for FIXME-PUBLIC DON'T USE!
23 TRUNK-NAT DON'T USE!
24 TRUNK-PUBLIC DON'T USE!

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)

/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=ether17


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=ether18

(/interface bridge print)

(/interface bridge print detail)

((/ip address add address=192.168.1.1/24 interface=bridge1))


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