Subject: kern/7369: pppd does not add route to local end of connection
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/13/1999 22:17:10
>Number:         7369
>Category:       kern
>Synopsis:       pppd does not add route to local end of connection
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 13 05:20:00 1999
>Originator:     Paul Goyette
| Paul Goyette      | PGP DSS Key fingerprint:   | E-mail addresses:     |
| Network Engineer  |   BCD7 5301 9513 58A6 0DBC |    |
| and kernel hacker |   91EB ADB1 A280 3B79 9221 | |
>Release:        1.3J March 6, 1999
System: NetBSD 1.3J NetBSD 1.3J (PC1) #40: Sat Mar 6 07:04:20 PST 1999 i386

	When pppd brings up a link, it does not add a route with a
	destination of the local IP address of the connection.  When
	you also specify a default route (using the remote, ISP end
	of the link as gateway address), all packets that you send to
	your own IP address actually get routed out the ppp interface!

	This occurs using the following ppp file:

		/dev/tty01 115200
		lcp-echo-failure 5
		lcp-echo-interval 10
		asyncmap 0
		mtu 1500
		mru 1500
		name pgoyetteP
		connect "/etc/ppp/ppp-connect /etc/ppp/peers/value-net-numbers /etc/ppp/peers/value-net-login /etc/ppp/ppp-dial"
		disconnect /etc/ppp/ppp-disconnect
	Workaround is to "route add" every time
	the ppp link comes up.