> salut > [EMAIL PROTECTED]:~# ip route show table main > 86.55.239.65 dev eth1 scope link > 86.55.94.64/27 dev eth1 scope link src 86.55.94.81 > 193.168.0.0/24 dev eth0 scope link src 193.168.0.3 > 192.168.189.0/24 dev vmnet8 proto kernel scope link src 192.168.189.1 > default via 193.168.0.1 dev eth0
iti lipsesc routele default pt T1 si T2 apoi clientii din lan tre sa ii bagi tot in ip rule [daca ai clienti de lan ca eu nu prea vad asta.] > [EMAIL PROTECTED]:~# ip route show table T1 > 193.168.0.0/24 dev eth0 scope link src 193.168.0.3 > 127.0.0.0/8 dev lo scope link > [EMAIL PROTECTED]:~# ip route show table T2 > 86.55.94.64/27 dev eth1 scope link src 86.55.94.81 > 127.0.0.0/8 dev lo scope link > [EMAIL PROTECTED]:~# ip rule show > 0: from all lookup local > 32764: from 86.55.94.81 lookup T2 > 32765: from 193.168.0.3 lookup T1 > 32766: from all lookup main > 32767: from all lookup default > [EMAIL PROTECTED]:~# Nu prea vad interfata spre lan... daca nu ai lan.. si vrei sa iti mearga per table va trebuie sa iti adaugi route statice sau dinamice catre anumite site-uri care sa o ia prin tablele T1 sau T2 in tabla main Serverul tau intotdeaula se va lua dupa tabela main.. apoi in functie de regulile intalnite acolo se va duce in tabelele indicate in reguli. Data intrata intr-o alta tabla... nu se mai intoarce in tabla main.[chiar daca o parcurge pana la capat] > -- > tia, > ghrt > _______________________________________________ > RLUG mailing list > [email protected] > http://lists.lug.ro/mailman/listinfo/rlug -- Killer Bee MariusC _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
