metrics & ifconfig

V13 v13 at priest.com
Sat Feb 21 17:23:58 EET 2004


On Saturday 21 February 2004 12:54, Tassos Mavroudeas wrote:
> Filtatoi,
>    exw eva server me 2 IP addresses sthv idia ethernet:
> 	eth0 	10.10.10.1
> 	eth0:1 	10.10.11.2
>
>    Ola ta outgoing TCP/IP connections feugouv by default apo thv
> eth0/10.10.10.1
>
>    Auto pou 8elw eivai: ava takta xrovika diastimata va alazw to default
> interface kai ara ta ougoing va feugouv mia apo thv prwth IP kai meta
> apo thv allh IP.

Ayto poy thes den ginetai sto 100% ton periptoseon, alla isos na se kalypsei 
mia apli alagi toy default route.

>    Episeis dev 8elw va exw ka8olou downtime. Apla ava 'x' wres o cron na
> trexei mia evtolh tou tupou:
> ifconfig eth0:1 Metrics 2

Mporeis na exeis default route, na prostheteis ena deytero kai sti synexeia na 
afereis to proto. Kati tetoio tha exei epidrasi mono gia ta diktya poy den 
einai directly connected. Episis den tha isxyei gia ola ta programmata poy 
kanoyn bind se kapoia sygkekrimeni dieythynsi kai xrisimopoioyn ekeinh anti 
gia to 0.0.0.0.

Ayto bebaia proypothetei oti prepei na exeis kai dyo gateway h ena me 2 IP.

> Tassos
<<V13>>




More information about the Linux-greek-users mailing list