Freesco, NND, CDN, EOS
http://forum.freesco.pl/

global w niceshaper
http://forum.freesco.pl/viewtopic.php?f=22&t=10498
Strona 1 z 1

Autor:  GHY [ czwartek, 29 grudnia 2005, 11:48 ]
Tytuł:  global w niceshaper

Mam teraz:
: [/] [] ()
<global>
iface inet eth0 auto
iface local eth1 192.168.1.1/24
do not shape local eth0 with 192.168.1.0/24
do not shape local 192.168.1.1 with 192.168.1.0/24
#shape router true low 8kbps ceil 14kbps prio 2
stats unit kbps #dump 5c file /home/httpd/html/stats/nsstats.txtk
resolve hostname true
method mark
reload 2s
</global>


Jak bedzie wygladac <global> kiedy dodam druga podsiecia eth2 192.168.2.1?
[/code]

Autor:  Damiano [ czwartek, 29 grudnia 2005, 21:45 ]
Tytuł: 

Dodaj:
: [/] [] ()
iface local eth2 192.168.2.1/24
do not shape local eth2 with 192.168.2.0/24
do not shape local 192.168.2.1 with 192.168.2.0/24

Proste,prawda :?: 8)

Autor:  GHY [ czwartek, 29 grudnia 2005, 23:33 ]
Tytuł: 

To to wiem tylko czy to ma tak wygladac:

: [/] [] ()
<global>
iface inet eth0 auto
iface local eth1 192.168.1.1/24
do not shape local eth0 with 192.168.1.0/24
do not shape local 192.168.1.1 with 192.168.1.0/24
iface local eth2 192.168.2.1/24
do not shape local eth2 with 192.168.2.0/24
do not shape local 192.168.2.1 with 192.168.2.0/24
#shape router true low 8kbps ceil 14kbps prio 2
stats unit kbps #dump 5c file /home/httpd/html/stats/nsstats.txtk
resolve hostname true
method mark
reload 2s
</global>

Autor:  galdas1 [ piątek, 30 grudnia 2005, 00:50 ]
Tytuł: 

A do pliku users wpisuje normalnie ip z tej i z tej czyli np
192.168.1.2
192.168.1.3
.
.
.
192.168.2.2
192.168.2.3 ??

Autor:  Damiano [ piątek, 30 grudnia 2005, 01:24 ]
Tytuł: 

@GHY
Dokładnie tak :)

@galdas1
Właśnie tak jak napisałeś w pliku users trzeba pozmieniać ip na takie jakie mają userzy w naszych podsieciach 8)
Przykład:
: [/] [] ()
192.168.1.2 eth0 dl_low 40kbps dl_ceil 60kbps ul_ceil 12kbps ul_low 10 dl_prio 7 ul_prio 7
192.168.2.2 eth1 dl_ceil 16kbps ul_ceil 3kbps dl_prio 5 ul_prio 0
192.168.2.3 eth1 dl_ceil 20kbps ul_ceil 3kbps dl_prio 4 ul_prio 0

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/