Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 1996 09:15:37 +0200
From:      Gunter Loos <Gul@ngonet.be>
To:        Charlie ROOT <root@andrsn.stanford.edu>
Cc:        Wes Side Story <wdorale@rs1.mtmc.edu>, Gunter.Loos@ngonet.be, questions@freebsd.org
Subject:   Re: user PPP server problem
Message-ID:  <31F87099.6C62@ngonet.be>
References:  <Pine.BSI.3.94.960725140358.2562A-100000@andrsn.stanford.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Charlie ROOT wrote:
> 
> 
> On bootup you should also see something about ipforwarding=yes.

No, you shouldn't. It depends on wether you _want_ to forward IP packets
between interfaces. I for one do not, I want to tunnel all my ppp traffic
through the proxies...

> 
> My /etc/ppp/options file (and the /etc/ppp/ppp.conf, for user ppp as
> a server) both have the line proxyarp in them.
Mine does too. options, I mean.

> 
> Then in /etc/rc.local I've got:
> 
> # put your local stuff here
> /usr/sbin/arp -s 36.33.0.75 00:20:af:be:eb:e0 pub
Huh?
Why set it static? proxyarp does work, you know.

> 
> and I have routed -q running.  This is on the machine running as the
If you want to route.

> server (my office machine).  The IP address in the above is not the
> IP address of the office machine, but the IP address that I use for
> my home machine, i.e., the client, but the ethernet card number is
> the number of the card in the server.  I think if you do this the
> IP address on the client machine and the IP address of the server
> have to be on the same network segment (if that is the proper term),
> i.e., in this case both the home and office machines are on 36.33.

> If you had another client machine with an IP address you could have
> a second arp -s statement.  (My understanding is that the arp -s
> statement causes the ethernet card to grab incoming packets addressed
> to, in this case, 36.33.0.75, and route them in accordance with the
> routing tables, but that may be incorrect.)
> 
> The alternative and perhaps more standard approach is to assign
> another IP address to the ppp interface on the server machine.
I do think it's more of a standard way of working, afaik.

Gul.
-- 
  .    .__    . |Nationaal Centrum voor OntwikkelingsSamenwerking vzw, NgoNet
 _| _  [ __   | |Voice    Gunter.Loos@+32 2 5392620       Fax   +32 2 5391343
(_](/, [_./(_|| |mailto:gul@ngonet.be "You are all weirdos."  - Sam the Eagle
----MijnEigenWoordenNietVanIemandAnders - MyOwnExpressionsNotSomeoneElses----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31F87099.6C62>