From owner-freebsd-questions Thu May 21 06:13:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA04900 for freebsd-questions-outgoing; Thu, 21 May 1998 06:13:58 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.3pstudio.net (mail.3pstudio.com.tw [210.66.235.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA04884 for ; Thu, 21 May 1998 06:13:50 -0700 (PDT) (envelope-from styih@mail.3pstudio.net) Received: from mail.3pstudio.net (dns.3pstudio.com.tw [210.66.235.8]) by mail.3pstudio.net (8.8.5/8.8.5) with ESMTP id VAA25930; Thu, 21 May 1998 21:12:52 +0800 (CST) Message-ID: <3564292A.3276CDA9@mail.3pstudio.net> Date: Thu, 21 May 1998 21:16:27 +0800 From: styih Organization: 3P Studio X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Brian Somers CC: freebsd-questions@FreeBSD.ORG Subject: Re: [Help]:Problems with PPP dialin Server with mgetty ... References: <199805210135.CAA12059@awfulhak.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Don't specify a default route in /etc/rc.conf. > > > -- > > > Brian , , > > > > > I tried it , > > Now I can use ppp to access my company's LAN ,all 210.66.235.* > > but I can't get connection to outside , such as http://www.freebsd.org or > > http://www.Awfulhak.org > > When I use MS-DOS windows to "ping www.freebsd.org" ...it failed.... > > > > And then I tried to use "ping" on my ppp server > > the answer is "no route to host" > > > > What should I do ??? > > Don't add a default route to your company... > > Sounds like you want your previous default route in /etc/rc.conf and > a ``add 210.66.235.0 255.255.255.0 hisaddr'' in ppp.linkup. > > -- > Brian , , > > Don't _EVER_ lose your sense of humour.... What does "Don't add a default route to your company..." mean?? If I don't specify a defaultroute in /etc/rc.conf , I can use ppp to connect to my company's LAN. But my purpose is not only to connect to my company's LAN, but also to connect to Internet through my company's LAN. I tried to remain my previous defaultroute in /etc/rc.conf : 210.66.235.254 and in my /etc/ppp.linkup , I wrote "MYADDR: delete ALL add 210.66.235.0 255.255.255.0 hisaddr" but still didn't work. the console showed "tun0:Warning: Add route failed: 210.66.235.0 already exists." and >netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 210.66.235.254 UGSc 0 2 de0 127.0.0.1 127.0.0.1 UH 0 0 lo0 210.66.235 link#1 UC 0 0 210.66.235.8 0:40:5:39:9b:27 UHLW 0 7 de0 1175 210.66.235.121 210.66.235.120 UH 0 3 tun0 210.66.235.121 0:80:c8:66:24:5c UHLS2 0 0 de0 210.66.235.254 8:0:2:1b:1c:1c UHLW 1 0 de0 354 Please tell me what I should do. Thank you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message