per-process routing

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Aug 30 02:02:58 EEST 2005


On 2005-08-30 01:37, Polychronis Ypodimatopoulos <pol at entelia.gr> wrote:
> 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

Hmmm, kati san auto les e?

	login: root
	Password: ********
	Last login: Tue Aug 30 00:32:06 on ttyv0

	Welcome to FreeBSD 7.0-CURRENT (GOTHMOG) #14: Tue Aug 30 23:56:37 EEST 2005

	gothmog# ssh -l root jail
	jail# ifconfig -a
	sis0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	        inet 10.0.0.1 netmask 0xffffff00
	jail# exit
	gothmog# ssh -l root jail2
	jail2# ifconfig -a
	sis0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
		inet 192.168.0.1 netmask 0xffffff00

Genika ginetai ayto pou thes, alla den kserw poso eukola mporei na ginei xwris
kapoioy eidous "virtual hosts" (bl. FreeBSD jails, usermode Linux, Solaris
zones, klp.)

> 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.

Basika, to usermode Linux se blepw oti thes, alla den kserw sigoura :)

> To "keep dreaming" den einai apodekti apantisi. Eixa tin entuposi oti to
> freeBSD kanei kati tetoia kolpa, alitheuei?

Nai, alh8eyei.  Epishs alh8euei oti to Solaris ta kanei, alla to Solaris den
einai akribws ``free'' akomh, giati den yparxei open kapoy sto sympan ena CVS,
Subversion, Arch, whatever... repository me ton kwdika kai tis xtesines
allages, giati ta latest patches den einai akribws ``free as in beer'', klp.

> Me virtual machines/servers exei paiksei kaneis?

Egw.  Me jails sto FreeBSD kai zones sto Solaris 10.




More information about the Linux-greek-users mailing list