Subject: kern/7369: pppd does not add route to local end of connection
To: None <gnats-bugs@gnats.netbsd.org>
From: None <paul@whooppee.com>
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
>Last-Modified:
>Originator:     Paul Goyette
>Organization:
--------------------------------------------------------------------------
| Paul Goyette      | PGP DSS Key fingerprint:   | E-mail addresses:     |
| Network Engineer  |   BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com    |
| and kernel hacker |   91EB ADB1 A280 3B79 9221 |  pgoyette@juniper.net |
--------------------------------------------------------------------------
>Release:        1.3J March 6, 1999
>Environment:
System: NetBSD pc1.whooppee.com 1.3J NetBSD 1.3J (PC1) #40: Sat Mar 6 07:04:20 PST 1999 paul@pc1.whooppee.com:/home/paul/src/sys/arch/i386/compile/PC1 i386

>Description:
	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!


>How-To-Repeat:
	This occurs using the following ppp file:

		/dev/tty01 115200
		205.162.63.134:204.188.125.1
		netmask 255.255.255.255
		persist
		ipcp-accept-remote
		crtscts
		modem
		lcp-echo-failure 5
		lcp-echo-interval 10
		defaultroute
		lock
		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
>Fix:
	Unknown.
	Workaround is to "route add 205.162.63.134 127.0.0.1" every time
	the ppp link comes up.
>Audit-Trail:
>Unformatted: