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


Groups > linux.debian.user > #171220

Re: A minimalist network

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: A minimalist network
Date 2016-08-18 00:50 +0200
Message-ID <s7hON-7EL-11@gated-at.bofh.it> (permalink)
References <s7aki-2lb-13@gated-at.bofh.it> <s7aNk-2LP-5@gated-at.bofh.it> <s7gg1-6ET-7@gated-at.bofh.it> <s7gpH-6MJ-5@gated-at.bofh.it> <s7hvs-7wd-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Aug 17, 2016 at 05:27:13PM -0500, Richard Owlett wrote:
> > > > Once you've got the physical layer sorted (that is, green blinky
> > > > lights on both machines), then the rest of the configuration
> > > > should be much the same as any network:
> > > > * Either give the hosts unique, static IPs OR
> > > >    Run a DHCP server on one of the machines
> > > > * Either refer to the hosts by IP address OR
> > > >    Run a DNS server on one of the machines OR
> > > >    Write the hostnames in /etc/hosts
> > > > (%SYSTEMROOT%\system32\drivers\etc\hosts on windows)
> > > 
> > > Ahh the question is HOW <chuckle>
> > > Bought Cat6 straight thru cable. Neither machine has a light to
> > > blink, but both reacted indicating cable present - but no
> > > communication established YET.
> > 
> > Reacted how?
> 
> The WinXP machine no longer reported a disconnected cable.
> The Jessie Mate machine now reported it was attempting to establish a
> connection.
> 
> IOW both machines recognized a PHYSICAL connection.
> *NOTHING MORE*
> 
> 
> > 
> > Have you assigned an IP address to each?  Done an ifup on the
> > Debian box, and the equivalent on the Windows box?
> 
> No.
> As of now I'm missing much underlying 'education'.
> However "EDUCATION" is an explicit goal.
> 
> > 
> > HOW are you trying to establish communication?  Have you tried a
> > ping? Something else?
> 
> This is only a "status" report.
> I am groping for the questions I *SHOULD BE* asking ;/

There is a classic model of networking in which there are 7 (or
9) layers, each one using the one below it. Here's the
simplified version:

Application Protocol
TCP or UDP socket
IP
network connection

At this point you have the network connection set up, so you
need to configure an IP network on top of it.

When there are only (small number) nodes, you can hand-configure
each machine.

The 192.168.x.y network is traditionally used for this. (There
are two others, one of which is 10.x.y.z, the other of which is
rarely used.)


Tell both machines that they are on the 192.168.1.0 network. The
network mask is 255.255.255.0, or /24 in CIDR notation. There is 
no gateway. One machine can have the address 192.168.1.10, and 
the other 192.168.1.20.

When that is done, you should be able to use ping to get a
response from the other machine's address:

$ ping -c 1 192.168.1.10
PING 192.168.10 56(84) bytes of data.
64 bytes from 192.168.1.10: icmp_seq=1 ttl=64 time=0.119 ms

--- 192.168.1.10 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.119/0.119/0.119/0.000 ms

$

At that point, you can consider client and server applications.

-dsr-

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


Thread

