Indice   FAQ  
Iscriviti  Login
Indice Networking & Software di geolocalizzazione Reti LAN

Limitare velocità interfaccia ethernet

Argomenti basati sulle reti &........problemi a riguardo

Limitare velocità interfaccia ethernet

Messaggioda facciabuco » mer 8 mar 2017, 15:59

Salve, ho una RB750 configurata come router e mi ritrovo con la necessità di limitare la velocità di upload/download della ether5 a 3Mbps/1Mbps.
Sulla ether5 c'è collegato 1 switch a cui sono connessi 3 access-point per dare la connessione ai cellulari che comunque devono poter comunicare con la LAN cablata.
Sono riuscito a limitare il download ma per l'upload non trovo soluzione: considerate che non posso sapere quali IP avranno i dispositivi che si collegheranno tramite wifi...
Vi allego la configurazione attuale:

/interface ethernet
set [ find default-name=ether1 ] name=eth1-wan
set [ find default-name=ether2 ] name=eth2-lan-master
set [ find default-name=ether3 ] master-port=eth2-lan-master name=eth3-lan
set [ find default-name=ether4 ] master-port=eth2-lan-master name=eth4-lan
set [ find default-name=ether5 ] name=eth5-lan
/interface bridge
add name=br-lan
/interface bridge port
add bridge=br-lan interface=eth2-lan-master
add bridge=br-lan interface=eth5-lan
/interface pppoe-client
add add-default-route=yes disabled=no interface=eth1-wan max-mru=1500 max-mtu=1500 name=pppoe-out1 password=pluto use-peer-dns=yes user=pippo
/ip address
add address=192.168.1.254/24 interface=br-lan network=192.168.1.0
/ip pool
add name=dhcp-pool1 ranges=192.168.1.1-192.168.1.99
/ip dhcp-server
add address-pool=dhcp-pool1 authoritative=yes disabled=no interface=br-lan lease-time=2d name=dhcp-server1
/ip dhcp-server network
add address=192.168.1.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.1.254
/ip firewall mangle
add action=mark-packet chain=forward in-interface=pppoe-out1 new-packet-mark=wan-in passthrough=yes
/queue tree
add max-limit=3M name=eth5-limited-download packet-mark=wan-in parent=eth5-lan
/ip firewall nat
add action=masquerade chain=srcnat out-interface=pppoe-out1
facciabuco
Mikrotik Curious User
Mikrotik Curious User
 
Messaggi: 9
Iscritto il: mer 8 ott 2014, 17:30


Torna a Reti LAN

Chi c’è in linea

Visitano il forum: Nessuno e 2 ospiti