Solved

Two network cards...

Posted on 1998-03-13
6
207 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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help instaling linux on vmware 36 85
Help with Ubuntu 14.04 LTS 10 135
Error when calling SSH command 20 110
How to run a Linux Command from a different other than Root in Linux 5 111
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 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