ppp server: arp proxy things?
weiwuzhang at hotmail.com
Wed Feb 25 04:16:01 PST 2004
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
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
More information about the freebsd-questions