Article View: comp.dcom.sys.cisco
Article #76Re: Re: Multiple Subnets and Non-byte boundary netmasks
From: Jay Rosenbloom
Date: Tue, 04 Aug 1992 20:21
Date: Tue, 04 Aug 1992 20:21
22 lines
1428 bytes
1428 bytes
>I recently set up a Sun workstation on a subnetted class C network >(255.255.255.240). Routing would not work if set up manually >(route add local_eth my_interface 0, route add default my_router 1). >I had to run in.routed to get the Sun to correctly recognize the >local network (with the two route add commands above, the Sun would >send pings for its local ethernet interface to the router!). > >Robert Craig, >cisco systems Since we've begun using a nine-bit mask here (on a class B), Robert's message concerned me. So, I tried moving one of our Suns to a stub LAN of our subnetted network. In order to get the default route inserted automatically upon booting, I had to create a file named /etc/defaultrouter containing the ip address of a default gateway (if this file exists, rc.local adds a static default; otherwise it starts routed). Since I wasn't running NIS, I also had to add the mask to /etc/netmask. Upon rebooting it came up just fine with it's local network and the default gateway in its routing table. The Sun was running SunOS 4.1.2. -Jay
Technical Details
Message-ID:
<9208042021.AA00449@guernsey.macc.wisc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!boulder!recnewsShow Full Headers
Complete Article Headers
Newsgroups: comp.dcom.sys.cisco Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!boulder!recnews From: Jay Rosenbloom <jrosen@guernsey.macc.wisc.edu> Subject: Re: Re: Multiple Subnets and Non-byte boundary netmasks Message-ID: <9208042021.AA00449@guernsey.macc.wisc.edu> Sender: news@colorado.edu Date: 4 Aug 92 15:21:51 CDT Lines: 25