Two linux machines via 3Com cards

Two linux machines via 3Com cards

Post by Arto Repo » Tue, 02 Jul 1996 04:00:00



hello everybody! I just downloaded again linux faq's and howto's but
still i'm pretty  unsure about this question,please don't post
any RTFM because i've already done that ! :)

So my friend has two linux machines: other is Whale.fi which has
random ip created (130.149.5.40) and other is mobydick.fi
(130.149.5.41) now how we can make these machine to "communicate"
with each others? As faar as i've read that NET-2 and other similar
files i've come to conclusion that it might work with this combination

in whale.fi:            /sbin/ifconfig -add net 130.149.5.40
                                                eth0(whale.fi)

                        /sbin/route -add net 130.149.5.41 (route into
                                                mobydick)

and in mobydick.fi     /sbin/ifconfig -add net 130.149.41
                                        eth0(mobydick.fi)
                        /sbin/route -add net 130.149.5.40 (whale.fi)

Now does these machines "coomunicate" after these lines or do i have
to setup gateway into both machines? and what about Nameserver setup
is is just chekking that resolv.conf,/etc/hosts are fine and then
running NAMED?

We've installed Red Hat 2.0 into both machines.


if you can rather than into this area!                            

--
http://www.netppl.fi/~arrepola
"There is and old vulcan prophet:
Only Nixon go to china" -Spock,Star Trek VI"

 
 
 

Two linux machines via 3Com cards

Post by Graham Swall » Wed, 03 Jul 1996 04:00:00



> hello everybody! I just downloaded again linux faq's and howto's but
> still i'm pretty  unsure about this question,please don't post
> any RTFM because i've already done that ! :)

        Try downloading Raven-0.0g.tag.gz which is just above:

http://beyond.malmo.lth.se/~gps/Raven/SSR03/ssr03_06_tcp_interfaces.h...
http://beyond.malmo.lth.se/~gps/Raven/SSR01/ssr01_04_ip_addr.html

        Also Issue-1 has an article about allocating IP_addresses at random,
        and what is a netmask.

        I think that your problem is that you are passing the -net parameter
        to ifconfig, that shouldn't do anything???.

        You are configuring the device, a single point, not the
        route to the net, so on each host:

        IPADDR=130.149.5.40     # "my" single address
        NETWORK=130.149.5.0     # network range
        NETMASK=255.255.255.0   # define range as a bitmask

         /sbin/ifconfig eth0 ${IPADDR}
         /sbin/route add -net ${NETWORK} netmask ${NETMASK}


--
        -----------------------------------
        http://www.users.dircon.co.uk/~trix   <-- Linux Info Pages
        http://trix.dircon.co.uk/ (dial-up)   <-- Raven Kept Here
        -----------------------------------

 
 
 

1. Problems with two ISA 3com cards in a 2.2.20 machine

Greetings, im having some slight problems that im hoping someone can
help me with

ive got two ISA Etherlink III cards in a 2.2.x machine.  eth0 connects
to the cable modem, the other to the wireless adapter.

I just installed eth1 today, and ive noticed that when two are in,
NEITHER of them work.  i could neither talk to the internet, nor the
local lan from the linux machine

It detects them separately, eth0 on irq 10, and eth1 on irq 3.

Ive tried it without trying to ifconfig one of the cards, but it
doesnt matter.  I did an ifconfig eth1 up, and i looked at my cable
modem to see that eth0 had ALSO ifconfig'd up....

Honestly, im lost... anyone have any suggestions?

2. 3 HOT FEMALES

3. Enabling two 3COM network cards in the same machine

4. PPP and Masquerading and Port Selection.

5. How to set my Linux machine to have two network cards with two IPs

6. size of dump on tape ?

7. Connecting two Linux Machines via PPP

8. ftok () is returning different keys for same file

9. Two 3COM 3C509 cards on Caldera Linux not working

10. Networking between two linux machine without Ethernet Card

11. Two NIC cards on one Linux machine

12. two sound cards in a Linux machine? ok?

13. Two graphic cards in one Linux machine