Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

lug-bg: gateway routing problem ?


  • Subject: lug-bg: gateway routing problem ?
  • From: "raptor@xxxxxxxxxx" <raptor@xxxxxxxxxx>
  • Date: Tue, 6 Jul 2004 11:02:22 +0300

zdraweite,


Imam sledniq mnogo gaden problem ... pyrwo edna diagramka :

x.x.1.0/24 -----------------|
x.x.2.0/24 -----------------|---- (gw: eth0: x.x.1.1 eth1: x.x.2.1 eth1: x.x.3.1)  ---->
x.x.3.0/24 -----------------|


sega imam dwe machini  x.x.3.10 (2.4 kernel) and x.x.3.11(2.6 kernel) 
Wsichki HOSTO-we sa w edna LAN (fizicheska mreva) no sa s razlichni IP-ta (razlichni logicheski mrevi)

Kato gledam trafika s iftop i tcpdump (w gateway-a) pytq na paketa e sledniq :
(neka da wzemem za primer source x.x.1.5 i destinataion x.x.3.10)

x.x.1.5  ----> gw:x.x.1.1 ----> x.x.3.10 ---> x.x.1.5 

zabelevete che kogato paketa se wryshta gateway-a ne se izpolzwa (poneve sa w edna LAN - arp), towa e NACHINA 
po koito az islkam da raboti i raboti na mashinite koito dosega polzwam...

Pusnah si edna nowa machina s kernel 2.6, na koqto wsichko routing-i,  "sysctl -a | grep neigh" , "sysctl -a | grep arp" ,
 mrevi ..etc e syshtoto, obache pytq na paketa e sledniqt :

x.x.1.5  ----> gw:x.x.1.1 ----> x.x.3.11 ---> gw:x.x.3.1?  --->  x.x.1.5 

Kakto wivdate tuka paketa na wryshtane minawa prez gateway-a, towa az NE GO ISKAM ?!
Trafika e golqm i mashinata mi e natowarena s dostatychno drug trafik... oswen towa e shaper i w toq 
sluchai shapwa trafika na malki skorosti... koeto pak waobshte ne e ideqta...

Mislq si che e nqkakaw problem swyrzan s ARP poneve  ako probwam eto towa na nowata machina :

#arp -n | wc -l
3

na edna ot starite  :

# arp -n | wc -l
105

i dwete se kontaktwat ot mnogo poweche ot 3 hosta..


Imate li nqkakwa ideq ot kakwo move da e towa.... po moi nabludeniq osnownata razlika e che nowata mashina 
e s kernel 2.6 a starite s 2.4, koeto ne e zadylvitelno da e problema estestweno !? 
Dali e promenqno nesto ili trqbwa da se pipne nqkakwa opciq ?

Daite idei , kolkoto i neworqtni da sa...

blagodarq predwaritelno..


tia
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.