Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2004 20:16:00 +0800
From:      "Zhang Weiwu" <weiwuzhang@hotmail.com>
To:        freebsd-net@freebsd.org
Cc:        freebsd-questions@freebsd.org
Subject:   ppp server: arp proxy things?
Message-ID:  <LAW11-F120hiHaeldiB00019ead@hotmail.com>

next in thread | raw e-mail | index | archive | help

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  



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