LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   help a network noob (https://www.linuxquestions.org/questions/linux-networking-3/help-a-network-noob-141576/)

matt_w_lambert 02-02-2004 06:55 PM

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

snacky 02-02-2004 06:57 PM

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.

matt_w_lambert 02-02-2004 07:59 PM

ok thanks
i think i broke my usb ethernet just pluged it in and its not working at all ???

but thanks :)

matt_w_lambert 02-04-2004 09:26 PM

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???

twantrd 02-05-2004 03:32 AM

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


All times are GMT -5. The time now is 01:24 AM.