1

Temat: Jak wymusić 100 mb/s

Witam,

Oglądam prezentacje:

http://www.ieee802.org/802_tutorials/05 … ordman.pdf

i wychodzi, że różnica w konsumpcji na 1 link  na 1 urządzenie wychodzi od 1,9 W do 2,5 W pomiędzy 100 mb/s, a 1 gb/s.
Załóżmy, że różnica pomiędzy 100 mb/s vs 1 gb/s to około 2 W mocy. Pomijam sprawności zasilaczy i ich straty.

Internet mam ze światłowodu, ale prędkość up/down mniejsza niż 100 mb/s (płacę głownie za łączę biznes o bardzo wysokim SLA) , ale technicznie pomiędzy modemem (media konwerterem), a moim urządzeniem (routerem) jest ustawiony link 1 gb/s. 

Wobec powyższego 2 urządzenia (modem i router) * 2W * 24h * 30 dni = 2, 9 kWh / miesiąc co daje koszt mniej więcej....2 zł na miesiąc  (na 1 linku) smile

Finansowo prawie w ogóle się nie opłaca (choć w sumie w ciągu roku 24 zł) niemniej jak wymusić 100 mb/s w OpenWRT na konkretnym porcie?

Pozdrawiam, Krzysiek

2

Odp: Jak wymusić 100 mb/s

Użyj ethtool ustaw port na taką szybkość jaką chcesz. Nie na każdym routerze/switchu/porcie będziesz w stanie to zrobić.

I nie, aż tak spektakularnych wyników w mniejszym poborze mocy nie ma. Weź miernik i sprawdź smile

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Jak wymusić 100 mb/s

w ifconfig to jest eth0.4

cat /etc/config/network
....
config switch_vlan
        option vlan '4'
        option ports '0 5t'
        option device 'switch0'
.....

więc staram się wymusić 100 mb

ethtool -s eth0.4 speed 100 duplex full autoneg off

Ale wynik bez zmian, ciale 1 gb

root@LEDE:~# swconfig dev switch0 show|grep link
        blinkrate: 0
        link: port:0 link:up speed:1000baseT full-duplex
        link: port:1 link:up speed:100baseT full-duplex txflow rxflow
        link: port:2 link:up speed:10baseT full-duplex txflow rxflow
        link: port:3 link:up speed:100baseT full-duplex
        link: port:4 link:down
        link: port:5 link:up speed:1000baseT full-duplex txflow rxflow auto

PS. Nie liczę na zysk, zmiana sztuka dla sztuki smile

4

Odp: Jak wymusić 100 mb/s

1. Jaki to router w ogóle?
2. Pisałem że nie na wszystkim będzie działać
3. na eth0 spróbuj

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Jak wymusić 100 mb/s

1043nd v1

TO jest podpięte pod port WAN, eth0 jako całość wolałbym nie.

6

Odp: Jak wymusić 100 mb/s

W 1043 chyba mogłeś to przez swconfig zrobić.  Zrób swconfig dev switch0 help i zobacz czy nie masz ustawienia określonego portu,.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Jak wymusić 100 mb/s

mam takie coś, ale nie co dalej

root@LEDE:~# swconfig dev switch0 help
switch0: rtl8366rb(RTL8366RB), ports: 6 (cpu @ 5), vlans: 4096
     --switch
        Attribute 1 (int): enable_learning (Enable learning, enable aging)
        Attribute 2 (int): enable_vlan (Enable VLAN mode)
        Attribute 3 (int): enable_vlan4k (Enable VLAN 4K mode)
        Attribute 4 (none): reset_mibs (Reset all MIB counters)
        Attribute 5 (int): blinkrate (Get/Set LED blinking rate (0 = 43ms, 1 = 84ms, 2 = 120ms, 3 = 170ms, 4 = 340ms, 5 = 670ms))
        Attribute 6 (int): enable_qos (Enable QOS)
        Attribute 7 (int): enable_mirror_rx (Enable mirroring of RX packets)
        Attribute 8 (int): enable_mirror_tx (Enable mirroring of TX packets)
        Attribute 9 (int): enable_monitor_isolation (Enable isolation of monitor port (TX packets will be dropped))
        Attribute 10 (int): enable_mirror_pause_frames (Enable mirroring of RX pause frames)
        Attribute 11 (int): mirror_monitor_port (Mirror monitor port)
        Attribute 12 (int): mirror_source_port (Mirror source port)
        Attribute 13 (none): apply (Activate changes in the hardware)
        Attribute 14 (none): reset (Reset the switch)
     --vlan
        Attribute 1 (string): info (Get vlan information)
        Attribute 2 (int): fid (Get/Set vlan FID)
        Attribute 3 (ports): ports (VLAN port mapping)
     --port
        Attribute 1 (none): reset_mib (Reset single port MIB counters)
        Attribute 2 (string): mib (Get MIB counters for port)
        Attribute 3 (int): led (Get/Set port group (0 - 3) led mode (0 - 15))
        Attribute 4 (int): disable (Get/Set port state (enabled or disabled))
        Attribute 5 (int): rate_in (Get/Set port ingress (incoming) bandwidth limit in kbps)
        Attribute 6 (int): rate_out (Get/Set port egress (outgoing) bandwidth limit in kbps)
        Attribute 7 (int): pvid (Primary VLAN ID)
        Attribute 8 (unknown): link (Get port link information)

8

Odp: Jak wymusić 100 mb/s

Nie, nie ma tego.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.