New ESXi server - web interface/vSwitch problems

RojBlake

Ars Legatus Legionis
48,129
Subscriptor
Couple of weird problems that are causing me significant head-desk damage right now on this new ESXi 6.5 U2 install:

1) vSwitch0 has a management vmk - I can ping its IP; I can bring up the web interface on it. I created vSwitch1 and created a management vmk there - I can ping it; I cannot bring up the web interface on it. The two vSwitches are identical other than the names and uplinks (vSwitch0 uses 10G SFP; vSwitch1 uses 1G RJ45). The two vmk's are identical other than the names and the IP addresses. All the switch ports have the same configuration.

2) I'm trying to get vSwitch0 to recognize 1G SFPs, but thus far no dice. When I connect everything I get link lights on the switch side but no link lights on the server side.

Anyone got any suggestions/solutions for either of these?
 

sryan2k1

Ars Legatus Legionis
46,881
Subscriptor++
2) I'm trying to get vSwitch0 to recognize 1G SFPs, but thus far no dice. When I connect everything I get link lights on the switch side but no link lights on the server side.


SFP+ ports don't have to support 1G, most do, but not all. Also most optics are a single speed so you'll need to make sure you have the right stuff.

Did you set vSwitch1's default gateway?
 

RojBlake

Ars Legatus Legionis
48,129
Subscriptor
Can you ssh in on the 2nd vmk ip? Also stupid question are you sure you enabled the management service on the 2nd vmk?
No and yes respectively.

---

What happens if you get on console and switch the management interface over to the other vmk? I vaguely recall having to change management interfaces once, and I remember there being some wonkiness if I tried it from within vCenter/the web UI.
Meaning, change the default management interface using the DCUI so that it uses the uplinks for vSwitch1?

---

SFP+ ports don't have to support 1G, most do, but not all. Also most optics are a single speed so you'll need to make sure you have the right stuff.
These are RJ45 SFP's that only support 1G. (This server is going into a datacenter that doesn't have 10G capability.) The OS just isn't recognizing them, for some reason. Or at least that's what I'm inferring from the absence of link lights.

Did you set vSwitch1's default gateway?
Both management vmk's are in the same subnet, so I'm assuming I don't need to overtly specify the default gateway for the one on vSwitch1. It's already getting it from the default TCP/IP stack.
 

sryan2k1

Ars Legatus Legionis
46,881
Subscriptor++
These are RJ45 SFP's that only support 1G. (This server is going into a datacenter that doesn't have 10G capability.) The OS just isn't recognizing them, for some reason. Or at least that's what I'm inferring from the absence of link lights.


Right, the actual port on the server might not support 1G (most do, but it's actually not a requirement in the spec for SFP+ to support SFP)
 

RojBlake

Ars Legatus Legionis
48,129
Subscriptor
Well, I went to grab a bite to eat and now the second management connection "just works". No idea why. Nothing was changed in the intervening time.

WTF?!

---

Right, the actual port on the server might not support 1G (most do, but it's actually not a requirement in the spec for SFP+ to support SFP)
Ah, right.

The datasheet says, "Two SFP+ ports (supporting 1G/10G)". So I should be good.

However, I don't see the SFP itself (OSI Networks model GLC-T-OSI) on the VMware compatibility matrix. Having said that, I can't find any SFP's on that matrix; it only seems to support a compatibility lookup for the cards themselves.

---

Why do you need the management interface on two IPs if they're both in the same subnet?
I don't. I want to have the management connection running from the 10G-ports-with-1G-SFP's so I figured I could create a second management vmk and then delete the original one once I get that working. That way, if things screwed up and the connection dropped, I wouldn't need to go to the datacenter to fix it.
 

Paladin

Ars Legatus Legionis
33,853
Subscriptor
My past experience with 1G SFP in 10G SFP+ port has been that you sometimes need to set the speed of the port to 1Gbit manually *before* inserting the SFP into the port.

No idea on whether this will help with ESXi or not. The relationship between their software and the actual hardware of the machine it is on is sometimes murky until you get into the console via ssh. You might find some help here.

If you need this to be reliable, look for a switch with 10 gigabit ports and work on getting 1 gigabit connectivity working there. The switch can be pretty cheap if you are ok with used gear. The speed settings there should be very reliable.
 

RojBlake

Ars Legatus Legionis
48,129
Subscriptor
My past experience with 1G SFP in 10G SFP+ port has been that you sometimes need to set the speed of the port to 1Gbit manually *before* inserting the SFP into the port.
That's good to know, thanks!

If you need this to be reliable, look for a switch with 10 gigabit ports and work on getting 1 gigabit connectivity working there.
I decided that I'd wasted enough time trying and failing to get this to work, so I bit the bullet and started again using a server than has four native 1G ports. So, problem basically solved!