LinuxQuestions.org
Review your favorite Linux distribution.
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 02-02-2004, 06:55 PM   #1
matt_w_lambert
Member
 
Registered: Jan 2003
Location: WA
Distribution: Red Hat 9.0, mandrake 9.2
Posts: 194

Rep: Reputation: 30
help a network noob


I want to network 2 linux machines but i now almost nothing about networking i have Mandrake 9.2 and knoppix and both nic are detected

are there any good doc's links or progrms that i could check out

Thanks
 
Old 02-02-2004, 06:57 PM   #2
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Just the two machines?

No internet connection, no routing?

Very, very easy. On one machine, do "ifconfig eth0 192.168.0.2 netmask 255.255.255.0"
On the other machine, do "ifconfig eth0 192.168.0.3 netmask 255.255.255.0"

Now you have your own tcp/ip network.
 
Old 02-02-2004, 07:59 PM   #3
matt_w_lambert
Member
 
Registered: Jan 2003
Location: WA
Distribution: Red Hat 9.0, mandrake 9.2
Posts: 194

Original Poster
Rep: Reputation: 30
ok thanks
i think i broke my usb ethernet just pluged it in and its not working at all ???

but thanks
 
Old 02-04-2004, 09:26 PM   #4
matt_w_lambert
Member
 
Registered: Jan 2003
Location: WA
Distribution: Red Hat 9.0, mandrake 9.2
Posts: 194

Original Poster
Rep: Reputation: 30
ok i got the nic to work again
ok i did the ifconfig command
then when i try to ping to see if it worked it says destination host unreachable???
 
Old 02-05-2004, 03:32 AM   #5
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Hi, snacky's suggestions are correct however you might need to restart your NIC settings to make it effective. Therefore, after you do that issue a
'/etc/init.d/networking restart' on both machines and then try pinging again. Run 'ifconfig' to make sure that you have to right IP's and more importantly the right subnet mask.

Also, how are you connecting these 2 machines together? Via hub/switch? If there is no hub/switch involved then you can't just use straight cat5 cable, you MUST use crossover cable for them to talk to each other. Good luck...


-twantrd
 
  


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
Noob Question: Network Setup RussEde Linux - Networking 1 08-04-2005 01:10 PM
NOOB - Cannot network Red Hat 7.2 cdinsmore Linux - Wireless Networking 1 06-16-2005 02:57 PM
Noob Home Network Design ?s Add1Sun Linux - Networking 3 03-12-2005 08:40 AM
Yet another noob network thread.. K-nukes Linux - Networking 13 09-30-2003 12:02 AM
nOOb in need of some network help. ejj123 Linux - Newbie 2 04-28-2002 12:55 AM

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

All times are GMT -5. The time now is 04:52 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