Operating System - Linux
1834395 Members
10230 Online
110066 Solutions
New Discussion

Re: How can I use hpdl380g6 as a simple switch?

 
setare
Frequent Advisor

How can I use hpdl380g6 as a simple switch?

I have a hpdl380g6 , I want to connect it to 4 separate PCs without using any external switch, is it possible? How?
The OS is linux
I will appreciate any advice.
4 REPLIES 4
setare
Frequent Advisor

Re: How can I use hpdl380g6 as a simple switch?

Linux suse.
Steven Schweda
Honored Contributor

Re: How can I use hpdl380g6 as a simple switch?

> I have a hpdl380g6 , I want to connect it to 4 separate PCs without
> using any external switch, [...]

   Why?  Why not invest $30 (or so) in a simple (unmanaged) gigabit/s
Ethernet switch?

   How are these systems connected to what now?

> [...] is it possible?

   That might depend on exactly what "it" is.  It might be, but I
wouldn't bet on it.  How many Ethernet interfaces does your dl380g6
have?

> [...] How?

   I'd use Ethernet cables.  Whether SUSE provides any suitable software
to do this job is a different question.  (I know nothing, but my guess
would be no.)

   Is there some actual problem which you are trying to solve?  It might
help if you explained what that is, rather than asking how to implement
some particular "solution", which might or might not make much sense.

setare
Frequent Advisor

Re: How can I use hpdl380g6 as a simple switch?

Thanks for your comments,
I don’t have any experience in switch programming, so I can’t use manageable switch, but no problem with unmanaged switch. But for simplicity I omit it,
Hpdl480g6 has 4 onboard NIC ports. Now I use just one port, connect a pc to the server, But I need to use one another port of the server, to connect to another pc without using any switch either unmanaged one.
One day I test it, set 2 IP address to eth0, eth1 with same net id, but different host id.
I use a lap top and a pc, configured their nic, with 2 other ip, with same net id as server net id, and other different host id. I connected pc to eth0 and laptop to eth1 directly.
The ping test result was:
1- On server station:
Ping eth0 ip —> OK
ping eth1. ip —> OK
Ping pc ip —> OK
ping lap top ip —> DH.Unreachable.
2- on pc station:
ping eth0. ip —>. OK
ping eth1. ip —> D.H.Unreachable
ping laptop ip —>. D.H.Unreachable
3- On laptop station:
ping eth0. ip —>. D.H.Unreachable
ping eth1. ip —> D.H.Unreachable
ping pc ip —>. D.H.Unreachable
It seems that eth1 is not connected at all.
I will check the cable, and exchanged them.
Best regards!
Steven Schweda
Honored Contributor

Re: How can I use hpdl380g6 as a simple switch?

> [...] no problem with unmanaged switch. [...]

   Ok.  So I'd do that.

> [...] But for simplicity I omit it, [...]

   This must be some new meaning for "simplicity".

> [...] Hpdl480g6 has 4 onboard NIC ports. Now I use just one port,
> connect a pc to the server,

   Ok.  With four ports on the dl380g6, and "4 separate PCs", how would
you connect this mess to the Internet?

> Is there some actual problem which you are trying to solve?

   Still wondering.

> One day I test it, set 2 IP address to eth0, eth1 with same net id,
> but different host id.

   Showing actual addresses and subnet masks would be more helpful than
this vague description.

   If you configure multiple interfaces on the dl380g6 "with same net
id", then how should the network software on the dl380g6 decide which
interface to use when you want to send a message to one of the other
computers?

   If you want _real_ "simplicity", then I'd buy a cheap network switch,
and use it.

   Note that when you use an unmanaged switch, you do _not_ assign an IP
address (or subnet mask, et c.) to any of its interfaces.  A simple
network switch operates differently from the way a computer with
multiple network interfaces normally operates.

   If there _is_ a way to do what I think you might want, then I don't
know what it is.  The usual reason for using multiple network interfces
on a system is to connect it to multiple different subnets.  You don't
want multiple different subnets.