routing between subnets?

Hon-Man Wong honman%lccr.sfu.cdn at relay.ubc.ca
Sun Feb 19 15:09:22 AEST 1989


We have a class B internet address and want to use 10 bits for subnets and
6 bits for host addresses (for reason too complicated to explain here).
We set our subnet mask to 0xffffffc0 under SUN-OS4.0.  However, when we
added the route using e.g

	/usr/etc/route add 128.189.62.64 128.189.62.2 1

the routing table indicated that the route is to the specific host rather
than to the subnet.  Host 128.189.62.2 can't send to host 128.189.62.65,
which I thought is on the same subnet as 128.189.62.64.  Am I doing
something wrong?

BTW, is it possible, under SUN-OS4.0, to have different subnet masks on 2
different ethernet interfaces on the same host?  I.e. Can I use 0xffff0000
on ie0 and 0xffffffc0 on ie1?

Hon-Man Wong
School of Computing Science
Simon Fraser University
Burnaby, B.C.
Canada V5A 1S6

Email:
  CDNnet: honman%lccr.sfu.cdn at relay.ubc.ca
  UUCP: ..\!ubc-cs\!fornax\!honman



More information about the Comp.sys.sun mailing list