Gentoo Archives: gentoo-dev

From: "Sven Köhler" <skoehler@×××.de>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: How default route should be set by pppd
Date: Sat, 30 Sep 2006 19:54:03
Message-Id: efmhog$r6p$1@sea.gmane.org
In Reply to: [gentoo-dev] How default route should be set by pppd by Alin Nastac
1 > I discovered that ppp-2.4.4 set a default route without a gateway. It is
2 > totally fine from IP routing point of view (the simple fact that route
3 > is through the point-to-point link is enough to know the next hop),
4 > except that openswan's %defaultroute need a default gateway in order to
5 > work.
6 >
7 > I'm about to apply a patch that would reverse to the old way of setting
8 > the default route.
9 > Any objections?
10
11 Why not? Such routes work perfectly here.
12
13 I also use them for my PPTP tunnel:
14
15 route add -net 1.2.3.4/24 dev ppp1
16
17 Works perfectly! I think it simply means: take all IP-packets with
18 destination 1.2.3.4/24 and send them out through interface ppp1.
19
20 We know such routes from local network-interfaces.
21
22
23 Actually, i also always thought, that i must specify a gateway. But it
24 seems, i was wrong.

Attachments

File name MIME type
signature.asc application/pgp-signature