From owner-freebsd-questions Sun Jul 21 23:18: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3174337B400 for ; Sun, 21 Jul 2002 23:17:57 -0700 (PDT) Received: from mail.kristal.ru (mail.kristal.ru [195.161.155.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31A4043E31 for ; Sun, 21 Jul 2002 23:17:54 -0700 (PDT) (envelope-from ivk@kristal.ru) Received: by mail.kristal.ru (Postfix, from userid 426) id 80223301; Mon, 22 Jul 2002 16:17:44 +1000 (YAKST) Received: from c1110101.CRYSTALL.local (c1110101.CRYSTALL.local [192.168.1.253]) by mail.kristal.ru (Postfix) with ESMTP id 58B142F6; Mon, 22 Jul 2002 16:17:44 +1000 (YAKST) Date: Mon, 22 Jul 2002 16:17:44 +1000 From: Igor Kulemzin X-Mailer: The Bat! (v1.45) Personal X-Priority: 3 (Normal) Message-ID: <1652819384.20020722161744@kristal.ru> To: Malory Knox Cc: freebsd-questions@freebsd.org Subject: Re: In-reply-To: <20020722060224.80225.qmail@web21207.mail.yahoo.com> References: <20020722060224.80225.qmail@web21207.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Malory, MK> is there anybody who already connected his freebsd machine to the internet MK> though windows 2000 machine running virtual private networking? can you show me MK> your ppp.conf file? MK> i read carefully ppp manual, handbook and faq but it did not help. MK> my computer address 192.168.1.116 and vpn server address 192.168.1.253. when i Your computer has no address. Your network interface have address. And different interfaces should have different addresses. MK> use windows 2000 it works perfectly. after i connect to the server the status MK> is: MK> server type: ppp MK> transports TCP/IP MK> autentication MD5 CHAP MK> compression none MK> PPP multylink framing off MK> server ip address 195.7.164.253 MK> client ip address 10.0.0.42 MK> please help me with freebsd 4.5!!! MK> my ppp.conf looks like: MK> default: MK> set device PPPoE:rl0 MK> set log phase tun MK> enable dns MK> set ifaddr 192.168.1.116/0 192.168.1.253/0 MK> set authname 04134 MK> set authkey ****** MK> add default HISADDR MK> before running ppp: MK> # ifconfig MK> rl0: flags=8843 mtu 1500 MK> inet 192.168.1.116 netmask 0xffffff00 broadcast 192.168.1.255 MK> ether 00:c1:28:00:11:4f MK> media: Ethernet autoselect (100baseTX ) MK> status: active MK> lo0: flags=8049 mtu 16384 MK> inet 127.0.0.1 netmask 0xff000000 MK> # netstat -r MK> Routing tables MK> Internet: MK> Destination Gateway Flags Refs Use Netif Expire MK> saha saha UH 0 0 lo0 MK> 192.168.1 link#1 UC 0 0 rl0 MK> and then i execute: MK> # ppp -ddial MK> Working in ddial mode MK> Using interface: tun0 MK> then contents of ppp.log are: MK> Jul 18 15:57:54 saha ppp[347]: Phase: Using interface: tun0 MK> Jul 18 15:57:54 saha ppp[347]: Phase: deflink: Created in closed state MK> Jul 18 15:57:54 saha ppp[348]: tun0: Phase: PPP Started (ddial mode). MK> Jul 18 15:57:54 saha ppp[348]: tun0: Phase: bundle: Establish MK> Jul 18 15:57:54 saha ppp[348]: tun0: Phase: deflink: closed -> opening MK> Jul 18 15:57:54 saha ppp[348]: tun0: Phase: deflink: Connected! MK> Jul 18 15:57:54 saha ppp[348]: tun0: Phase: deflink: opening -> dial MK> Jul 18 15:57:54 saha ppp[348]: tun0: Phase: deflink: dial -> carrier MK> Jul 18 15:58:00 saha ppp[348]: tun0: Phase: deflink: Disconnected! MK> Jul 18 15:58:00 saha ppp[348]: tun0: Phase: deflink: carrier -> hangup MK> Jul 18 15:58:00 saha ppp[348]: tun0: Phase: deflink: Connect time: 6 secs: 0 MK> oc\ MK> tets in, 0 octets out MK> Jul 18 15:58:00 saha ppp[348]: tun0: Phase: deflink: : 0 packets in, 0 packets MK> \ MK> out MK> Jul 18 15:58:00 saha ppp[348]: tun0: Phase: total 0 bytes/sec, peak 0 MK> bytes/se\ MK> c on Thu Jul 18 15:58:00 2002 MK> Jul 18 15:58:00 saha ppp[348]: tun0: Phase: deflink MK> and some statistics commands results are: MK> # ifconfig MK> rl0: flags=8843 mtu 1500 MK> inet 192.168.1.116 netmask 0xffffff00 broadcast 192.168.1.255 MK> ether 00:c1:28:00:11:4f MK> media: Ethernet autoselect (100baseTX ) MK> status: active MK> lo0: flags=8049 mtu 16384 MK> inet 127.0.0.1 netmask 0xff000000 MK> tun0: flags=8011 mtu 1500 MK> Opened by PID 348 MK> # netstat -r MK> Routing tables MK> Internet: MK> Destination Gateway Flags Refs Use Netif Expire MK> default 192.168.1.253 UGSc 0 0 rl0 MK> saha saha UH 0 0 lo0 MK> 192.168.1 link#1 UC 1 0 rl0 MK> 192.168.1.253 0:80:ad:85:f1:14 UHLW 1 2 rl0 1200 MK> # ping www.yahoo.com MK> PING www.yahoo.akadns.net (66.218.71.83): 56 data bytes MK> 92 bytes from 192.168.1.253: Redirect Host(New addr: 195.7.164.225) MK> Vr HL TOS Len ID Flg off TTL Pro cks Src Dst MK> 4 5 00 0054 0011 0 0000 40 01 2e4f 192.168.1.116 66.218.71.83 MK> 92 bytes from 192.168.1.253: Redirect Host(New addr: 195.7.164.225) MK> Vr HL TOS Len ID Flg off TTL Pro cks Src Dst MK> 4 5 00 0054 0013 0 0000 40 01 2e4d 192.168.1.116 66.218.71.83 MK> THANK YOU FOR YOUR HELP:) MK> __________________________________________________ MK> Do You Yahoo!? MK> Yahoo! Health - Feel better, live better MK> http://health.yahoo.com MK> To Unsubscribe: send mail to majordomo@FreeBSD.org MK> with "unsubscribe freebsd-questions" in the body of the message -- Monday, July 22, 2002 4:14:36 PM Best regards, Igor Kulemzin Amursky Crystall, http://www.kristal.ru E-mail: ivk@kristal.ru Jabber: Kulemzin@myJabber.net -> FreeBSD - The BEST upgrade you can do to NT! -> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message