LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-31-2006, 07:21 AM   #1
unihiekka
Member
 
Registered: Aug 2005
Distribution: SuSE Linux / Scientific Linux / [K|X]ubuntu
Posts: 273

Rep: Reputation: 32
Post 2-PC network (without internet)


Hello!

I want to set up a tiny (TCP/IP?) network of a desktop and a laptop, both running on SuSE 9.3 Pro, without the use of internet. So, I want a cable from the desktop to go to the laptop. I believe one needs a cross cable or cross-over cable for that, which I can easily buy. But the trouble is, I am trying to learn something of networking, but I don't know how to set up such a network. The idea is to use port 5555 for this network (because some programme needs it to be so). Can anybody help me (either YaST or console) step-by-step how to do it, or does there exist a tutorial for such a particular network.

Thanks a lot!
 
Old 01-31-2006, 07:44 AM   #2
m2acis
LQ Newbie
 
Registered: Jan 2006
Location: Latvia, Riga
Distribution: Slackware, Ubuntu
Posts: 18

Rep: Reputation: 0
I haven't used SuSE, but I can give you some basic guide to help you.

1) Correct - you need cross cable if you're connecting 2 computers directly
2) Choose IP's for both computers
for example 192.168.1.1 and 192.168.1.2 with netmask 255.255.255.0
3) Asign IP's to network interfaces (usualy eth0 for first ethernet adapter, but may wary depending on network card type)
Commands I would use on my computer is ...
#ifconfig eth0 192.168.1.1 netmask 255.255.255.0
on first computer
#ifconfig eth0 192.168.1.2 netmask 255.255.255.0
on second

that should work.

If this didn't help, then use google and search for keywords like "suse network yast configure" or similar and it should bring you to some help
 
  


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
network but no Internet? ErikHK Linux - Networking 1 06-14-2005 08:57 AM
network and internet adnansalehali Red Hat 0 11-03-2004 07:14 AM
network/internet help Global_Throttle Linux - Software 1 03-19-2004 08:45 AM
No Internet/Network p1az Slackware 2 11-13-2003 04:21 PM
I can see my network, but I can't get out to the internet? guitarnix Linux - Networking 7 10-01-2003 06:03 AM

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

All times are GMT -5. The time now is 11:10 PM.

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