***** Question about routing with PPP *****

***** Question about routing with PPP *****

Post by Joop Stakenbo » Tue, 16 Jan 1996 04:00:00



Hi, thanks for reading.

I am trying to setup a PPP link between 2 linux boxes. The connection works
fine, but something seems to be wrong with the routing.

The remote side has address xx.xxx.xx.xxx.

The server has address yyy.yy.yyy.yyy. They are not in the same domain.
The server has proxyarp enabled with pppd.
I compiled the server's kernel with IP forwarding and gatewaying. Version
1.3.50 with ppp 2.2.0.c.
I even tried a 'arp -s xx.xxx.xx.xxx 00:00:E8:07:E3:E0 pub'.

I can ping from xx.xxx.xx.xxx to yyy.yy.yyy.yyy, but not onto the
network.
What am I doing wrong here?
The server says, after the ppp connect:
CANNOT DETERMINE ETHERNET ADDRESS FOR PROXY ARP

Any ideas?

joop stakenborg

 
 
 

1. Questions about routing with PPP and subnetting

I have half a class C to play with, and I need to use ONE host on this
network as a dialin PPP gateway with as much as 8 analog modems.

The 1/2 class C, as well as the remotes will have to access the
Internet.

Do the remote_via_PPP hosts HAVE to be on a different subnet (carved
from the 1/2 class C address I have)?

* * * hypothesis #1

Right now, I have this:

Network address: aaa.bbb.ccc.128
        Netmask: 255.255.255.128

Should I subnet the whole shebang like this:

LOCALNET
Network address: aaa.bbb.ccc.128
        Netmask: 255.255.255.192

REMOTENET
Network address: aaa.bbb.ccc.192
        Netmask: 255.255.255.192

meaning that I should put all my hosts on the first half of my address
block (from 129 to 190, excluding the net and broadcast addresses) with
a netmask of aaa.bbb.ccc.192 ?

* * * hypothesis #2

But I don't want to waste so many addresses, so a best way would be to
instead use a smaller subnet as a remote network, say like:

REMOTENET
Network address: aaa.bbb.ccc.240
        Netmask: 255.255.255.240

and make three other subnets at aaa.bbb.ccc.192, 208 and 224?

* * * In any cases,

in the pppd connect command parameters to initiate the PPP connection,
should I avoid specify any IP addresses for the PPP links?

If not, which address should I use? Do they have to fit within my
current C address block (if they do, do they have to have their own
subnet mask?), or they can be picked out of thin air (meaning they could
very well impinge on currently used addresses somewhere else in the
world)?

--------------- Pour la Republique Francaise du Quebec -------------------
           In the French version of "2001: A Space Odyssey",
                the last word uttered by HAL is "GOD"...
~~ Last dive: the SCUBA olympic pool, 15 mfw (yes, fifteen meters deep) ~~
 Marc Dufour - [\] ACUC6 31874 - TDI CD-0197 - http://www.accent.net/emdx

2. linking two device files

3. Hard Drive Access will using PPP & PPP routing questions

4. C programming BOOKS

5. Setting up PPP routing with no routing (Huh?)

6. Work From Home Opportunity

7. routing tabels loosing default route using PPP

8. /var/cron/log

9. PPP Static Routes won't route to eth0

10. 2 x ppp and 1 x eth routing question

11. PPP/SLIP routing question

12. ppp demand/route question

13. routing question: two ppp connections?