From owner-freebsd-bugs Sun Apr 21 16:17:57 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA15250 for bugs-outgoing; Sun, 21 Apr 1996 16:17:57 -0700 (PDT) Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id QAA15230 Sun, 21 Apr 1996 16:17:52 -0700 (PDT) Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id BAA03521 ; Mon, 22 Apr 1996 01:17:44 +0200 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id BAA08548 ; Mon, 22 Apr 1996 01:17:43 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.7.5/keltia-uucp-2.7) id BAA01087; Mon, 22 Apr 1996 01:06:00 +0200 (MET DST) From: Ollivier Robert Message-Id: <199604212306.BAA01087@keltia.freenix.fr> Subject: IIJ PPP and subnetting To: freebsd-current@FreeBSD.ORG (FreeBSD Current Users' list) Date: Mon, 22 Apr 1996 01:06:00 +0200 (MET DST) Cc: freebsd-bugs@FreeBSD.ORG (FreeBSD Bugs' list) X-Operating-System: FreeBSD 2.2-CURRENT ctm#1889 X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, My machine is on a /28 subnet in the range of 193.56.58.65-78. I have a PPP address of 193.56.58.46 (in another subnet) pointing to a machine on the side with a 193.56.58.33 address. Giving: ed0: flags=8843 mtu 1500 inet 193.56.58.65 netmask 0xfffffff0 broadcast 193.56.58.79 ether 00:00:c0:7c:66:48 tun0: flags=8051 mtu 1500 inet 193.56.58.46 --> 193.56.58.33 netmask 0xfffffff0 and: 242 [19:31] root@keltia:~# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 193.56.58.33 UGc 0 0 tun0 127.0.0.1 127.0.0.1 UH 0 0 lo0 193.56.58.33 193.56.58.46 UH 1 14 tun0 193.56.58.64/28 link#1 UC 0 0 224/4 link#1 UCS 0 0 When using IIJPPP, routing doesn't work at all: 258 [19:31] root@keltia:~# ping 193.56.58.33 PING 193.56.58.33 (193.56.58.33): 56 data bytes ^C --- 193.56.58.33 ping statistics --- 15 packets transmitted, 0 packets received, 100% packet loss It seems unable to cope with a subnetted network even if I define my address in ppp.conf, I can't even ping its own interface 193.56.58.46: 250 [19:32] root@keltia:~# ping 193.56.58.46 PING 193.56.58.46 (193.56.58.46): 56 data bytes ping: sendto: No route to host ping: wrote 193.56.58.46 64 chars, ret=-1 ping: sendto: No route to host /etc/ppp/ppp.conf ------------------------------------------------------------ brasil: set timeout 0 set phone XXXXXXXX set ifaddr 193.56.58.46 193.56.58.33 255.255.255.240 login ... add 0 0 HISADDR ------------------------------------------------------------ Kernel PPP works fine with the same setup: ppp0: flags=8051 mtu 1500 inet 193.56.58.46 --> 193.56.58.33 netmask 0xfffffff0 282 [19:44] root@keltia:~# ping 193.56.58.33 PING 193.56.58.33 (193.56.58.33): 56 data bytes 64 bytes from 193.56.58.33: icmp_seq=0 ttl=63 time=177.546 ms 64 bytes from 193.56.58.33: icmp_seq=1 ttl=63 time=169.326 ms Is this a bug in IIJ PPP ? -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #12: Sun Apr 14 16:01:04 MET DST 1996