ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] VPN - замучился !!!
  @ 2008-02-17 15:05 ` Alexei V. Mezin
  0 siblings, 0 replies; only message in thread
From: Alexei V. Mezin @ 2008-02-17 15:05 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Александр В. Макаров пишет:
> Alexei V. Mezin" <alexei_vm@ints.ru> пишет:
> 
> Покажите вывод команды route -n до и после ifup.
> 
> ДО
> 
> route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.xx.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 0.0.0.0 192.168.xx.1 0.0.0.0 UG 0 0 0 eth0

Как и предсказывала теория, нету статического маршрута до PPTP-сервера. 
Еще раз загляните в настройки вашего eth0 в файл ipv4route и сравните их 
с приведенным по ссылке 
http://www.freesource.info/wiki/AltLinux/Dokumentacija/NastrojjkaVPN 
примером. В этом файле должна быть строка

IP.ADD.RE.SS/32 via IP.ADD.RE.SS

где первый адрес это ваш PPTP-сервер, вторый адрес это шлюз локальной 
сети, в которую подключен комп. Обратите внимание на /32 (а не /24 или 
/16). Проверить, что маршрут появился можно выполнив команду route -n 
ПОСЛЕ перезагрузки или после ifdown eth0; ifup eth0.

Например, вот содержимое моего файла:

[alexei@threebears ~]$ cat /etc/net/ifaces/crvt/ipv4route
194.85.82.98/32 via 10.103.9.193
default via 10.103.9.193

А вот таблица маршрутизации, которая ему соответствует:

[alexei@threebears ~]$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
194.85.82.98    10.103.9.193    255.255.255.255 UGH   0      0        0 crvt
10.103.8.0      0.0.0.0         255.255.254.0   U     0      0        0 crvt
0.0.0.0         10.103.9.193    0.0.0.0         UG    0      0        0 crvt


Сравните с тем, что у вас.


P.S. И нельзя ли как-нить так отвечать на письма, чтоб не рвать потоки? 
Ваши сообщения черезвычайно тяжело читать. Да и цитировать нужно 
аккуратнее, с использованием общепринятых правил.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-17 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-17 15:05 ` [Comm] VPN - замучился !!! Alexei V. Mezin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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