From owner-freebsd-questions Tue Aug 6 16:25:46 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 BB6FD37B400 for ; Tue, 6 Aug 2002 16:25:44 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D853443E4A for ; Tue, 6 Aug 2002 16:25:43 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g76NPhvO089060; Wed, 7 Aug 2002 00:25:43 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g76NPcuT089052; Wed, 7 Aug 2002 00:25:38 +0100 (BST) Date: Wed, 7 Aug 2002 00:25:37 +0100 From: Matthew Seaman To: "Igor V.Ruzanov" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: please help Message-ID: <20020806232537.GB41497@happy-idiot-talk.infracaninophi> References: <004001c23d9a$8b6c8c80$224510ac@redline.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004001c23d9a$8b6c8c80$224510ac@redline.ru> User-Agent: Mutt/1.5.1i 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 On Wed, Aug 07, 2002 at 02:42:29AM +0400, Igor V.Ruzanov wrote: > I have installed FreeBSD-4.4-Release on my machine. LAN was successfully > configured (UNIX-machine is connected with another Windows-machine via > ethernet). So my UNIX-machine has two network interfaces: first - ex0 > (172.16.69.1) for ethernet card and second (ip's dynamically assigning) - > tun0 for serial device (modem). And i have a problem with second NIC: for > establishing ppp-connection with my ISP i use the ppp-implementation in > interactive mode (for now). After dialling and authorisation ppp connection > was established and prompt PPP ON my_host was appeared (3 P capital letters > of course) , so i could suppose that everything went normally. When i runned > ifconfig command i could see ip assigned to my second NIC: tun0. But there > was the problem: i couldn't open any tcp connection with remote hosts using > the protocols such as telnet, ssh, ftp and so on. I tried to ping some > remote side but it didn't work. The only address that i could ping is my > assigned ip-address. Could you please explain to me what do i have to do for > the network to work properly, why after establishing of ppp-connection with > my ISP i can't send and receive the packets on any tcp ports? Try adding the line: add default HISADDR to your /etc/ppp/ppp.conf file. This will set up a default route out over your tun0 interface that should get your packets moving in the right direction. You can examine all the traffic going through your PPP link by running: tcpdump -i tun0 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message