ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] VPN - замучился !!! (Alexei V. Mezin)
@ 2008-02-23 19:02 Александр В. Макаров
  2008-02-23 19:32 ` Alexei V. Mezin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Александр В. Макаров @ 2008-02-23 19:02 UTC (permalink / raw)
  To: community

>  Согласно логам все работает. Выставьте параметр ONBOOT в значение no для
>  ppp20, перезагрузите компьютер, и покажите вывод команд ifconfig и route
>  -n, затем сделайте ifup ppp20 и снова покажите route -n.


ifconfig

eth0      Link encap:Ethernet  HWaddr 00:19:21:20:F2:05
          inet addr:192.168.33.95  Bcast:192.168.33.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:206 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19906 (19.4 KiB)  TX bytes:236 (236.0 b)
          Interrupt:177 Base address:0xee00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3191 (3.1 KiB)  TX bytes:3191 (3.1 KiB)

route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.100.203 192.168.33.1    255.255.255.255 UGH   0      0        0 eth0
192.168.33.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.33.1    0.0.0.0         UG    0      0        0 eth0

сеть работает

поднял ppp20

route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.168.0.5      0.0.0.0         255.255.255.255 UH    0      0        0 ppp20
192.168.100.203 192.168.33.1    255.255.255.255 UGH   0      0        0 eth0
192.168.33.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp20

не работает



Sergey Vlasov пишет:

>  Попробуйте добавить в опции pppd (в файл pppoptions) параметр
>  nodeflate - возможно, сжатие обрабатывается некорректно.

Добавил

route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.168.0.5      0.0.0.0         255.255.255.255 UH    0      0        0 ppp20
192.168.100.203 192.168.33.1    255.255.255.255 UGH   0      0        0 eth0
192.168.33.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp20

все работает

СПАСИБО!

В связи с этим вопрос, в сети рекомендуют добавить маршрутизацию,
чтобы лазить по локальной сети с включённым VPN и при этом не "жрался"
трафик VPN.

в windows это делается так
route add -p 192.168.0.0 mask 255.255.0.0 192.168.33.1 metric 1

в линукс нужно для этого еще что-то куда-то добавлять?


-- 
С Уважением, Александр Макаров!
5234378@gmail.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-23 21:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 19:02 [Comm] VPN - замучился !!! (Alexei V. Mezin) Александр В. Макаров
2008-02-23 19:32 ` Alexei V. Mezin
2008-02-23 20:22 ` [Comm] PPTP, nodeflate и маршруты Michael Shigorin
2008-02-23 20:34   ` Sergey Vlasov
2008-02-23 21:36     ` Michael Shigorin
2008-02-23 20:56 ` [Comm] VPN - замучился !!! (Alexei V. Mezin) Yurkovsky Andrey

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