I have 3 servers with dual nic 10gb card. can i connect them directly with cross cable without the need of switch and they will be able to ping each other in same network?

I want to create a vmotion virtual switch in ESXi and put both port, will ESXi find how to get each of the servers by the right interface?

Server A (10.0.0.1)

port1 -> Server B

port2 -> Server C

Server B (10.0.0.2)

port1-> Server A

port 2-> Server C

Server C (10.0.0.3)

port1-> Server A

port2-> Server B

  • Taledo@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’d be wary of loops with your setup to be honest. Wouldn’t it be possible to have server A go to B, B to C, and switch both interfaces of B in the same vswitch? Ngl I’m not that knowledgeable about esxi.

  • i_am_art_65@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I tried something similar one time but not on ESXi. Two ports can’t have the same IP address so I created an /etc/hosts file so each host knew about the other based on hostname and not ip address.

  • merkuron@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Make the 10.0.0._ addresses loopback addresses, and do point-to-point connections from each box to every other box. No idea how to do this in ESXi, but it’s straightforward in *nix/BSD.

  • jnew1213@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You wouldn’t need a crossover cable. 10G ports, as with most/all others these days, are auto-MDIX. They know when they should be in crossover mode and switch automatically.

  • Candy_Badger@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    I prefer using separate subnets for different network adapters. In any case, create vswitch and vmkernel for each network port and configure IPs.