All of lore.kernel.org
 help / color / mirror / Atom feed
* pppd not setting netmask
@ 2004-01-30 19:05 Ross Vandegrift
  2004-02-01  1:09 ` Paul Mackerras
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ross Vandegrift @ 2004-01-30 19:05 UTC (permalink / raw)
  To: linux-ppp

Hello everyone,

	I'm using pppd with vtun to create dynamic VPNs to connect
remote networks.  I had everything almost working, but noticed a bad
problem with routing and traced it back to netmasks.

	I'm creating ppp tunnels with non-routeable networks to conserve
our IP space.  The first tunnel is using 10.100.100.0/30, with .1 being
the router at the office, and .2 being the remote router.

	My options file has "netmask 255.255.255.252" in it, but when
pppd comes up, ifconfig shows that ppp0 still has 255.255.255.255 for a
netmask.  How can I convince ppp0 to have the proper netmask?  The logs
don't have any error messages mentioning a problem setting the netmask
or anything.  Adding "debug" doesn't give me any extra information.

	This is bad because the connected route that gets installed is
for the opposite end of the tunnel (ie, 10.100.100.1/32) and not the
route for the 10.100.100.0/30.  This confuses OSPF quite a bit (see my
quagga-users thread with all the gorey OSPF details and routes:
http://lists.quagga.net/pipermail/quagga-users/2004-January/001382.html)
-- 
Ross Vandegrift
ross@willow.seitz.com

A Pope has a Water Cannon.                               It is a Water Cannon.
He fires Holy-Water from it.                        It is a Holy-Water Cannon.
He Blesses it.                                 It is a Holy Holy-Water Cannon.
He Blesses the Hell out of it.          It is a Wholly Holy Holy-Water Cannon.
He has it pierced.                It is a Holey Wholly Holy Holy-Water Cannon.
He makes it official.       It is a Canon Holey Wholly Holy Holy-Water Cannon.
Batman and Robin arrive.                                       He shoots them.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-02-03  4:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-30 19:05 pppd not setting netmask Ross Vandegrift
2004-02-01  1:09 ` Paul Mackerras
2004-02-02 20:14 ` Ross Vandegrift
2004-02-02 21:55 ` Bill Unruh
2004-02-02 22:29 ` Ross Vandegrift
2004-02-03  4:32 ` Paul Mackerras
2004-02-03  4:43 ` Paul Mackerras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.