Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2001 10:29:35 +0200
From:      "Patrick O'Reilly" <patrick@mip.co.za>
To:        "David Loszewski" <stealth215@mediaone.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: subnetmask
Message-ID:  <NDBBIMKICMDGDMNOOCAICEICDMAA.patrick@mip.co.za>
In-Reply-To: <000201c16039$1b8ecbb0$3000a8c0@sickness>

next in thread | previous in thread | raw e-mail | index | archive | help
To explain - it's using HEX notation (base 16) - so 'fc' is 252.

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of David Loszewski
> Sent: 29 October 2001 07:18
> To: 'David Powers'; freebsd-questions@FreeBSD.ORG
> Subject: RE: subnetmask
> 
> 
> Just what I was looking for, how bout fc, what is that?
> 
> Dave
> 
> -----Original Message-----
> From: David Powers [mailto:dnpowers@swbell.net] 
> Sent: Saturday, October 27, 2001 11:28 PM
> To: 'David Loszewski'; freebsd-questions@freebsd.org
> Subject: RE: subnetmask
> 
> ff=255 and 00=0, so to translate ffffff00=255.255.255.0
> 
> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of David Loszewski
> Sent: Saturday, October 27, 2001 6:06 PM
> To: freebsd-questions@freebsd.org
> Subject: RE: subnetmask
> 
> 
> Shouldn't the netmask be like 255.255.x.x though?
> 
> Dave
> 
> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of ravi pina
> Sent: Saturday, October 27, 2001 6:24 PM
> To: David Loszewski
> Cc: freebsd-questions@FreeBSD.ORG
> Subject: Re: subnetmask
> 
> On Sat, Oct 27, 2001 at 06:17:50PM -0400, David Loszewski said at one
> point in time:
> > I know by doing netstat -r I can find out a lot of useful info, but
> how
> > would I find out what my subnet is for my external Ethernet?
> 
> ravi@happy:[ttypg][6:22pm](2):103:~> ifconfig
> xl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         inet 198.88.20.7 netmask 0xffffff00 broadcast 198.88.20.255
> [...]
> 
> the netmask will tell you that.
> 
> -r
> 
> -- 
> echo "send pgp key" | mail ravi@cow.org
> "i need to go watch a shitloaf of movies i rented today."
>                 -- Kris Wehner
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBIMKICMDGDMNOOCAICEICDMAA.patrick>