per-process routing
Polychronis Ypodimatopoulos
pol at entelia.gr
Tue Aug 30 01:37:56 EEST 2005
Esto server me duo interfaces (px .1.1/24 kai .2.1/24) kai workstation me
episeis duo interfaces (kai pali .1.2/24 kai .2.2/24).
Oneireuomai ena kosmo ston opoio kathomai sto workstation kai anoigo duo
konsoles. Grafo sto proto ifconfig kai mou vgazei ip: 10.0.1.2 sto eth0.
Tipota allo! Oute kan to deutero interface. Route default via 10.0.1.1
Sto idio oneiro sunexizontas, grafo ifconfig sto deutero konsole kai (opos
mallon tha mantepses) mou vgazei ip: 10.0.2.2 sto eth1. Tipota allo! Oute kan
to proto interface. Route default via 10.0.2.1
Os apotelesma kathe process pou ekteleitai apo kei kai pera sto proto konsole
blepei mono to eth0 eno kathe process pou ekteleitai sto deutero konsole
blepei mono to eth1.
Ksero oti tha mporousa na vazo ta katallila switches se kathe efarmogi (px -i
sto ping, -b sto ssh k.o.k, alla (1) den exoun oles oi efarmoges (blepe
firefox!) tetoia switches (2) san gnisios programmer variemai polu na grafo
ta idia switches kathe toso.
O firefox einai polu simantiko na mporo episeis na elegxo apo poio interface
tha kanei ta tcp connections tou. Px na mporo na dokimazo ena web server pou
trexei apo ti mia pleura tou server (local lan without internet access), alla
na mporo na exo prosbasi kai sto internet gia to aparaitito googling.
To "keep dreaming" den einai apodekti apantisi. Eixa tin entuposi oti to
freeBSD kanei kati tetoia kolpa, alitheuei?
Me virtual machines/servers exei paiksei kaneis?
More information about the Linux-greek-users
mailing list