My great grandfather served in the Civil War (Union Army, infantry).
My father served post-WW1 in the U.S. Army, infantry, rank of corporal.
My wife's deceased husband was in the USAAF/USAF during WW2 and Korea as a navigator, rank of major. Her son was a doctor (lieutenant) in the USN in the 1980's; his wife was a doctor (captain) in the USAF during the same period.
I was in the USNR from 1964 to 1987 as a Gunner's Mate (E-9 when I retired).