SUMMARY: configuring direct connect

From: Jeroen Visser <jvisser_at_netcast.nl>
Date: Tue Apr 24 2001 - 08:03:29 EDT
Thanks for the the quick response to:

Blake Matheny [blake.r.matheny@mail.sprint.com]
Bertrand_Hutin@notes.amdahl.com
Neill, Mark (MBS) [Mark.Neill@mortgagefamily.com]

SUMMARY:
Yes, I do need cross cables to direct connect machines to each other
and my original ifconfig hme2 192.1.2.233 192.1.1.234 up
worked fine in the end.
BUT:
I should stick to the intranet address-ranges (192.168.x.x u.o.) to
be on the safe side and the final clue is:

PCI-slot0 associates with device hme2
PCI-slot1 associates with device hme1

and not the other way around!
This command helped me out to verify connections:
# snoop -d hme2
...
So it's clear enough that I forgot to supertest all steps
before judging.
Now that I know that numbers mix up this way, it does make sense to me
in a special Unix way.

Jeroen Visser
Email: jvisser@netcast.nl


> -----Original Message-----
> 
> Admins,
> 
> I've been trying to interconnect several 250-boxes running
> Solaris 2.6. So far the three machines connect to a switch in a
> regular subnet (194.151.217.224 mask 255.255.255.240) wich holds
> the default gateway as well (i.e. 194.151.217.225). That works
> fine. They use the interface hme0 located right below the serial
> ports A/B.
> 
> I want to use extra network cards mounted in PCI-slot 0 and 1 to use
> a direct cable connect for special front/backend communication.
> The middle machine should be able to see the
> other two. I've been told that any IP-address will work
> here as long as it does not interfere with the existing subnet.
> Additionally I am not sure to use a crosslink cable (neither worked
> so far).
> 
> I have tryed to ifconfig hme1 and hme2 as follows, with a variation
> of IP-addresses on each host (...232 ...233 ...234):
> 
> >>on host1 (the middle machine)
> # ifconfig hme2 192.1.2.233 192.1.1.234 up
> # ifconfig -a
> lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
>         inet 127.0.0.1 netmask ff000000 
> hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
>         inet 194.151.217.233 netmask fffffff0 broadcast 194.151.217.239
>         ether 8:0:20:a9:95:58 
> hme1: flags=842<BROADCAST,RUNNING,MULTICAST> mtu 1500
>         inet 0.0.0.0 netmask 0 
>         ether 8:0:20:a9:95:58 
> hme2: flags=851<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
>         inet 192.1.2.233 --> 192.1.1.234 netmask ffffff00 
>         ether 8:0:20:a9:95:58
> # netstat -nvr
> IRE Table:
>   Destination             Mask           Gateway          Device Mxfrg
> Rtt  Ref Flg  Out  In/Fwd
> -------------------- --------------- -------------------- ------ -----
> ----- --- --- ----- ------
> 192.1.1.234          255.255.255.255 192.1.2.233          hme2    1500*
> 0   2 UH      48     0
> 194.151.217.224      255.255.255.240 194.151.217.233      hme0    1500*
> 0   3 U      110     0
> 224.0.0.0            240.0.0.0       194.151.217.233      hme0    1500*
> 0   3 U        0     0
> default              0.0.0.0         194.151.217.225              1500*
> 0   0 UG       0     0
> 127.0.0.1            255.255.255.255 127.0.0.1            lo0     8232*
> 0   0 UH     295     0
> 
> >>and on host2 (the right end machine)
> # ifconfig hme1 192.1.1.234 192.1.2.233 up
> # ifconfig -a
> lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
>         inet 127.0.0.1 netmask ff000000 
> hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
>         inet 194.151.217.234 netmask fffffff0 broadcast 194.151.217.239
>         ether 8:0:20:c4:40:36 
> hme1: flags=851<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
>         inet 192.1.1.234 --> 192.1.2.233 netmask ffffff00 
>         ether 8:0:20:c4:40:36 
> hme2: flags=842<BROADCAST,RUNNING,MULTICAST> mtu 1500
>         inet 0.0.0.0 netmask 0 
>         ether 8:0:20:c4:40:36 
> # netstat -nvr
> IRE Table:
>   Destination             Mask           Gateway          Device Mxfrg
> Rtt  Ref Flg  Out  In/Fwd
> -------------------- --------------- -------------------- ------ -----
> ----- --- --- ----- ------
> 192.1.2.233          255.255.255.255 192.1.1.234          hme1    1500*
> 0   2 UH      42     0
> 194.151.217.224      255.255.255.240 194.151.217.234      hme0    1500*
> 0   3 U        3     0
> 224.0.0.0            240.0.0.0       194.151.217.234      hme0    1500*
> 0   3 U        0     0
> default              0.0.0.0         194.151.217.225              1500*
> 0   0 UG       0     0
> 127.0.0.1            255.255.255.255 127.0.0.1            lo0     8232*
> 0   0 UH      22     0
> 
> 
> Then let them ping each other, showing (after a while):
> no answer from 192.1.2.233
> 
> 
> Is there something I'm missing here?
> 
> thanks for your time,
> 
> 
> Jeroen Visser
> Email: jvisser@netcast.nl
> 
Received on Tue Apr 24 13:03:29 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:53 EDT