Linux RHEL Virtualization

Nested Virtualization on RHV 4.3

While diving into Red Hat virtualization, I wanted to do some nested virtualization on my Intel NUC. In order to do nested virtualization on RHV 4.3 there are a few things you must configure. Please note that this feature is in tech preview currently.

First we need to check to make sure that nested virtualization is enabled on our host node. The Fedora docs have a great page for this.

In order to enable nested virtualization in RHV. You will need to pin the VM that you want to use it on to a particular host and disallow migration of that VM using live migration features. For me since this is a single NUC.

When building a new virtual machine or editing an existing one you will be looking at a screen that looks like the one below. Click on the ‘Host’ tab.

After you click on the host tab you will be looking at a screen similar to the screenshot below. You will want to pin the VM to a particular host, set the migration mode to Allow manual migration only. Once this is completed the Pass-Through Host CPU button will be enabled for use.

Now you will be able to do nested virtualization inside that particular VM. Repeat for any additional VMs you would like to have nested virtualization enabled.

Happy Nesting! – Mike

Fedora General Linux

Fedora 31 Update Review

Over the past week I updated my main machine from Fedora 30 to Fedora 31. I figured I would write a quick post about the overall experience thus far. I can say that overall the performance seems snappy than it was in Fedora 30. That being said I did run into a few bugs along the way.

The first bug I ran into was the dash-to-dock bug. After updating dash-to-dock settings would work but the dock would not appear on the desktop. I found that a updated RPM build was already available to the community and once applying the updated RPM from the software store and logging out and back in resolved my issues.

The second bug that reared it’s head wasn’t really a bug per se. I run a samba share on my main machine to share content to other machines on my main network. I went to browse my share to find it not working. Running smbtree on my machine failed to return anything but smbclient was working just fine but I saw a note about SMB1 protocol being disabled.

After a bit of digging I found that the new version of smb/nmb (4.11.0) that came with Fedora 31 had disabled SMB1 protocol by default. This older bug report lead me to the final conclusion. After updating my client’s autofs configs to add vers=3.0 everything was back in order and working.

Overall it was a great experience in comparison to some of my past major revision updates. I did have to reset my wallpaper as part of the screen was ‘torn’ but DKMS handled the nvidia kmod on the new kernel without issues, which was pleasantly surprising.


Linux Random Windows

Windows 10 + WSL + Cmder + neofetch = <3

Sometimes we have no choice of what operating system we have to run in our work environments. Many of us stick to our old ways using putty or cygwin to get by. I wanted something more so I went looking and this is what I have come up with. Multiple tabbed terminal sessions and all your native linux options at your fingers tips in windows with a little added rice. 😉

First you want to install WSL and a flavor of Ubuntu from the Windows store. Once we have our ubuntu environment ready, lets update it. Launch it and run the following commands:

sudo apt-get update && apt-get upgrade

Then you will want to install neofetch in our Ubuntu environment. Follow the correct instructions for your version of Ubuntu installed.

Conemu seems to do something weird with the title display in neofetch so lets fix that first.

vi ~/.config/neofetch/config.conf

Add the following above info title
info line_break

Now we need to set our distro logo and set it to run on launch.

vi ~/.bash_aliases
alias neofetch2="neofetch \
--ascii_distro windows10 \
--line_wrap off \
--bold on \
--uptime_shorthand on

vi ~/.bashrc

At the very bottom of the file add the following:

cd ~

Now lets wrap this up by configuring cmder. Download and extract the latest version of cmder from here. Run cmder, once open right click on the top bar and select settings. Change your default startup task to {WSL:bash} and save your settings. The end result will look like the image at the top of this post.



DHCP Troubleshooting & Wireshark

The other day I needed to do some DHCP troubleshooting. I have yet to learn all that tcpdump can do (I know it can do this filtering as well), so I at this time do most of my filtering in wireshark. icon-WireShark

Say you are looking for just the packets pertaining to one particular mac address. You can view these by using the following wireshark filter:

bootp.hw.mac_addr == 00:aa:bb:cc:dd:ee

I have found this to be very useful when I am trying to debug issues client devices maybe having or looking at the dhcp options being sent to a dhcp server.


Resetting Cisco Config to Default

There are a couple of ways you can go about resetting a cisco switch back to its default state, however, I recommend this over doing a write erase.

Simply use the following commands to erase the running configuration and go back to factory state:

delete flash:vlan.dat
erase startup-config


Welcome to

Here I will blog about the random things related to technology and other items that I get into as time progresses. I hope that here I can share things that I know or learn on my journeys that may help others with similar interests. If you like what you read, please share and help me grow the site further. Feel free to comment and let me know your thoughts on particular articles and if you have anything to share please do so!