Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: honman%lccr.sfu.cdn@relay.ubc.ca (Hon-Man Wong) Newsgroups: comp.sys.sun Subject: routing between subnets? Message-ID: <189*honman@lccr.sfu.cdn> Date: 19 Feb 89 05:09:22 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 25 Approved: Sun-Spots@rice.edu Original-Date: 3 Feb 89 17:44 -0800 X-Sun-Spots-Digest: Volume 7, Issue 161, message 4 of 16 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@relay.ubc.ca UUCP: ..\!ubc-cs\!fornax\!honman