howto: crossover connection between two linux machines?
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.
howto: crossover connection between two linux machines?
Yo ppl!
I've got two linux RH9 machines and I want to make crossover connection between them.
So I want to know what should I do?
I've got two nic's and crossover cable and they are connected. So what services do I need and how to make connection so they can see each other?
the problem was in crossover cable - it didn't work!
Now everything is ok but there is one problem :
In one machine I've got isdn and lan card and in the other only lan card. Network between them works. But when both (isdn and lan) cards are activated on the first machine I can't connect to internet, while the network between two comps works.
But when I deactivate lan card, connection to internet is back again.
Any ideas how to solve this problem ?
Seems as though you got a route problem. look at route -n before and after you put up your isdn link ... my best guess is that after you put up the isdn link the default route is pointing to your other machine or something while it shoutd be pointing at ppp0 wich should be your isdn connection.
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Rep:
Yes, He brought up a 5 year old thread and ,so am I too. This is why. I found this page through a Google search because I was having a problem connecting two computers together through a network connection with a crossover cable. The point IS that people find these pages through LQ and Google searches looking for answers!
I've done it before. Right now I am doing it between an XP machine and and a Ubuntu machine, both 64-bit. Not only have I got it working that the computers communicate fast through gigabit lan cards on each end, but I am also sharing the internet from the XP machine to the Ubuntu machine using multiple network connections and currently connected to the net with Internet Tethering through a Blackberry Curve which I dialed into as a modem. Okay, let me get to the point. Here was what I forgot to make it work. If you do all the steps but miss one like I did, then it won't work. The trick is doing this.
If on an Ubuntu machine or one with sudo setup similar:
PHP Code:
echo "1" | sudo tee /proc/sys/net/ipv4
OR:
PHP Code:
sudo bash -c "echo "1" > /proc/sys/net/ipv4
If on the majority of linux distros:
PHP Code:
su - echo "1" > /proc/sys/net/ipv4
Last edited by fakie_flip; 06-27-2009 at 07:56 PM.
Reason: forgot code blocks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.