nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Linux Set Up a Peer to Peer TCP / IP Network

This is a discussion on Linux Set Up a Peer to Peer TCP / IP Network within the Networking, Firewalls and Security forums, part of the Mastering Servers category; how to configure the the peer to peer connection in linux?...


Go Back   nixCraft Linux Forum > Mastering Servers > Networking, Firewalls and Security

Linux answers from nixCraft.


Networking, Firewalls and Security No it's not a secret. Talk about firewalls and security issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-05-2008, 01:05 PM
Junior Member
User
 
Join Date: May 2008
Location: bahar
OS: fedora
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
abbasamoo is on a distinguished road
Send a message via Yahoo to abbasamoo
Default Linux Set Up a Peer to Peer TCP / IP Network

how to configure the the peer to peer connection in linux?
Reply With Quote
  #2 (permalink)  
Old 16-05-2008, 04:43 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Is it twisted pair, thinNet, or thickNet physical connection? For Twisted Pair you need hub or switch. Is this between two Linux boxes or Linux and Windows boxes? Lemme know the details

Once connected just configure TCP/IP as follows on Linux:
Code:
ifconfig eth0 192.168.1.10 up
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #3 (permalink)  
Old 17-05-2008, 07:16 PM
Junior Member
User
 
Join Date: May 2008
Location: bahar
OS: fedora
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
abbasamoo is on a distinguished road
Send a message via Yahoo to abbasamoo
Default

It is a thickNet physical connection and its between tow Linux boxes. And if possible, please give me some references concerning Peer to Peer Connections and Network in Linux. Thanks a lot.
Reply With Quote
  #4 (permalink)  
Old 18-05-2008, 10:37 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

After physical connection turn on both boxes. First make sure network card is detected on both boxes:
Code:
dmesg | grep eth0
Once type the following commands to see IP info:
Code:
ifconfig eth0
To assign IP
Code:
ifconfig IP-address netmask up
Ping both boxes
Code:
ping box-1-ip
ping box-2-ip
To login and to transfer files, you need to enable ssh server on both boxes. Assuming ssh installed, type
Code:
ssh user@box1-ip
ssh user@box2-ip
ssh root@box1-ip

To share files between to Linux boxes you need to install NFS server. To share files / printer between Windows / Max OS and Linux you need to install Samba file server (NFS can be also used).

Different bistro stores configuration files at diffrent locations.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply

Tags
cifs , ifconfig , linux , networking , nfs , samba


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Linux disable network interface jerry Linux software 3 31-01-2009 09:25 PM
set or how to change dns setting ubuntu linux network chiku Linux software 1 17-07-2006 06:30 PM
Ubuntu Linux network installation using a boot server tom Getting started tutorials 1 13-07-2006 05:56 PM
Linux Change the network configuration after installation jerry Linux software 2 14-06-2006 03:58 PM
Linux Network Install vasanth Linux software 1 01-09-2005 10:23 PM


All times are GMT +5.5. The time now is 03:29 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38