ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Seirge P. Kondratyev" <seirge@metal.tomsk.ru>
To: community@altlinux.ru
Subject: Re: [Comm] pptp vs routing
Date: Mon, 03 Nov 2003 20:45:53 +0600
Message-ID: <3FA66A21.3070109@metal.tomsk.ru> (raw)
In-Reply-To: <3FA6654D.6080907@progroup.ru>

Shrek wrote:

>
>> Всем доброго времени суток
>> Возникла такая проблема:
>> когда поднимаю pptp для создания vpn он в таблицу роутинга заносит 
>> запись для связи с самим сервером vpn через это новое соединие, что 
>> приводит к local loop. Как этого избежать? Если после соединения 
>> ручками убрать эту запись из роутинга, то все работает нормально, 
>> иначе через машину проносятся гиги информации %)
>> А раньше и так работало, но с другими провайдерами, а с этим - нет...
>> Как избавиться от этой записи в роутинге в принципе? Она ведь не 
>> требуется для работы... Или я не прав?
>>
> если мне не изменяет склероз, в options.pptp добавить nodefaultroute, 
> в общем man pppd
>
> _______________________________________________

в том то и дело, что это не defaultroute
демонстрирую вывод route после поднятия pptp

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
tun-gw.tomline. *               255.255.255.255 UH    0      0        0 ppp0
^^^^^^^^^^^^^^^								^^^^
192.168.51.0    *               255.255.255.128 U     0      0        0 eth0
192.168.84.0    *               255.255.255.0   U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         SHARK           0.0.0.0         UG    0      0        0 eth0

Как видно, default остается тем же, а вот все портящая запись появляется 
первой... это роутинг ма машину, предоставляющую vpn...
Помогите, или хотя бы объясните зачем она и почему без неё все работает...




  reply	other threads:[~2003-11-03 14:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-03 14:15 Seirge P. Kondratyev
2003-11-03 14:25 ` Shrek
2003-11-03 14:45   ` Seirge P. Kondratyev [this message]
2003-11-03 20:20     ` Pavel Tsybulin
2003-11-04  1:52       ` Seirge P. Kondratyev
2003-11-04  6:47         ` Alexander Vasiliev
2003-11-04 17:09         ` Pavel Tsybulin

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=3FA66A21.3070109@metal.tomsk.ru \
    --to=seirge@metal.tomsk.ru \
    --cc=community@altlinux.ru \
    /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 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