Solved

Two network cards...

Posted on 1998-03-13
6
198 Views
Last Modified: 2010-03-18
I have two machines which are connected to internet throug a hub.
In each machine I have two networkcards.
How can I do to connect those machines to each other throug those cards.'
I have tried to add a second interface with netcfg in rh-5.0
with ip-adress 1.0.0.1 on machine one and 1.0.0.2 on machine two.
But I cant ping machine one from machine two or machine two from machine one.
How do I set this up???
0
Comment
Question by:pucko
  • 4
6 Comments
 

Accepted Solution

by:
benny_profane earned 100 total points
ID: 1587547
First, you should use the IP addresses in 10.0.0.0, not 1.0.0.0

Are you sure each machine can see both network cards? Often you have to pass the kernel a boot parameter through lilo if you want to use more than one card. Adding the following line to lilo.conf, for example, will tell the kernel to look for eth0 at IRQ10, IO0x240 and eth1 at IRQ11, IO0x260:

append="ether=10,0x240,eth0 ether=11,0x260,eth1"

This is generally the problem. If it isn't, the next thing to check is the cable. If you're using twisted pair and the two cards are being connected directly, as opposed to through the hub, you will need to be using a cross-over cable.

Since both of the new NICs are part of the 10.0.0.0 network, you don't even have to do any screwy routing configuration. It should work once you've done the above.

0
 
LVL 1

Author Comment

by:pucko
ID: 1587548
Yes both machines can find two networkcards. There is no colisions (IRQ or I/O adresses)

The connection to internet is through a TP cabel (and through a hub) and it works fine.

What I like to do is to connect my 2 machines directly on the eth1 device. This is through a BNC cabel and both machines has a
DE200 Network card.

Well I have to try to change the ip adress to 10.0.0.0 then..


0
 
LVL 1

Author Comment

by:pucko
ID: 1587549
When I try to do a /sbin/ifup eth1 on machine 2 it says:SIOCSIFFLAGS: Resource temporarily unavailable
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Expert Comment

by:Linuxer022197
ID: 1587550
You can't use 10.0.0.0 and 10.0.0.255 as your ip addresses but those in between.
Try it and see if any problem encountered.

ps.  Benny's answer is pretty good.


0
 
LVL 1

Author Comment

by:pucko
ID: 1587551
Thanks. It must be the cabel then....
0
 
LVL 1

Author Comment

by:pucko
ID: 1587552
Thanks. It must be the cabel then....
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
OpenVPN running on Ubuntu 14.4 x64 5 91
Centos Rescue and NFS Share 4 65
linux / python expert needed 3 88
route 2 traffic streams on single NIC 6 34
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now