From owner-freebsd-net@FreeBSD.ORG Thu Feb 26 01:33:17 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 930C316A4CE for ; Thu, 26 Feb 2004 01:33:17 -0800 (PST) Received: from webmail.emre.de (webmail.emre.de [194.8.203.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4771343D1F for ; Thu, 26 Feb 2004 01:33:16 -0800 (PST) (envelope-from info@emre.de) Received: by webmail.emre.de (Postfix, from userid 80) id C725C3A23E; Thu, 26 Feb 2004 10:33:13 +0100 (CET) Received: from sys-125.netcologne.de (sys-125.netcologne.de [194.8.193.125]) by webmail.emre.de (Horde) with HTTP for ; Thu, 26 Feb 2004 10:33:12 +0100 Message-ID: <1077787992.8b42fbc6cab56@webmail.emre.de> Date: Thu, 26 Feb 2004 10:33:12 +0100 From: Emre Bastuz To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) 4.0-cvs Subject: unable to set ip address during/after PPP? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 09:33:17 -0000 Hi, I=B4m trying to run a 4.X box with multiple PPPoE connections (_not_ as a PP= P bundle or something like that). Only about 5 connections come up, all further connections fail with the error message: Warning: iface add: ioctl(SIOCAIFADDR, x.x.x.x -> y.y.y.y): File exists Error: ipcp_InterfaceUp: unable to set ip address I know that this _used_ to work so I=B4m really wondering what goes wrong. Here=B4s the relevant parts of ppp.conf: test3: set log Phase Chat LCP IPCP CCP tun command set device PPPoE:vlan3: set phone 1234 set authname test3@something set authkey my_pw set mru 1492 set mtu 1492 set timeout 0 set speed sync set dial enable dns set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 add 195.24.114.101/32 HISADDR test4: set log Phase Chat LCP IPCP CCP tun command set device PPPoE:vlan4: set phone 1234 set authname test4@something set authkey my_pw set mru 1492 set mtu 1492 set timeout 0 set speed sync set dial enable dns set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 add 195.24.114.102/32 HISADDR test5: set log Phase Chat LCP IPCP CCP tun command set device PPPoE:vlan5: set phone 1234 set authname test5@something set authkey my_pw set mru 1492 set mtu 1492 set timeout 0 set speed sync set dial enable dns set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 add 195.24.114.103/32 HISADDR [etc] Some explanation: basically the box is connected to about 12 DSL modems. I want to have traffi= c through all of them and do some statistical analysis. In order to send data through all those particular modems I need to set one default route and multiple host routes to the gateway HISADDR - in case you are wondering abou= t the routing line. Some more details from the ppp.log: Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: SendConfigReq(38) s= tate =3D Req-Sent Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: IPADDR[6] 0.0.0.0 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: PRIDNS[6] 213.168.112.60 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: SECDNS[6] 194.8.194.60 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: RecvConfigReq(46) s= tate =3D Req-Sent Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: IPADDR[6] 195.14.247.94 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: SendConfigAck(46) s= tate =3D Req-Sent Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: IPADDR[6] 195.14.247.94 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: State change Req-Se= nt --> Ack-Sent Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: RecvConfigNak(38) s= tate =3D Ack-Sent Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: IPADDR[6] 81.173.153.228 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: IPADDR[6] changing address: 0.0.0.0 --> 81.173.153.228 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: SendConfigReq(39) s= tate =3D Ack-Sent Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: IPADDR[6] 81.173.153.228 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: PRIDNS[6] 213.168.112.60 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: SECDNS[6] 194.8.194.60 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: RecvConfigAck(39) s= tate =3D Ack-Sent Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: IPADDR[6] 81.173.153.228 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: PRIDNS[6] 213.168.112.60 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: SECDNS[6] 194.8.194.60 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: State change Ack-Se= nt --> Opened Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: LayerUp. Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: myaddr 81.173.153.228 hisadd= r =3D 195.14.247.94 Feb 26 10:25:50 localhost ppp[305]: tun6: Warning: iface add: ioctl(SIOCAIFA= DDR, 81.173.153.228 -> 195.14.247.94): File exists Feb 26 10:25:50 localhost ppp[305]: tun6: Error: ipcp_InterfaceUp: unable to= set ip address Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: LayerDown: 81.173.153.228 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: Using trigger address 0.0.0.= 0 Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: SendTerminateReq(40= ) state =3D Opened Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: State change Opened= --> Closing Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: RecvTerminateAck(40= ) state =3D Closing Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: deflink: LayerFinish. Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: Connect time: 0 secs: 0 octe= ts in, 0 octets out Feb 26 10:25:50 localhost ppp[305]: tun6: IPCP: 0 packets in, 0 packets out Everything seems to work fine in PPP but when it comes to assignin the negotiated IP adress to a tun interface something seems to go wrong. I=B4m really lost here ... anyone have an idea? Thanks, Emre -- http://www.emre.de UIN: 561260 PGP Key ID: 0xAFAC77FD I don't see why some people even HAVE cars. -- Calvin ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.