pppd + static routes
Hello!
I have pppd installed and working fine, clients are windows xp. They connect to our server and use it as default gateway. This is ok, I do need them to use this pppd server as default gateway. But in this case all their connections go through the vpn server (default gw). There is a number of networks which I want to be routed through their ISP default gw. We could solve it through .cmd file but this solution seems to be lame. Is it possible to push the routes via ppp. I've heard that MS ISA server can do this (AFAIK via DHCP). I've googled a lot but found nothing yet. Please help.
Vladi Lemuroff.
Quoted 1 line · Vladi Lemurov
lame. Is it possible to push the routes via ppp.
No. PPP's IPCP doesn't allow for that, although there was once a proposed extension:
Quoted 7 lines · Charlie Brady
Quoted 1 line · Vladi Lemurov
lame. Is it possible to push the routes via ppp.
No. PPP's IPCP doesn't allow for that, although there was once a proposed extension:
That sounds like a bad idea. PPP is Point to Point protocol. It is a means of connecting two computers together. Once they are connected then you can do whatever you want with the connection, including routing things over that connection. Overloading that negotiation with all kinds of stuff which have nothing to do with that connection seems like a bad idea. About all you can do is to make it the default routing, which for example the Linux pppd can already do, but has nothing to with the ppp negotiation. Surely each machine knows what it wants to do over that connection, and should not be told by the other end what to do.
Quoted 2 lines
Quoted 11 lines · Bill Unruh
Quoted 7 lines · Charlie Brady
Quoted 1 line · Vladi Lemurov
lame. Is it possible to push the routes via ppp.
No. PPP's IPCP doesn't allow for that, although there was once a proposed extension:
That sounds like a bad idea.
Indeed. Here's one such (dead) proposal:
https://datatracker.ietf.org/drafts/draft-kehn-info-ppp-ipcp-ext/
PPPoE itself (outside of PPP) has a mechanism for carrying routes and even URLs (!). It's also a pretty bad idea -- not that this seems to stop folks who think that since PPP can negotiate, it should just negotiate everything.
Quoted 5 lines
PPP is Point to Point protocol. It is a means
of connecting two computers together. Once they are connected then you can do whatever you want with the connection, including routing things over that connection. Overloading that negotiation with all kinds of stuff which have nothing to do with that connection seems like a bad idea.
Or you can just say "wrong layer." PPP is effectively an L2 transport. It negotiates L2-relevant things (such as MTU), and other bits are done at other layers.
Quoted 5 lines
About all
you can do is to make it the default routing, which for example the Linux pppd can already do, but has nothing to with the ppp negotiation. Surely each machine knows what it wants to do over that connection, and should not be told by the other end what to do.
Actually, you can do much more than that. Almost all IP routing protocols work fine with PPP connections -- you can use RIP, OSPF, or even BGP to transfer routes, depending on what your network architecture looks like.
IS-IS would work as well to compute IP routes, except that pppd doesn't currently have support for ISO negotiation that it needs.
The right question to ask yourself in questions of PPP negotiation is:
"what would I do if the interface were Ethernet instead?" If the answer is, "I wouldn't have this problem, because it's a different link layer" or "I'd use IEEE specification 802.{xxx}," then you might be looking at a new PPP option. If the answer is, "I'd use {DHCP, GateD/Zebra/Quagga, DNS}," then it sounds like a better answer is already available and requires no PPP changes.
Signature · 1 line
James Carlson 42.703N 71.076W <[email protected]>