|
Re: lug-bg: ip tunnel problem
- Subject: Re: lug-bg: ip tunnel problem
- From: Vesselin Kolev <vlk@xxxxxxxxxxxxxxxxx>
- Date: Wed, 10 Mar 2004 21:59:33 +0200
Kamen Sharlandjiev wrote:
| Zdraveyte grupa. Imam slednia problem: pravq tunnel m/u v mashinki ot
| sorta : ------------ PC1: ip tunnel add office-dav mode gre remote
| xxx.xxx.195 local xxx.xxx.xxx.58 ikey 10 okey 20 ttl 10 ip link set
| office-dav up ip addr add 172.16.16.16/24 dev office-dav ip route add
| 172.22.22.0/24 dev office-dav ip route add 10.10.11.0/24 dev
| office-dav -------------- PC2: ip tunnel add dav-off mode gre remote
| xxx.xxx.xxx.58 local xxx.xxx.xxx.195 ikey 20 okey 10 ttl 10 ip link
| set dav-off up ip addr add 172.22.22.22/24 dev dav-off ip route add
| 172.16.16.0/24 dev dav-off -------- do tuk vsichko e normalno,
| neshtata trugvat. No sled izvestno vreme se zabelqza 4e ot PC1 ... ne
| moje da se pingne PC2 iface-a na tunnela otsreshta na PC2. t.e ot PC1
| ako se napishe (ping 172.22.22.22), mashinata NE otgovarq do momenta
| vuv koito se logna na neq i ne pingna drugata strana na tunela t.e:
| 172.16.16.16 ... sled koeto vsi4ko trugva normalno... na nqkoi da mu
| se e slu4valo ? Ako moje da pomogne? :) priemam vsqkakvi Idei.
| predvaritelno Blagodarq. Pr. Den --
|
| Regards, Kamen Sharlandjiev ICQ: 50729493 Tel: +359 2 962 43 52 Cell
| Phone: +359 887 233 900
|
??? ?????? ???? ?? ????????. ????? ?? ?? ???? ? ??????????? ??
???????????? ??????? ???????????. ?? ?? ??????? ?? ?????? p2p ?????.
????? ?? ???????? ????? ??-?????????. ??????? ??????? ???????????? ?
??????? /30 (??????? ????? 255.255.255.252). ?????, ?? ??????? ????
???????????? ?? 172.16.16.0/24, ?.?. ???? ?? ?? ? 172.16.16.0/30. ? ????
??????? ???????????? ???? ?????? ??????:
172.16.16.0 -> ????? ?? ???????
172.16.16.1 -> ????? ?????????? IP ?????
172.16.16.2 -> ????? ?????????? IP ?????
172.16.16.3 -> broadcast
?????? ?? ???? ?? ????????????? ?????? ?? ????? ??????? ?????????:
PC1:
...
ip addr add 172.16.16.1/30 dev office-dav
...
PC2:
...
ip addr add 172.16.16.2/30 dev dav-off
...
???? ?????? ?? ???????? ??????? ?????? ????????? ???????????? ?? ?????
???? ?? ??????.
????????: ????????? ???????????? 10.10.11.0/24 ?? ??????? ????
172.16.16.2, ? 10.10.12.0/24 ???? 172.16.16.1. ?????? ?????? ????????
??????? ? ????????? ? ??????????:
PC1:
...
ip route add 10.10.11.0/24 via 172.16.16.2 dev office-dav
...
PC2:
...
ip route add 10.10.12.0/24 via 172.16.16.1 dev office-dav
...
? ??? ?????? ? ?????;) ????? ????? ?? ?? ?????? ???????.
~ ????????
~ ????
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|