Solved

Two network cards...

Posted on 1998-03-13
6
189 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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 discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 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

13 Experts available now in Live!

Get 1:1 Help Now