*BSD News Article 24790


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:7350 comp.os.386bsd.misc:1696
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!munnari.oz.au!mel.dit.csiro.au!its.csiro.au!dmssyd.syd.dms.CSIRO.AU!metro!basser.cs.su.oz.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!olivea!decwrl!decwrl!netcomsv!netcom.com!hasty
From: hasty@netcom.com (Amancio Hasty Jr)
Subject: Re: FreeBSD - please help me setup SLIP
Message-ID: <hastyCHovxK.9wG@netcom.com>
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
References: <CHEE9M.3Kn@Colorado.EDU> <CHn76t.921@interlan.Interlan.COM>
Date: Tue, 7 Dec 1993 23:58:31 GMT
Lines: 60

In article <CHn76t.921@interlan.Interlan.COM> timj@freebsd.ncm.interlan.com (Tim Jackson) writes:
>Ramzi Al-Majid (ramzi@tigger.cs.colorado.edu) wrote:
>: 	hi
>
>[cruft deleted]
>: 	
>: 	i put the following lines in my /etc/hosts file, bahrain
>: 	is my box host name and netblazer is the school's slip server
>
>: 		128.138.243.113 netblazer.cs.colorado.edu netblazer
>: 		128.138.198.27 bahrain.cs.colorado.edu bahrain
>
>[ more deleted ....]
>
>: >>>	  - Run `ifconfig inet sl0 clientname servername netmask 0xffffff00`
>
>: 		when i ran 
>: 			iconfig inet sl0 bahrain netblazer netmask 0xffffff00
>: 		i get an error saying 
>: 			!@@#$#%^&* ioctl !@#$%^&* no such interface
>
>
>I think you may have a problem with such a netmask. The two addresse you
>gave are not in the same class C subnet, but your netmask is a class c mask
>try 0xffff0000.
>

From "man ifconfig"
NAME
     ifconfig - configure network interface parameters
 
SYNOPSIS
     ifconfig interface address_family [address [dest_address]] [parameters]
     ifconfig interface [protocol_family]

-----------------------------------------------------------------------

 
	inet is not an interface nor sl0 an address family

	So besides any netmask problems you may have try

        "ifconfig sl0 inet bahrain netblazer netmask 0xffffff00"

	The bit about the man pages was cut and paste from my
	home machine via slip :-)

	**Do I get a cookie?  ***

	Have fun,
	Amancio




-- 
This message brought to you by the letters X and S and the number 3
Amancio Hasty           |  
Home: (415) 495-3046    |  ftp-site depository of all my work:
e-mail hasty@netcom.com	|  sunvis.rtpnc.epa.gov:/pub/386bsd/X