Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 16:17:44 +1000
From:      Igor Kulemzin <ivk@kristal.ru>
To:        Malory Knox <knoxwallet@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re:
Message-ID:  <1652819384.20020722161744@kristal.ru>
In-Reply-To: <20020722060224.80225.qmail@web21207.mail.yahoo.com>
References:  <20020722060224.80225.qmail@web21207.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
MK>         status: active
MK> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
MK>         status: active
MK> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
MK>         inet 127.0.0.1 netmask 0xff000000
MK> tun0: flags=8011<UP,POINTOPOINT,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1652819384.20020722161744>