Re: Routing of a class-c network

patrick@value.net
Mon, 9 Sep 1996 09:02:18 -0700 (PDT)

On Mon, 9 Sep 1996, Volker Klau wrote:

> Hi,
>
> we need to route a class-c network through a Portmaster 2e serial port :

*SNIP*

> Portmaster> add route 172.16.1.0 172.16.1.1 1
> New route entry successfully added
> Portmaster> show routes
> Destination Gateway Flag Met Interface
> --------------------- -------------------- ---- --- ---------
> [...]
> 172.16.1.0 172.16.1.1 HS 1 ptp31 <======= ????
> 172.16.1.1 172.16.1.1 HL 1 ptp31
> [...]
> Portmaster>
>
> The portmaster always shows a hostroute! to the network 172.16.1.0
> and a traceroute to 172.16.1.2 ends at the portmaster.
>
> A routingentry like
> add route 172.16.0.0 172.16.1.1 1 works fine.
>
> Any ideas ???

You are using reserved RCF1597 Class B address space. You need to tell
the portmaster you want it to look at the address as a Class C:

add netmask 172.16.1.0 255.255.255.0

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Patrick Greenwell (510) 943-5769 voice
Systems Administrator (510) 210-2000 modem
Value Net, Inc. (510) 943-1708 fax
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/