Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello all,im a newbee on this great OS call linux as you can see my subject,i need to no the best way to make a good network,cable is connect straith to eth0 and eth1 connect tru the other pc,net is working ok for the first one but eth1 out for the other pc cant work,can someone tell me how to fix my probleme,tkx
Hello all,im a newbee on this great OS call linux as you can see my subject,i need to no the best way to make a good network,cable is connect straith to eth0 and eth1 connect tru the other pc,net is working ok for the first one but eth1 out for the other pc cant work,can someone tell me how to fix my probleme,tkx
Hi,
do you just want to have LAN connection between two machines or internet access too for the second machine ???
You will need to connect the two machines together with a crossover cable from an Ethernet card (whether onboard or plug-in) on one machine to an Ethernet card on the other machine. A second card on one machine should be connected to your modem.
This is confirmed by a thread on a Hong Kong Debian forum which reads (this is only my second post here so I cannot provide the link):
"... first computer has two ethernet ports and one of the port is connected to an ADSL modem. The other ethernet port of the first computer is connected to the second computer via a crossover ethernet cable. The first computer can have access to the internet but not the second computer.
In Debian Sarge, how should I set both computer up so that the second computer can share the internet access as well as the printer service of the first computer? (the first computer is connected to a printer via the USB port, has both CUPS server and client installed and can print successfully)"
"... I installed the ipmasq (for ip masquading), assigned the IP address of 192.168.0.1 and netmask of 255.255.255.0 and Broadcast address of 192.168.0.255 to the internal NIC (the ethernet port connecting to the second computer) of the first computer, then I assigned the IP address of 192.168.0.2, netmask 255.255.255.0 and gateway 192.168.0.1 to the second computer. Then both the first and second computer received the internet and I could ping the first computer from the second computeer and vice versa.
For the CUPS, I have installed CUPS client and server to both computer, then I changed the /etc/cups/cupsd.conf of the first computer so that it broadcasts its service to other local computers and allows access of its printer from other computers, then the second printer could also print from the first computer's printer."
Hope this provides enough for you to at least do a web search for the forum. Someone using Fedora also writes in the thread.
I think though that some experts may say that this method is insecure, but, anyway, I'd be very interested to know if it works for others.
You may like to know, if you didn't already, that Debian has something called FAI, which looks as if it may be useful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.