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


Groups > linux.debian.user > #172119

Re: Network issue........

From Erwan David <erwan@rail.eu.org>
Newsgroups linux.debian.user
Subject Re: Network issue........
Date 2016-09-13 13:30 +0200
Message-ID <sgU4x-18N-1@gated-at.bofh.it> (permalink)
References <sgPod-6ux-1@gated-at.bofh.it> <sgRJp-7Xu-49@gated-at.bofh.it> <sgTLc-11k-13@gated-at.bofh.it> <sgU4x-18N-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Sep 13, 2016 at 01:20:30PM CEST, Darac Marjal <mailinglist@darac.org.uk> said:
> On Tue, Sep 13, 2016 at 07:07:51AM -0400, rhkramer@gmail.com wrote:
> >On Tuesday, September 13, 2016 04:54:08 AM Darac Marjal wrote:
> >>On Tue, Sep 13, 2016 at 04:26:55PM +1000, Charlie wrote:
> >>>Kernel IP routing table
> >>>Destination Gateway  Genmask Flags MSS Window irtt Iface
> >>>0.0.0.0       10.80.2.85  0.0.0.0     UG     0    0          0 eth0
> >>>10.80.2.84  0.0.0.0  255.255.255.252 U  0    0          0 eth0
> >>
> >>This translates as "For 10.80.2.84 to 10.80.2.87, talk directly to the
> >>host, otherwise gateway through 10.80.2.85".
> >
> >I'm not the OP, but maybe I can learn something.
> >
> >I can sort of see where you got the 10.80.2.84--oh, and I was going to say
> >that I don't see where the 10.80.2.87 came from, but, without doing the math,
> >maybe that comes from the 255.255.255.252 netmask?
> 
> Yes. I actually plugged the numbers into http://www.subnet-calculator.com/
> as I'm lazy, but 255.255.255.252 is also written as /2 and it defines a
> subnet where everything but the last 2 bits of the address are the same.
> We're lucky that, in this instance 10.80.2.84 is on the lower boundary of
> this range (Actually, the routing table might enforce that), so the next 4
> (inclusive) hosts make up the range .84 (which would usually be the
> 'network' address), .85 and .86 (which are both 'usable' hosts) and .87
> (which would be the 'broadcast' address).

That's /30 (30 fixed bits) not /2

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


Thread

Network issue........ Charlie <ariestao1@ipstarmail.com.au> - 2016-09-13 08:30 +0200
  Re: Network issue........ Darac Marjal <mailinglist@darac.org.uk> - 2016-09-13 11:00 +0200
    Re: Network issue........ rhkramer@gmail.com - 2016-09-13 13:10 +0200
      Re: Network issue........ Erwan David <erwan@rail.eu.org> - 2016-09-13 13:30 +0200
      Re: Network issue........ Darac Marjal <mailinglist@darac.org.uk> - 2016-09-13 13:30 +0200
    Re: Network issue........ Charlie <ariestao1@ipstarmail.com.au> - 2016-09-13 13:40 +0200
  Re: Network issue........ Fabrizio Carrai <fabrizio.carrai@gmail.com> - 2016-09-13 13:10 +0200
  Re: Network issue........ Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2016-09-13 18:00 +0200
    Re: Network issue........ Charlie <ariestao1@ipstarmail.com.au> - 2016-09-14 01:10 +0200
      Re: Network issue........ "Neal P. Murphy" <neal.p.murphy@alum.wpi.edu> - 2016-09-14 01:20 +0200
        Re: Network issue........ Charlie <ariestao1@ipstarmail.com.au> - 2016-09-14 01:50 +0200
          Re: Network issue........ "Neal P. Murphy" <neal.p.murphy@alum.wpi.edu> - 2016-09-14 02:00 +0200

csiph-web