Correct IP Numbers?

Correct IP Numbers?

Post by Anand Krishna Thak » Sat, 07 Sep 1996 04:00:00



What are the correct IP numbers for a "normal" network in Redhat's network
setup?  My IP number is 129.81.212.1.   Would the "network" be 129.81.0.0
or 129.81.212.0?  Also, is the "broadcast" 129.81.212.255?  When I
initially set up Redhat, it set up these numbers for me, but now I'm
changing to network setup to fit my college's setup, and unfortunately
Redhat lacks Slackware's "netconfig" script... :(

Thanks,
Anand

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

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

 
 
 

Correct IP Numbers?

Post by Greg Mut » Mon, 09 Sep 1996 04:00:00




: What are the correct IP numbers for a "normal" network in Redhat's
network
: setup?  My IP number is 129.81.212.1.   Would the "network" be
129.81.0.0
: or 129.81.212.0?  Also, is the "broadcast" 129.81.212.255?  When I

Anand,

Your network and broadcast addresses depend on the subnet mask you
are using.  If your subnet mask is 255.255.0.0 (unlikely), then your
network address is 129.81.0.0 and your broadcast address is
129.81.255.255.  If your subnet mask is 255.255.255.0 (more likely),
then your netowrk address is 129.81.212.0 and your broadcast address
is 129.81.212.255.

These addresses are dervied as follows.  To determine your network
address, do a bit-wise AND of your IP address with your subnet mask.
To determine your broadcast address, invert your subnet mask, then do
a bit-wise OR of your IP address and the inverted mask.

--
Greg Muth


 
 
 

Correct IP Numbers?

Post by W. Mark Hagl » Mon, 09 Sep 1996 04:00:00



: What are the correct IP numbers for a "normal" network in Redhat's network
: setup?  My IP number is 129.81.212.1.   Would the "network" be 129.81.0.0
: or 129.81.212.0?  Also, is the "broadcast" 129.81.212.255?  When I
: initially set up Redhat, it set up these numbers for me, but now I'm
: changing to network setup to fit my college's setup, and unfortunately
: Redhat lacks Slackware's "netconfig" script... :(

The Network address would be 129.81.212.0, and the broadcast is right.  

Also don't forget to set up the new gateway address, and set up the new
nameservers in /etc/resolv.conf.

--
-----BEGIN GEEK CODE BLOCK-----  W. Mark Hagler
GCS/E d- s: a--- C++ ULI*+++>$ P+ L++++>$ E--- W+++ N+ o++ K-
w--- O---- M+ V- PS+ PE- Y-- PGP>++ t-- 5 X- R- tv++ b+ DI++++
D G++ e>+++ h r+ y+

 
 
 

Correct IP Numbers?

Post by Guy Lamber » Fri, 13 Sep 1996 04:00:00




> : What are the correct IP numbers for a "normal" network in Redhat's network
> : setup?  My IP number is 129.81.212.1.   Would the "network" be 129.81.0.0
> : or 129.81.212.0?  Also, is the "broadcast" 129.81.212.255?  When I
> : initially set up Redhat, it set up these numbers for me, but now I'm
> : changing to network setup to fit my college's setup, and unfortunately
> : Redhat lacks Slackware's "netconfig" script... :(

> The Network address would be 129.81.212.0, and the broadcast is right.

> Also don't forget to set up the new gateway address, and set up the new
> nameservers in /etc/resolv.conf.

> --
> -----BEGIN GEEK CODE BLOCK-----  W. Mark Hagler
> GCS/E d- s: a--- C++ ULI*+++>$ P+ L++++>$ E--- W+++ N+ o++ K-
> w--- O---- M+ V- PS+ PE- Y-- PGP>++ t-- 5 X- R- tv++ b+ DI++++
> D G++ e>+++ h r+ y+


Isn't 129.81 a 'B' Class class address?  This would make the network
address 129.81.0.0.

Regards,

Guy Lambert.

 
 
 

1. Correct IP configuration for machine with dynamically-assigned IP address?

Hi,

I am using Linux 2.0.33 with ppp-2.3.5, and I am trying to unravel my
nightmarish network configuration. I used to have my hostname aliased to
the loopback address and everything seemed to work OK. Then I learnt
that this was a "bad thing" and so I tried to correct the issue - anyway
I'd like to resolve my hostname to my REAL IP addres when such a thing
is available. The problem now is that some of the network-aware daemons
such as lpd and pppd are now giving me errors.

lpd is flatly refusing to run - it reads my hostname, can't find an IP
address in the /etc/hosts file to match it and then quits. pppd is
working, but it is also adding strange messages to the syslog such as

Cannot determine ethernet address for proxy ARP

whatever that means - I don't HAVE any ethernet hardware so I don't see
why it is looking for anything remotely ethernet-related.  Sendmail is
also trying to resolve my hostname into an IP address.

There has to be a tidy solution to this - there must be lots of Linux
boxes out there that only network though ppp.
Can anyone help, please?

Cheers,
Chris.

2. Where's the new rs40a

3. how to find if the correct AS number ?

4. **** HOT LINUX PRICES ****

5. Generating named.data and named.rev with correct version numbers

6. No Kernel or Printer applet in the Control Panel

7. server-status not displaying correct number of servers running

8. ATI Radeon IGP 320M & 340M: Help Needed.

9. Corrected Fax number for USENIX Call For Papers

10. UID GID problem, adduser not using correct numbers

11. Linux contract work - correct phone number

12. what are the correct device numbers and names for ptys?

13. ZIP100 not having correct major or minor number