Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 May 1997 00:12:02 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Leland Heaton <lheaton@cts.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Tutorial Question (packet routing)
Message-ID:  <3.0.1.32.19970503001202.0093ae60@sentex.net>
In-Reply-To: <3.0.1.32.19970502205629.006952a8@king.cts.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>
>Now here is my two problems.  First off, is it safe to assume that in the
>first ifconfig_ed0, the 255.255.255.0 is a default value since nothing has
>been mentioned about it?  

I would say no... I would say explicitly state the netmask....


(192.168.1.1 is the sample IP address.  Second,
>It would make sense to me that the lines:
>
><>	ifconfig_ed0="inet 192.168.1.1 netmask 255.255.255.0"
><>				&
><>	ifconfig_ed0="inet 192.168.1.1 netmask 0xffffff00"
>
>should be EXACTLY the same??  Since the are in the same section.  Can
>someone tell me which line is the correct line and netmask for my machine?

Different way of expressing the same thing...


	---Mike
**********************************************************************
Mike Tancsa  (mike@sentex.net)           * To do is to be  -- Nietzsche
Sentex Communications Corp,              * To be is to do  -- Sartre 
Cambridge, Ontario                       * Do be do be do  -- Sinatra
(http://www.sentex.net/~mdtancsa)        *



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