ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Denis Klimov <zver@altlinux.org>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] OpenVZ маршрутизация с pptpd
Date: Tue, 18 Nov 2008 18:12:41 +0500
Message-ID: <4922BF49.3060707@altlinux.org> (raw)
In-Reply-To: <4922AA3F.9010405@gmail.com>

Vasyuk_Maksim пишет:
> Denis Klimov пишет:
>> Что то я не пойму что необходимо. Подключаетесь из своей сети к pptp 
>> серверу и хотите через это соединение чтобы "пакеты ушли в сеть"?
> Есть две сети 172.20.0.0/16 и 192.168.100.0/24. Между ними стоит 
> сервак с ovz, в него воткнуто две сетевухи eth0(ip 192.168.100.1) и 
> eth1(ip 172.20.1.251), eth1 отдана в ve с pptpd, через неё клиенты из 
> сети 172.20.0.0/16 цепляются к pptpd, получают ip из диапозона 
> 172.18.0.0/16 на 172.18.0.1 (например клиент 172.18.0.55 сервер 
> 172.18.0.1).
> Необходимо чтобы из сети 172.18.0.0/16 был доступ до сети 
> 192.168.100.0/24.
а у хостов этой сети есть маршрут до 172.18.0.0/16 ?
> От клиента 172.18.0.55 до 172.18.0.1 пинги идут, до 192.168.100.9 
> идут, до 192.168.100.1 нет, на 192.168.100.1 маршрут до 172.18.0.0/16 
> завернут на 192.168.100.9
> Вроде все.
> Ща буду tcpdump`ом ловить пакеты, скажу точнее где стопориться.
включая автоугадав предположу что 192.168.100.9 - ip ve контейнера?

на HN
tcpdump -i any -nn icmp and host 172.18.0.55
показывает пакеты при пинге 192.168.100.1 через vpn ?

> Денис, у Вас такой проблемы не было? 
нет :)

--
Климов Денис
zver


  reply	other threads:[~2008-11-18 13:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18  8:02 Vasyuk_Maksim
2008-11-18  8:09 ` Vladimir V. Kamarzin
2008-11-18  8:23   ` Vasyuk_Maksim
2008-11-18  9:32 ` Denis Klimov
2008-11-18 10:37   ` Vasyuk_Maksim
2008-11-18 10:45     ` Sergey
2008-11-18 11:00     ` Denis Klimov
2008-11-18 11:42       ` Vasyuk_Maksim
2008-11-18 13:12         ` Denis Klimov [this message]
2008-11-18 12:33       ` Vasyuk_Maksim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4922BF49.3060707@altlinux.org \
    --to=zver@altlinux.org \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git