A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-17 16:50 +0200
  Re: A minimalist network Darac Marjal <mailinglist@darac.org.uk> - 2016-08-17 17:20 +0200
    Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-17 17:40 +0200
      Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-17 19:00 +0200
      Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-17 23:20 +0200
        Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-17 23:50 +0200
          Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-18 00:10 +0200
            Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-18 00:40 +0200
        Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-18 01:20 +0200
          Re: A minimalist network Henrique de Moraes Holschuh <hmh@debian.org> - 2016-08-18 01:50 +0200
          Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 14:00 +0200
            Re: A minimalist network Joe <joe@jretrading.com> - 2016-08-19 18:40 +0200
        Re: A minimalist network David Christensen <dpchrist@holgerdanske.com> - 2016-08-18 03:30 +0200
          Re: A minimalist network Jonathan Dowland <jmtd@debian.org> - 2016-08-19 10:20 +0200
    Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-17 23:10 +0200
      Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-17 23:20 +0200
        Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 00:40 +0200
          Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-18 00:40 +0200
      Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-17 23:20 +0200
        Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 00:30 +0200
          Re: A minimalist network Dan Ritter <dsr@randomstring.org> - 2016-08-18 00:50 +0200
          Re: A minimalist network David Christensen <dpchrist@holgerdanske.com> - 2016-08-18 03:30 +0200
            Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-18 04:00 +0200
              Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 14:20 +0200
          Re: A minimalist network Andy Smith <andy@strugglers.net> - 2016-08-18 12:40 +0200
            Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-18 22:10 +0200
            Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 14:10 +0200
      Re: A minimalist network rhkramer@gmail.com - 2016-08-17 23:40 +0200
        Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-17 23:50 +0200
          Re: A minimalist network rhkramer@gmail.com - 2016-08-18 01:30 +0200
        Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 00:50 +0200
      Re: A minimalist network Henrique de Moraes Holschuh <hmh@debian.org> - 2016-08-18 01:30 +0200
        Re: A minimalist network Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-08-18 13:00 +0200
          Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-18 19:10 +0200
          Re: A minimalist network Reco <recoverym4n@gmail.com> - 2016-08-18 19:20 +0200
            Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-18 19:40 +0200
            Re: A minimalist network Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-08-18 20:00 +0200
  Re: A minimalist network "der.hans" <deb-user@LuftHans.com> - 2016-08-17 17:20 +0200
    Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-17 22:50 +0200
      Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-17 23:30 +0200
        Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 14:10 +0200
          Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-18 16:50 +0200
            Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 14:00 +0200
  Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-17 23:40 +0200
    Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 00:50 +0200
      Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-18 01:10 +0200
      Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-18 01:40 +0200
  Re: A minimalist network David Christensen <dpchrist@holgerdanske.com> - 2016-08-18 03:10 +0200
    Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-18 16:00 +0200
      Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-18 16:10 +0200
        Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 14:50 +0200
          Re: A minimalist network <tomas@tuxteam.de> - 2016-08-19 15:10 +0200
            Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 15:50 +0200
              Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-19 19:50 +0200
          Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-19 16:00 +0200
            Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 16:00 +0200
              Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-19 17:00 +0200
                Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 19:40 +0200
                Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-19 21:20 +0200
                Re: A minimalist network Mike McClain <mike.junk@copper.net> - 2016-08-20 08:40 +0200
                Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-20 13:30 +0200
          Re: A minimalist network Andy Smith <andy@strugglers.net> - 2016-08-20 22:00 +0200
      Re: A minimalist network rhkramer@gmail.com - 2016-08-18 17:10 +0200
        Re: A minimalist network Henrique de Moraes Holschuh <hmh@debian.org> - 2016-08-18 17:30 +0200
          RE: A minimalist network Bonno Bloksma <b.bloksma@tio.nl> - 2016-08-19 12:20 +0200
        Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-18 17:40 +0200
        Re: A minimalist network Tim McDonough <tmcdonough@gmail.com> - 2016-08-18 17:50 +0200
        Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-18 18:10 +0200
          Re: A minimalist network Joe <joe@jretrading.com> - 2016-08-18 19:00 +0200
      Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-18 17:40 +0200
      Re: A minimalist network David Christensen <dpchrist@holgerdanske.com> - 2016-08-18 21:00 +0200
        Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-18 21:30 +0200
        Re: A minimalist network David Wright <deblis@lionunicorn.co.uk> - 2016-08-18 21:40 +0200
        Re: A minimalist network Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-08-18 22:40 +0200
          Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-18 23:20 +0200
            Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 15:00 +0200
              Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-19 16:00 +0200
                Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 16:10 +0200
                Re: A minimalist network Lisi Reisz <lisi.reisz@gmail.com> - 2016-08-19 16:50 +0200
                Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 20:00 +0200
                Re: A minimalist network Miles Fidelman <mfidelman@meetinghouse.net> - 2016-08-19 17:50 +0200
                Re: A minimalist network Richard Owlett <rowlett@cloud85.net> - 2016-08-19 20:10 +0200
          Re: A minimalist network Brian <ad44@cityscape.co.uk> - 2016-08-18 23:20 +0200

csiph-web