* pppd + static routes
@ 2008-03-21 4:58 Vladi Lemurov
2008-03-21 16:17 ` Charlie Brady
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Vladi Lemurov @ 2008-03-21 4:58 UTC (permalink / raw)
To: linux-ppp
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.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: pppd + static routes 2008-03-21 4:58 pppd + static routes Vladi Lemurov @ 2008-03-21 16:17 ` Charlie Brady 2008-03-21 16:34 ` Bill Unruh 2008-03-21 16:48 ` James Carlson 2 siblings, 0 replies; 4+ messages in thread From: Charlie Brady @ 2008-03-21 16:17 UTC (permalink / raw) To: linux-ppp On Fri, 21 Mar 2008, Vladi Lemurov wrote: > 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: http://ml.osdir.com/ietf.pppext/2003-05/msg00005.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pppd + static routes 2008-03-21 4:58 pppd + static routes Vladi Lemurov 2008-03-21 16:17 ` Charlie Brady @ 2008-03-21 16:34 ` Bill Unruh 2008-03-21 16:48 ` James Carlson 2 siblings, 0 replies; 4+ messages in thread From: Bill Unruh @ 2008-03-21 16:34 UTC (permalink / raw) To: linux-ppp On Fri, 21 Mar 2008, Charlie Brady wrote: > > On Fri, 21 Mar 2008, Vladi Lemurov wrote: > >> 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. > > http://ml.osdir.com/ietf.pppext/2003-05/msg00005.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pppd + static routes 2008-03-21 4:58 pppd + static routes Vladi Lemurov 2008-03-21 16:17 ` Charlie Brady 2008-03-21 16:34 ` Bill Unruh @ 2008-03-21 16:48 ` James Carlson 2 siblings, 0 replies; 4+ messages in thread From: James Carlson @ 2008-03-21 16:48 UTC (permalink / raw) To: linux-ppp Bill Unruh writes: > On Fri, 21 Mar 2008, Charlie Brady wrote: > > > > > On Fri, 21 Mar 2008, Vladi Lemurov wrote: > > > >> 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. > 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. > 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. -- James Carlson 42.703N 71.076W <carlsonj@workingcode.com> ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-03-21 16:48 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-03-21 4:58 pppd + static routes Vladi Lemurov 2008-03-21 16:17 ` Charlie Brady 2008-03-21 16:34 ` Bill Unruh 2008-03-21 16:48 ` James Carlson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox