[comp.unix.questions] Subnetting on a 3B2

RSPELLMAN@bat.bates.edu (08/22/89)

Can anybody help me setup subnetting on a 3B2 running Wollongong's
Enhanced TCP/IP WIN/3B software?  I haven't found anywhere to
specify the number of bits I want to use for a subnet.  We have
a class B ip number, and want to use eight extra bits for subnetting.

Some of the hardware we are running is forcing us to subnet, so not
subnetting is not a valid option.

Thanks!

Rob Spellman
RSpellman@Bat.Bates.edu
Computing Center
Bates College
Lewiston, Maine

gaggy@jolnet.ORPK.IL.US (Gregory Gulik) (08/23/89)

In article <20669@adm.BRL.MIL> RSPELLMAN@bat.bates.edu writes:
>
>Can anybody help me setup subnetting on a 3B2 running Wollongong's
>Enhanced TCP/IP WIN/3B software?  I haven't found anywhere to
>specify the number of bits I want to use for a subnet.  We have
>a class B ip number, and want to use eight extra bits for subnetting.
>
>Some of the hardware we are running is forcing us to subnet, so not
>subnetting is not a valid option.
>
>Thanks!
>
>Rob Spellman
>RSpellman@Bat.Bates.edu
>Computing Center
>Bates College
>Lewiston, Maine

Sure, if you're running a fairly recent version, use the ifconfig
command with the bitmask option.

For example, to specify a 4 bit class A subnet address, do
something like this:

ifconfig en0 bitmask 0xFF8000


...or something like that, I don't have my manual handy.

Hope that gets you started.

-greg


-- 
Gregory Gulik	Phone:	(312) 825-2435
	E-Mail: ...!jolnet!gaggy || ...!chinet!gag
		|| gulik@depaul.edu || gulik@iwlcs.att.com
		|| variations thereof.

jackv@turnkey.gryphon.COM (Jack F. Vogel) (08/23/89)

In article <20669@adm.BRL.MIL> RSPELLMAN@bat.bates.edu writes:
>
>Can anybody help me setup subnetting on a 3B2 running Wollongong's
>Enhanced TCP/IP WIN/3B software?  I haven't found anywhere to
>specify the number of bits I want to use for a subnet.  We have
>a class B ip number, and want to use eight extra bits for subnetting.
 
Unless there is something peculiar about Wollongong, and I doubt it, one
sets up a subnet using the ifconfig command, it should be of the form:

	ifconfig interface IP-address netmask 0xffffff00
                                      ^^^^^^^^^^^^^^^^^^

The netmask is what determines the class of the subnet, also remember that
all the hosts you want on your subnet better be set up similarly.

-- 
Jack F. Vogel			jackv@seas.ucla.edu
AIX Technical Support	              - or -
Locus Computing Corp.		jackv@ifs.umich.edu

jkg@gatech.edu (Jim Greenlee) (08/31/89)

In article <6354@turnkey.gryphonTCC.COM> jackv@turnkey.gryphon.COM writes:
>Unless there is something peculiar about Wollongong, and I doubt it, one
>sets up a subnet using the ifconfig command, it should be of the form:
>
>	ifconfig interface IP-address netmask 0xffffff00
>                                      ^^^^^^^^^^^^^^^^^^
>
>The netmask is what determines the class of the subnet, also remember that
>all the hosts you want on your subnet better be set up similarly.

[ Cross-posted to comp.sys.att and u3b.tech - followups directed to 
  those groups only, since this is probably getting too 3B2-specific ]

The version of "ifconfig" that came with our WIN TCP/IP (version 1.0) does
not offer "netmask" as a valid option. Do more recent versions support it?
Is the lack of a netmask option a hardware or software limitation? Will an
upgrade of the WIN TCP/IP help?

I just recently became interested in this stuff, so I'm looking for answers
rather than supplying them. Our department is moving to a new building in a
couple of weeks (where we will have to use sub-nets), so I have suddenly
developed a rather pressing need to solve this problem. Any help would be
appreciated.

						Jim Greenlee
-- 
Jim Greenlee - Instructor, School of ICS, Georgia Tech     jkg@gatech.edu

Jryy, abj lbh'ir tbar naq qbar vg! Whfg unq gb xrrc svqqyvat jvgu vg
hagvy lbh oebxr vg, qvqa'g lbh?!