Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #258629

Re: netmask question

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: netmask question
Date 2023-05-23 03:20 +0200
Message-ID <GyoQV-aMrM-3@gated-at.bofh.it> (permalink)
References (5 earlier) <GynrP-aLuC-9@gated-at.bofh.it> <Gyo4x-aLWm-11@gated-at.bofh.it> <Gyo4x-aLWm-13@gated-at.bofh.it> <GyonT-aM2U-5@gated-at.bofh.it> <Gyoxz-aM5T-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> > Why are you asking these questions?  What's your ACTUAL issue?
> >
> 
> IIRC, last year my ISP gives me 8 IPv4, they said the first is network
> addr, the last is broadcast addr, then I have to calculate the netmask by
> myself.


Well, they told you the additional necessary information: 8
addresses.

2^3 = 8
32 - 3 = 29
They gave you a /29.
The netmask is 255.255.255.248

The package you want to install is sipcalc:

$ sipcalc 123.234.22.1/29

-[ipv4 : 123.234.22.1/29] - 0

[CIDR]
Host address            - 123.234.22.1
Host address (decimal)  - 2078938625
Host address (hex)      - 7BEA1601
Network address         - 123.234.22.0
Network mask            - 255.255.255.248
Network mask (bits)     - 29
Network mask (hex)      - FFFFFFF8
Broadcast address       - 123.234.22.7
Cisco wildcard          - 0.0.0.7
Addresses in network    - 8
Network range           - 123.234.22.0 - 123.234.22.7
Usable range            - 123.234.22.1 - 123.234.22.6


-dsr-

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

netmask question coreyh@free.fr - 2023-05-22 04:50 +0200
  Re: netmask question Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2023-05-22 05:00 +0200
    Re: netmask question Tim Woodall <debianuser@woodall.me.uk> - 2023-05-22 09:50 +0200
      Re: netmask question <tomas@tuxteam.de> - 2023-05-22 10:10 +0200
      Re: netmask question coreyh@free.fr - 2023-05-22 11:00 +0200
        Re: netmask question Tim Woodall <debianuser@woodall.me.uk> - 2023-05-22 11:10 +0200
          Re: netmask question coreyh@free.fr - 2023-05-22 12:20 +0200
            Re: netmask question Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2023-05-22 12:30 +0200
            Re: netmask question Dan Ritter <dsr@randomstring.org> - 2023-05-22 13:10 +0200
      Re: netmask question Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2023-05-22 12:20 +0200
        Re: netmask question Tim Woodall <debianuser@woodall.me.uk> - 2023-05-22 12:30 +0200
        Re: netmask question <tomas@tuxteam.de> - 2023-05-22 13:10 +0200
  Re: netmask question Charles Curley <charlescurley@charlescurley.com> - 2023-05-22 05:10 +0200
  Re: netmask question <tomas@tuxteam.de> - 2023-05-22 07:00 +0200
    Re: netmask question Tim Woodall <debianuser@woodall.me.uk> - 2023-05-22 09:40 +0200
      Re: netmask question <tomas@tuxteam.de> - 2023-05-22 10:00 +0200
      Re: netmask question Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2023-05-22 12:20 +0200
      Re: netmask question gene heskett <gheskett@shentel.net> - 2023-05-22 18:20 +0200
        Re: netmask question <tomas@tuxteam.de> - 2023-05-22 21:10 +0200
          Re: netmask question gene heskett <gheskett@shentel.net> - 2023-05-23 01:50 +0200
            Re: netmask question Dan Purgert <dan@djph.net> - 2023-05-23 03:20 +0200
              Re: netmask question debian-user@howorth.org.uk - 2023-05-23 12:50 +0200
                Re: netmask question Dan Purgert <dan@djph.net> - 2023-05-23 14:20 +0200
            Re: netmask question tomas@tuxteam.de - 2023-05-23 07:00 +0200
          Re: netmask question "Tom Reed" <tom@dkinbox.com> - 2023-05-23 01:50 +0200
            Re: netmask question Greg Wooledge <greg@wooledge.org> - 2023-05-23 02:10 +0200
              Re: netmask question <tomas@tuxteam.de> - 2023-05-23 06:40 +0200
            Re: netmask question Dan Ritter <dsr@randomstring.org> - 2023-05-23 02:30 +0200
              Re: netmask question "Tom Reed" <tom@dkinbox.com> - 2023-05-23 02:30 +0200
                Re: netmask question Dan Ritter <dsr@randomstring.org> - 2023-05-23 02:50 +0200
                Re: netmask question <tomas@tuxteam.de> - 2023-05-23 06:50 +0200
                Re: netmask question Andy Smith <andy@strugglers.net> - 2023-05-27 03:10 +0200
                Re: netmask question Greg Wooledge <greg@wooledge.org> - 2023-05-27 03:10 +0200
                Re: netmask question Andy Smith <andy@strugglers.net> - 2023-05-27 03:20 +0200
                Re: netmask question Greg Wooledge <greg@wooledge.org> - 2023-05-23 02:50 +0200
                Re: netmask question "Tom Reed" <tom@dkinbox.com> - 2023-05-23 03:00 +0200
                Re: netmask question Dan Ritter <dsr@randomstring.org> - 2023-05-23 03:20 +0200
                Re: netmask question Tim Woodall <debianuser@woodall.me.uk> - 2023-05-23 08:30 +0200
                Re: netmask question Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2023-05-23 02:50 +0200

csiph-web