klesajici rychlost... delsi!!!!
Bohdan Blaha
blaha na jobpilot.cz
Úterý Prosinec 4 23:37:26 CET 2001
zdravim...
mam mozna hloupy dotaz.. ale prosel jsem archiv a nasel jedinou odpoved a zatim jsem to nevyresil, protoze soubor /etc/hosts mam vyplnen spravne..
jde o to, ze mam FTP server, ktery jsem strcil za firewall a propoustim pres nej pakety na portu 21 tam i ven...
uvnitr site to funguje bez problemu, ale pokud se pripojim z venku na toto ftp tak rychlost nacteni adresaru je perfektni... ale jakmile dam stahovat soubor tak zacne na deseti kilech rychlosti.. pak klesa a skonci na rychlosti stahovani okolo 20 b!!
predtim byl bezproblemovy, takze predpokladam ze nejaky problem s pridanim za firewall.. takze asi routovani???
ten server ma dva verejne IP adresy na dvou sitovkach a vnitrni sitovce je jeste pridan alias eth1:0 na vnitrni sit...
mam tri subnety...
rekneme ze dame slovo 'sit' jako cast nake IP
zajima mne pouye prvni a treti subnet...
prvni subnet
sit.0
sit.1 - router
sit.2 - gateway pro tento router
sit.3
gateway je 255.255.255.252
druhy subnet
sit.4 - sit.7
treti subnet
sit.8
sit.9 - http server
sit.10 - ftp a mail server
si.14 gateway pro tyto servery
gateway je 255.255.255.248
ftp server
eth1 - sit.2
eth0 - 192.168.0.2
routovaci tabulka FTP serveru
Destination Gateway Genmask Flags Metric Ref Use Iface
mail * 255.255.255.255 UH 0 0 0 eth1
sit.0 * 255.255.255.248 U 0 0 0 eth1
sit.8 * 255.255.255.248 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default sit.14 0.0.0.0 UG 0 0 0 eth1
router
eth0:1 - 192.168.0.1
eth0 - sit.14
eth1 - sit.1
routovaci tabulka firewalu a routeru
sit.0 * 255.255.255.252 U 0 0 0 eth1
sit.8 * 255.255.255.248 U 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default sit.2 0.0.0.0 UG 0 0 0 eth1
jsou to defaultni tabulky krome gateway u firewalu.. takze me matou dva rozdilne rakdy a to..
sit.0 * 255.255.255.248 U 0 0 0 eth1 u serveru
sit.0 * 255.255.255.252 U 0 0 0 eth1 u routeru
z nbeznameho duvodu si natahne jinou masku.. mohl by tohl byt puvod problemu???
dokazal by mi nekdo poradit???
snad jsem to nejak rozumne vysvetlil .o))
diky
Bohdan
Další informace o konferenci Linux