go to the Internet by through a plip link?

Franz Klaus klaus_franz at hotmail.com
Fri Jul 2 09:31:07 PDT 2004


Hello. I have an old notebook computer (hostname:oldbook) connected to 
another host (hostname:proxy) by through plip link. This link works fine. 

oldbook:plip0:192.168.0.11->192.168.0.10
proxy:plip0:192.168.0.10->192.168.0.11

there is a NIC on the proxy host:
proxy:ed1:192.168.0.250/255.255.255.0 default gateway: 192.168.0.1

now IMHO I have two ways to let oldbook host surf the Internet. I can setup 
natd and do address translation, the oldbook will be set a different subnet 
(say, 10.0.0.0/255.255.255.0). Or, I can use proxy arp, the ed1 repersent 
192.168.0.11, and pass all the packets to oldbook by through plip link.

The first method is mentioned in handbook, it require me rebuild kernel 
with DIVERT and IPFIREWALL and the oldbook become behind firewall, which I 
do not want. 

The second method sounds best to me. I didn't find how to do it on 
handbook. I tried to run on proxy host:
#arp -s 192.168.0.11 <ed1's mac address> pub
but that doesn't work. Any hint how can I do proxy arp? I heard of a port 
'choparp'. Do I need to install that port to have it work?

Thank you.

_________________________________________________________________
ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£  http://www.hotmail.com  



More information about the freebsd-net mailing list