Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Two network cards...

Posted on 1998-03-13
6
Medium Priority
?
237 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 

Accepted Solution

by:
benny_profane earned 300 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
AWS Certified Solutions Architect - Associate

This course has been developed to provide you with the requisite knowledge to not only pass the AWS CSA certification exam but also gain the hands-on experience required to become a qualified AWS Solutions architect working in a real-world environment.

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

688 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