/-----------------------\
| |
|eth0 |eth0
|-------| |-------|
eth1 | | | |eth1
-------- A |____ _______| B |-----
| | \ / | |
--------| | | --------|
| |
| |
-----------
|___________|
switch
A si B fac parte din aceeasi retea (192.168.1.0/24). Ca sa
ajungi de la A la B se trece printr-un switch. Legatura
asta nu e prea stabila si cum atat A, cat si B au, fiecare,
cate o conexiune la internet, vreau sa creez un tunel GRE
intre ele. Am citit despre proxy arp si bridging, dar tot
nu mi-e clar. eth0 la A e 82.a.b.c, eth0 la B e 82.e.f.g.,
eth1 la A e 192.168.1.1, br0 la B e 192.168.1.31. (De
mentionat ca in B sunt 4 placi de retea, 3 dintre ele
(eth1,2,3) formand bridge-ul br0) Am citit lartc howto,
apoi am facut tunelul: ip tunnel add tun0 mode gre remote
remote_ip_here local local_ip_here ttl 255 atat pe A cat si
pe B, remote si local ip luand valorile corespunzatoare.
Mai departe: ip link set tun0 up. Problema e ce fac mai
departe. Fac bridge intre eth1 si tun0 pe A si adaug tun0
la br0 pe B? Sau activez proxy_arp pe eth1 si tun0 pe A si
pe br0 si tun0 pe B (legat de proxy_arp, cum se activeaza
propriu-zis? echo 1 >
/proc/sys/net/ipv4/conf/<iface>/proxy_arp si asta e tot)?
Tot legat de proxy_arp:
http://leaf.sourceforge.net/doc/howto/proxyarp.html#id2805973
aici zice: proxy-arp is not bridging (agreed) so DO NOT
CONFIGURE BRIDGE OPTIONS!!! Asta inseamna ca nu poti face
proxy_arp pe un calculator unde ai deja un bridge (cum e la
mine B)?
Remotely related: wtf is PDBB in dreptunghiul INPUT ROUTING
aici: http://www.docum.org/docum.org/kptd/ ?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---
Detalii despre listele noastre de mail: http://www.lug.ro/