Difference between revisions of "SWITCH-mikrotik"
From Fixme.ch
								
												
				|  (→Ports / Reseau) |  (→Config) | ||
| Line 138: | Line 138: | ||
| == Config == | == Config == | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | <pre> | ||
| /interface bridge | /interface bridge | ||
| add name=bridge4Nat | add name=bridge4Nat | ||
| − | |||
| add name=bridge4Public | add name=bridge4Public | ||
| /interface bridge port   | /interface bridge port   | ||
| − | + | add bridge=bridge4Nat interface=ether1 | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | add bridge=bridge4Nat interface=ether1  | + | |
| − | + | ||
| add bridge=bridge4Nat interface=ether3 | add bridge=bridge4Nat interface=ether3 | ||
| − | |||
| add bridge=bridge4Nat interface=ether5 | add bridge=bridge4Nat interface=ether5 | ||
| − | |||
| add bridge=bridge4Nat interface=ether7 | add bridge=bridge4Nat interface=ether7 | ||
| − | |||
| add bridge=bridge4Nat interface=ether9 | add bridge=bridge4Nat interface=ether9 | ||
| − | |||
| add bridge=bridge4Nat interface=ether11 | add bridge=bridge4Nat interface=ether11 | ||
| − | |||
| add bridge=bridge4Nat interface=ether13 | add bridge=bridge4Nat interface=ether13 | ||
| − | |||
| − | |||
| add bridge=bridge4Nat interface=ether15 | add bridge=bridge4Nat interface=ether15 | ||
| − | + | add bridge=bridge4Nat interface=ether23 | |
| − | add bridge=bridge4Nat interface= | + | |
| − | + | ||
| add bridge=bridge4Public interface=ether2 | add bridge=bridge4Public interface=ether2 | ||
| − | |||
| add bridge=bridge4Public interface=ether4 | add bridge=bridge4Public interface=ether4 | ||
| − | |||
| add bridge=bridge4Public interface=ether6 | add bridge=bridge4Public interface=ether6 | ||
| − | |||
| add bridge=bridge4Public interface=ether8 | add bridge=bridge4Public interface=ether8 | ||
| − | |||
| add bridge=bridge4Public interface=ether10 | add bridge=bridge4Public interface=ether10 | ||
| − | |||
| add bridge=bridge4Public interface=ether12 | add bridge=bridge4Public interface=ether12 | ||
| − | |||
| add bridge=bridge4Public interface=ether14 | add bridge=bridge4Public interface=ether14 | ||
| − | |||
| add bridge=bridge4Public interface=ether16 | add bridge=bridge4Public interface=ether16 | ||
| + | add bridge=bridge4Public interface=ether24 | ||
| − | + | /ip address add address=192.168.251.xx/24 interface=bridge4Public | |
| − | + | </pre> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| + | Pour controler: | ||
| + | <pre> | ||
| + | /interface bridge print | ||
| + | /interface bridge print detail | ||
| + | </pre> | ||
| Reference: | Reference: | ||
| https://www.youtube.com/watch?v=4BOYqtV4MCY&list=PLJ7SGFemsLl1QUNkgAbGj9ldlWRrr8zMj&ab_channel=TheNetworkBerg | https://www.youtube.com/watch?v=4BOYqtV4MCY&list=PLJ7SGFemsLl1QUNkgAbGj9ldlWRrr8zMj&ab_channel=TheNetworkBerg | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 08:53, 31 December 2023
SW-FIXME-MIKROTIK
Decoupage Public - NAT
On utilise pas de Vlan, mais on a deux bridges virtuelle qui font chacun des réseaux.
- 130: FIXME-NAT
- 135: FIXME-PUBLIC
Ports / Reseau
| Port | Réseau | Equipement | 
| 1 | FIXME-NAT | Bellatrix PMI | 
| 2 | FIXME-PUBLIC | Bellatrix | 
| 3 | FIXME-NAT | Fablab link | 
| 4 | FIXME-PUBLIC | Raspi Orbital | 
| 5 | FIXME-NAT | Multifonction | 
| 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" | ROUTER-Edge | 
| 24 | "TRUNK-PUBLIC" | ROUTER-Edge | 
Config
/interface bridge add name=bridge4Nat add name=bridge4Public /interface bridge port add bridge=bridge4Nat interface=ether1 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=ether23 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 /ip address add address=192.168.251.xx/24 interface=bridge4Public
Pour controler:
/interface bridge print /interface bridge print detail
Reference:

