From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Epiphanov Sergei To: yuda66@yandex.ru, ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] pptptunnel =?koi8-r?b?ySDP0NLFxMXMxc7JxSBpcC3Oz83F0sE=?= eth0 Date: Tue, 24 May 2005 14:00:55 +0400 User-Agent: KMail/1.8 References: <200505241229.16595.yuda66@yandex.ru> In-Reply-To: <200505241229.16595.yuda66@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Disposition: inline Message-Id: <200505241400.55942.serpiph@nikiet.ru> Content-Transfer-Encoding: quoted-printable Cc: X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 09:59:25 -0000 Archived-At: List-Archive: =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 24 =ED=C1=CA 2005 13:29 Igor Terti= shny =CE=C1=D0=C9=D3=C1=CC: > =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5, =CB=CF=CC=CC=C5=C7=C9. =EF=C2=D2=C1= =DD=C1=C0=D3=D8 =DA=C1 =D0=CF=CD=CF=DD=D8=C0 =D7 =D3=CF=D7=C5=D2=DB=C5=CE= =CE=CF =CC=C1=CD=CD=C5=D2=D3=CB=CF=CD > =D7=CF=D0=D2=CF=D3=C5. =EE=CF =C4=CF=CC=C7=CF =D2=D9=D4=D8=D3=D1 =D7 =C9= =CE=C6=C5 =D5 =CD=C5=CE=D1 =CE=C5=D4 =D7=D2=C5=CD=C5=CE=C9. =E6=C9=DA=C9=DE= =C5=D3=CB=C9 =CE=C5=D4. > > =E9=D4=C1=CB, =D3=C9=D4=D5=C1=C3=C9=D1. =E4=CC=D1 =D7=D9=C8=CF=C4=C1 =D7= =C9=CE=C5=D4 =D1 =C9=D3=D0=CF=CC=D8=DA=D5=C0 pptptunnel, =C9=CE=C5=D4 =CB= =C1=C2=C5=CC=D8=CE=D9=CA. > eth0 =D0=CF=CC=D5=DE=C1=C5=D4 ip-=CE=CF=CD=C5=D2 =C1=D7=D4=CF=CD=C1=D4=CF= =CD =CF=D4 =D0=D2=CF=D7=C1=CA=C4=C5=D2=C1 =CB=C1=C2=C5=CC=D8=CE=CF=C7=CF = =C9=CE=C5=D4=C1 (=CB=CF=CD=D0=C1=CE=C9=C9 > =CB=C1=C2=C5=CC=D8=CE=CF=C7=CF =D4=C5=CC=C5=D7=C9=C4=C5=CE=C9=D1) =DE=C5= =D2=C5=DA dhcp. =F0=CF=D4=CF=CD =CE=C5=CF=C2=C8=CF=C4=C9=CD=CF =D3=CF=DA=C4= =C1=D4=D8 =CD=CF=D3=D4 =CD=C5=D6=C4=D5 > =D0=CF=CC=D5=DE=C5=CE=CE=D9=CD ip-=CE=CF=CD=C5=D2=CF=CD =C9 ip-=CE=CF=CD= =C5=D2=CF=CD =D0=D2=CF=D7=C1=CA=C4=C5=D2=C1 =C9=CE=D4=C5=D2=CE=C5=D4=C1. = =F0=CF=D3=CC=C5 =DE=C5=C7=CF > =DA=C1=D0=D5=D3=CB=C1=C5=D4=D3=D1 =D5=D6=C5 =D3=C1=CD pptptunnel. =E2=C5= =DA =D3=CF=DA=C4=C1=CE=C9=D1 =CD=CF=D3=D4=C1 =CE=C9 =C6=C9=C7=C1 =CE=C5 =D2= =C1=C2=CF=D4=C1=C5=D4. > =F5=D7=D9. =F2=C5=C1=CC=C9=DA=CF=D7=C1=CE=CF =DC=D4=CF =D7 =C6=C1=CA=CC= =C5 /etc/ppp/ip-up.d/route: > > /sbin/route add -host 192.117.122.13 gw 172.25.230.76 > /sbin/route del default > /sbin/route add default gw 192.117.110.146 > > 172.25.230.76 - =EE=CF=CD=C5=D2, =D0=CF=CC=D5=DE=C5=CE=CE=D9=CA =DE=C5=D2= =C5=DA dhcp. =F0=D2=CF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