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 |
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. |
ok thanks
i think i broke my usb ethernet just pluged it in and its not working at all ??? but thanks :) |
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??? |
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. |