Subnets and SunOS 4.0

Steven D. Miller steve at grinch.umiacs.umd.edu
Thu Mar 2 16:50:08 AEST 1989


Sometimes, one must force a route to be interpreted as a route to a
network rather than a route to a host.  This is one of those times.  You
might try either:

	route -n add 128.189.62.64 128.189.62.2 1

or

	route add net 128.189.62.64 128.189.62.2 1

I am not certain which syntax SunOS 4.0 uses.

Also, the 4.0 docs say that one can have different subnet masks on
different interfaces, so long as those interfaces are on different IP
networks.  One cannot currently have varying-width subnet masks within a
single IP network.  For example:

	ie0) net 128.8, subnet mask 0xffffff00
	ie1) net 129.6, subnet mask 0xffff8000

is OK, while

	ie0) net 128.8, subnet mask 0xffffff00
	ie1) net 128.8, subnet mask 0xfffffff0

is not.  For that, you'll have to wait for the Berkeley routing code
rework...

	-Steve

Spoken: Steve Miller    Domain: steve at mimsy.umd.edu    UUCP: uunet!mimsy!steve
Phone: +1-301-454-1808  USPS: UMIACS, Univ. of Maryland, College Park, MD 20742



More information about the Comp.sys.sun mailing list