From: Pavel Tsybulin <pavelt@alkorn.ru>
To: community@altlinux.ru
Subject: Re: [Comm] pptp vs routing
Date: Mon, 3 Nov 2003 23:20:05 +0300
Message-ID: <20031103202004.GA2360@pasha.alkorn.net> (raw)
In-Reply-To: <3FA66A21.3070109@metal.tomsk.ru>
On Mon, Nov 03, 2003 at 08:45:53PM +0600, Seirge P. Kondratyev wrote:
> в том то и дело, что это не 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...
> Помогите, или хотя бы объясните зачем она и почему без неё все работает...
>
Хм, а почему Вас смущает именно ЭТА запись ?
следующие за ней - аналогичны по сути.
к примеру, следующая означает, что eth0 принадлежит сети 192.168.51.0
с маской 255.255.255.128 и пакеты в эту сеть пойдут через этот интерфейс
соответственно, подчеркнутая означает, что
на интерфейсе ppp0 виден хост tun-gw.tomline.ru с маской 255.255.255.255
можете считать это подсетью на 2 адреса, это и есть point-to-point
Запись эта абсолютно корректна. А вот общая нерабочесть действительно странна.
Прочтите, пожалуйста, это:
file:///usr/share/doc/pptp-client-1.1.0/howto-diagnosis.html#ip_loop
одна из причина - наверняка Ваша :-))
Pasha
next prev parent reply other threads:[~2003-11-03 20:20 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
2003-11-03 20:20 ` Pavel Tsybulin [this message]
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=20031103202004.GA2360@pasha.alkorn.net \
--to=pavelt@alkorn.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