nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-16-2008, 01:05 PM
Junior Member
User
 
Join Date: May 2008
Location: bahar
My distro: fedora
Posts: 2
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
Sponsored Links
  #2 (permalink)  
Old 05-16-2008, 04:43 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 571
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
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.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 05-17-2008, 07:16 PM
Junior Member
User
 
Join Date: May 2008
Location: bahar
My distro: fedora
Posts: 2
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 05-18-2008, 10:37 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 958
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 | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
Reply

Bookmarks

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 On

Similar Threads

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


All times are GMT +5.5. The time now is 11:52 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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