Solved

Two network cards...

Posted on 1998-03-13
6
215 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

820 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