LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-04-2016, 07:25 AM   #1
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Rep: Reputation: 43
Linking multiple devices without router


Hi All,
I need to link a dozen Linux based data capture devices to a PC without a router or internet. The data capture are linux based devices and the PC will ubuntu. Clients and server.
I know very little about this, what I thought I'd do is use a switch and give all the devices a static ip wth same start e.g. 192.168.0. . Will this work? Can I use static ip and a switch?
Thanks
 
Old 10-04-2016, 07:38 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
what I thought I'd do is use a switch and give all the devices a static ip wth same start e.g. 192.168.0. .
That is in order. Just consider the convention that 192.168.0.0 usually is a network as understood by routers, and 192.168.0.1 ...2 ...3 (and so on) is understood leases to hosts. So it is good to begin your static assignments to 192.168.0.1, 192.168.0.2, ... and so on. Switch. That has been the way for many years.

Quote:
Will this work?
Yes.

Quote:
Can I use static ip and a switch?
Yes.
 
Old 10-04-2016, 07:42 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Yes. If using 192.168.0.0/24 (netmask 255.255.255.0) valid addresses are 192.168.0.1-192.168.0.254
 
Old 10-04-2016, 11:42 AM   #4
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Original Poster
Rep: Reputation: 43
Thanks All.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
g++ linking error with multiple libs ban2 Programming 4 01-11-2011 09:48 AM
Linking Multiple Ubuntu Servers bkerensa Ubuntu 3 08-22-2010 11:40 PM
linking DNS from multiple servers adm1329 Linux - Networking 4 07-20-2009 07:19 AM
Udev linking my devices wrong Wynd Linux - General 1 01-20-2007 05:21 AM
Linking multiple sound devices ccool Linux - General 3 03-20-2005 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration