Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 1996 01:06:00 +0200 (MET DST)
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        freebsd-current@FreeBSD.ORG (FreeBSD Current Users' list)
Cc:        freebsd-bugs@FreeBSD.ORG (FreeBSD Bugs' list)
Subject:   IIJ PPP and subnetting
Message-ID:  <199604212306.BAA01087@keltia.freenix.fr>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 193.56.58.65 netmask 0xfffffff0 broadcast 193.56.58.79
        ether 00:00:c0:7c:66:48 
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> 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<UP,POINTOPOINT,RUNNING,MULTICAST> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604212306.BAA01087>