routing of subnet problem

Krzysztof Adamski (kadamski@bob.netsurf.net)
Fri, 21 Jun 1996 19:04:48 -0400 (EDT)

I got a dialup customer over ISDN that has a small LAN.
I gave him /28 for this. This is from a /24 that is only for giving it to
this type of customers, he is the first one. The portmaster is on a
differnet /24. I have routed full /24 to other customers without any
problems using the radius method, both with static and dynamic IPs.

On his end there is a P50 configured (by me) with 206.186.238.17 as
its address. Its set for routing.
The radius entry is like this:

xisdn Password = "UNIX"
User-Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IP-Address = 206.186.238.17,
Framed-IP-Netmask = 255.255.255.240,
Framed-Routing = Listen,
Framed-Compression = Van-Jacobsen-TCP-IP,
Framed-MTU = 1500,
Framed-Route = "206.186.238.16 206.186.238.17 1"

>From the portmaster that he connects to I can go to .17 but nothing else.
I have added a netmask to the netmask table:
green> sh tab netma
Active Netmasks:
Network Netmask Type
---------------- ---------------- -------
206.186.239.16 255.255.255.240 Static
Stored Netmasks:
Network Netmask
---------------- ----------------
206.186.239.16 255.255.255.240

This didn't make any difference.

The only way I got this to work was by adding static route for each IP on
the subnet or adding this to his radius entry:
Framed-Route = "206.186.238.16 206.186.238.17 1",
Framed-Route = "206.186.238.18 206.186.238.17 1",
Framed-Route = "206.186.238.19 206.186.238.17 1",
Framed-Route = "206.186.238.20 206.186.238.17 1",

What am I doing wrong, I don't like the idea of adding 13 routing lines
to the user entry.

The portmaster is 2ER with one BRI card:
green> ver
Livingston Enterprises PortMaster Version 3.3.2b4
System uptime is 6 days 6 hours 41 minutes
green> sh mem
System memory 4194304 bytes - 966992 used, 3227312 available
192:1 2832:2 112:0 288:1 176:1 2048:3 64:1 1152:1 640:1 80:9 96:1 272:4
144:3 16:87 128:9 160:3 208:1 32:24
System nbufs 1400 - 363 used, 1037 available

Thanks

Krzysztof - NetSurf