From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 04:16:01 2004 Return-Path: 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 8833116A4CE; Wed, 25 Feb 2004 04:16:01 -0800 (PST) Received: from hotmail.com (law11-f120.law11.hotmail.com [64.4.17.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C1D143D2F; Wed, 25 Feb 2004 04:16:01 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 25 Feb 2004 04:16:00 -0800 Received: from 218.85.105.104 by lw11fd.law11.hotmail.msn.com with HTTP; Wed, 25 Feb 2004 12:16:00 GMT X-Originating-IP: [218.85.105.104] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: freebsd-net@freebsd.org Date: Wed, 25 Feb 2004 20:16:00 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 25 Feb 2004 12:16:00.0950 (UTC) FILETIME=[21A47560:01C3FB99] cc: freebsd-questions@freebsd.org Subject: ppp server: arp proxy things? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 12:16:01 -0000 Hello. I think this problem really go out of my English language ability, I'm trying my best to explain it: Now I just built a bluetooth based LAN access server, that is to run several serial connection over bluetooth, so you can think they are many simple serial connection, and ppp runs over the connections through tun. The network is like this: [gateway/firewall: 10.0.0.138] --- [many hosts, 10.0.0.1 - 10.0.0.8] | | +-- [10.0.0.10 <-tun-> 10.0.0.11] -- [bc1] [bs: 10.0.0.9] -- [10.0.0.12 <-tun-> 10.0.0.13] -- [bc2] +-- [10.0.0.14 <-tun-> 10.0.0.15] -- [bc3] 10.0.0.138 is also the DHCP/DNS server. bs means bluetooth LAN access server, bc1 is a notebook computer with bluetooth, bc2 is another, and bc3 yet another. I have pppd running on bs. I'm pretty dumb with ppp, to get it working I setup three ppp lables in /etc/ppp/ppp.conf, holding the address from 10.0.0.10 to 10.0.0.15. Currently bc1, bc2, bc3 connect to bs correctly, I don't have any route/proxy to let bc to connect to other computers in the LAN, say 10.0.0.1. Now I wish to make the network really transparent, that is as if bc1, bc2, bc3 is in the LAN, to be pinged and sshed. I wish to make: * upon each ppp connection, bs ask 10.0.0.138 to assign an IP address from address pool to bc, also let 10.0.0.138 give other dhcp information like dns server, search domain etc. If bc love to register a DNS entry it should be able to do so. * When someone in LAN (say 10.0.0.5) wish to ssh to bc2, bs should be smart enough to make it happen. Is it the so-called arp proxy? * And bc2 connects (ssh or ftp) to any other hosts in the LAN as well. I hope I'm clear. Am I still far away from getting that work? Where to find guide to achieve that? Thank you! _________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com