<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Melissa</title>
    <description>The latest articles on DEV Community by Melissa (@melnet).</description>
    <link>https://dev.to/melnet</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4179132%2Fdb2ef26f-272e-4e05-bd4d-0954686ac00f.png</url>
      <title>DEV Community: Melissa</title>
      <link>https://dev.to/melnet</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/melnet"/>
    <language>en</language>
    <item>
      <title>My First Tor Bridge - TOR snowflake</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Sun, 22 Nov 2026 16:04:01 +0000</pubDate>
      <link>https://dev.to/melnet/my-first-tor-bridge-tor-snowflake-4c79</link>
      <guid>https://dev.to/melnet/my-first-tor-bridge-tor-snowflake-4c79</guid>
      <description>&lt;p&gt;Today I installed a live proxy.&lt;/p&gt;

&lt;p&gt;Browser Used: Opera (my daily driver for studying)&lt;/p&gt;

&lt;p&gt;Goal: Install Snowflake to help people bypass censorship and actually SEE network traffic doing something while I learn.&lt;/p&gt;

&lt;p&gt;Steps Taken:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Went to Chrome Web Store in Opera and added Snowflake extension.&lt;/li&gt;
&lt;li&gt;Checked Extensions - it showed as enabled.&lt;/li&gt;
&lt;li&gt;Pinned it to toolbar so I can watch it. As a network student, I want to see things doing stuff.&lt;/li&gt;
&lt;li&gt;The badge said 0 at first, then after a few minutes: 1 user connected.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Problems Encountered:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Confusing permissions: It asked to "Allow in private windows" and "Allow access to search page results".&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I turned ON private windows (so it keeps running).&lt;/li&gt;
&lt;li&gt;I left OFF search page results (it doesn't need to read my searches).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The stubborn toggle: There is an option "Keep running when browser is closed". It would not switch ON. It just sits there.&lt;br&gt;
I went looking in Opera Settings &amp;gt; Advanced &amp;gt; System for "Continue running background apps when Opera is closed" and the option isn't there anymore. Opera removed it in newer versions.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Result:&lt;/p&gt;

&lt;p&gt;It IS working. I have 1 user connected right now. That means someone, somewhere, got online because my Opera is acting as a bridge. From not being able to remember how I cabled two TinyCore VMs this morning, to being a live bridge by lunch.&lt;/p&gt;

&lt;p&gt;Solution for When Opera Is Closed:&lt;/p&gt;

&lt;p&gt;For now: I just minimize Opera instead of closing it. As long as it's open, Snowflake works.&lt;/p&gt;

&lt;p&gt;Material For Future Networking Lab:&lt;/p&gt;

&lt;p&gt;Next lab project: Build a standalone Snowflake proxy server (not the browser extension). That way it runs 24/7 even when Opera is closed, like a real always-on node. It will be a good lab to add next to my TinyCore ping tests - one lab shows local networking, one shows global networking.&lt;/p&gt;

&lt;p&gt;Lesson: Networking is 50% things not doing what the button promises, and 100% grumpy but worth it when you see that "1 user connected".&lt;/p&gt;

</description>
      <category>snowflake</category>
      <category>tor</category>
      <category>bandwidth</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Let's share - Part 1</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Thu, 19 Nov 2026 17:40:03 +0000</pubDate>
      <link>https://dev.to/melnet/lets-share-part-1-3d32</link>
      <guid>https://dev.to/melnet/lets-share-part-1-3d32</guid>
      <description>&lt;p&gt;BANDWIDTH SHARING LAB - Part 1&lt;br&gt;
Created: 2026-11-18&lt;br&gt;
Goal: Learn to share bandwidth ethically&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SNOWFLAKE - Help people in censored countries (MOST IMPACT)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What it does: You become a temporary bridge for Tor users where Tor is blocked. AccessNow promotes this.&lt;/p&gt;

&lt;p&gt;Setup (30 sec, toggle ON/OFF daily):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Firefox: Add-ons &amp;gt; Search "Snowflake" by Tor Project &amp;gt; Add&lt;/li&gt;
&lt;li&gt;Chrome: Web Store &amp;gt; "Snowflake" &amp;gt; Install&lt;/li&gt;
&lt;li&gt;Click puzzle icon &amp;gt; Pin Snowflake &amp;gt; Click to turn ON&lt;/li&gt;
&lt;li&gt;Check: It will say "Connected, helping X users"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Safety: Very safe, low bandwidth (~5-10 MB/hour), no relay of illegal content, just handshake.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;TOR RELAY (Middle Relay) - What AccessNow runs&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What it does: Your computer passes encrypted Tor traffic. You help the network be faster. You are NOT an exit relay (safer).&lt;/p&gt;

&lt;p&gt;Setup for Windows (Lab only - don't run 24/7 yet):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Download Tor Browser, but for relay you need Tor Expert Bundle from torproject.org&lt;/li&gt;
&lt;li&gt;Install, then edit torrc file (usually in Tor Browser/Data/Tor/torrc)&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add these lines:&lt;br&gt;
Nickname MyFirstRelay&lt;br&gt;
ORPort 9001&lt;br&gt;
ContactInfo &lt;a href="mailto:your-email@example.com"&gt;your-email@example.com&lt;/a&gt;&lt;br&gt;
RelayBandwidthRate 500 KB&lt;br&gt;
RelayBandwidthBurst 1 MB&lt;br&gt;
ExitRelay 0&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Restart Tor. Check logs for "Self-testing indicates your ORPort is reachable"&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Lab task: Run for 2 hours max, watch bandwidth in qBittorrent-style monitor. Then stop.&lt;br&gt;
Important: Only do this on your home WiFi, not work/school WiFi. AccessNow runs theirs on servers, not laptops.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;INTERNET ARCHIVE &amp;amp; LINUX DISTROS - Keep seeding&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What it does: - seeding.&lt;/p&gt;

&lt;p&gt;How to do it ethically:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Keep seeding Kali Linux torrent I have &lt;/li&gt;
&lt;li&gt;Add: Ubuntu, Tails OS, Tor Browser bundle torrents&lt;/li&gt;
&lt;li&gt;Internet Archive: Go to archive.org, find "Linux ISO collection" or "Open Source Software" - they provide torrents&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Setup:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In qBittorrent &amp;gt; Options &amp;gt; Speed &amp;gt; Set Upload limit to 500 KiB/s so battery lasts&lt;/li&gt;
&lt;li&gt;Options &amp;gt; Downloads &amp;gt; Check "Do not start torrent automatically" - so YOU control when you share&lt;/li&gt;
&lt;li&gt;Lab task: Each Bandwidth Day, pick ONE distro to seed for 1 hour&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>snowflake</category>
      <category>torrelay</category>
      <category>opensource</category>
      <category>bandwidthsharing</category>
    </item>
    <item>
      <title>Part 2: The Main Problem - My Kali Download Was Too Small</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Wed, 18 Nov 2026 10:55:05 +0000</pubDate>
      <link>https://dev.to/melnet/part-2-the-main-problem-my-kali-download-was-too-small-2l0h</link>
      <guid>https://dev.to/melnet/part-2-the-main-problem-my-kali-download-was-too-small-2l0h</guid>
      <description>&lt;h2&gt;
  
  
  Part 2: The Main Problem - My Kali Download Was Too Small
&lt;/h2&gt;

&lt;p&gt;I thought setting up the Kali VM would be the easy part. Download, import, start. But my download from Kali.org was not big enough. The file was way smaller than it should have been - and that was the clue.&lt;/p&gt;

&lt;p&gt;A full Kali VirtualBox image should be several gigabytes. Mine was a few hundred MB. It was incomplete. VirtualBox tried to start it anyway.&lt;/p&gt;

&lt;h3&gt;
  
  
  How I Fixed It
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt; Deleted the small file&lt;/li&gt;
&lt;li&gt; Went back to Kali.org and re-downloaded the VirtualBox image (make sure you get the .ova file)&lt;/li&gt;
&lt;li&gt; Checked the size before importing - this time it was ~3GB+&lt;/li&gt;
&lt;li&gt; In VirtualBox: File &amp;gt; Import Appliance &amp;gt; chose the new big file&lt;/li&gt;
&lt;li&gt; This time I left the settings on default - 2 CPUs, 2048MB RAM, and made sure "Enable I/O APIC" was ticked in System &amp;gt; Motherboard&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After that, the VM started easily. No more frozen screen.&lt;/p&gt;

&lt;h3&gt;
  
  
  Then Came The Mouse Trap
&lt;/h3&gt;

&lt;p&gt;Even with a good download, I still got trapped by the Host Key.&lt;/p&gt;

&lt;p&gt;Look at the bottom-right corner of VirtualBox. It tells you your Host Key - mine is Right Ctrl (the Ctrl on the far right near the arrow keys).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Left Ctrl = normal key Kali uses inside&lt;/li&gt;
&lt;li&gt;  Right Ctrl = your escape key to give mouse/keyboard back to Windows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If it says "mouse and keyboard are captured" you're actually doing it right - Kali has your typing now.&lt;/p&gt;

&lt;p&gt;Login is:&lt;br&gt;
Username: kali&lt;br&gt;
Password: kali&lt;/p&gt;

&lt;p&gt;Click the top box, type kali, press Tab, type kali, press Enter. If it looks frozen, do Machine &amp;gt; Reset and try again, or press Left Ctrl + Left Alt + F2 for a black terminal login.&lt;/p&gt;

&lt;h3&gt;
  
  
  Troubleshooting Checklist If You Get Stuck
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Is your .ova file at least 2-3GB? If not, re-download.&lt;/li&gt;
&lt;li&gt;Did you import, not just open the file?&lt;/li&gt;
&lt;li&gt;Are you pressing RIGHT Ctrl to escape, not Left?&lt;/li&gt;
&lt;li&gt;Try the Tab x3 blind typing trick at login&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once you're at the $ prompt, try: whoami, pwd, ls&lt;/p&gt;

&lt;p&gt;You are officially in. The battery-draining, overwhelming, amazing part can start.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>cybersecurity</category>
      <category>linux</category>
      <category>security</category>
    </item>
    <item>
      <title>Why I'm Putting Kali in a Box: Part 1 - Installing Metasploit Without Breaking My Laptop (or Getting Banned)</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Tue, 17 Nov 2026 12:18:34 +0000</pubDate>
      <link>https://dev.to/melnet/why-im-putting-kali-in-a-box-part-1-installing-metasploit-without-breaking-my-laptop-or-2d2j</link>
      <guid>https://dev.to/melnet/why-im-putting-kali-in-a-box-part-1-installing-metasploit-without-breaking-my-laptop-or-2d2j</guid>
      <description>&lt;p&gt;WHY I'M INSTALLING KALI ON ITS OWN VM TO USE METASPLOIT&lt;/p&gt;

&lt;p&gt;I'm installing Kali Linux on a dedicated VirtualBox VM because it's the cleanest and safest way to learn Metasploit.&lt;/p&gt;

&lt;p&gt;My main laptop runs Windows, and I don't want to dual-boot or install hacking tools directly on my host OS. A VM is like a computer inside my computer. If I break Kali, I just delete the VM and start again - my main system stays safe. It also lets me build a little lab network later: I plan to have other VMs (Kali as the attacker and other vulnerable machines to practice on), all isolated from my real network.&lt;/p&gt;

&lt;p&gt;Kali comes with Metasploit pre-installed, which is the framework I want to learn for ethical hacking / lab work. Running it in its own VM keeps everything contained and portable.&lt;/p&gt;

&lt;p&gt;WHY PUTTING IT IN A BOX MATTERS - WHAT KALI ACTUALLY IS&lt;/p&gt;

&lt;p&gt;Kali isn't an app. It's a full hacking toolbox that assumes you know what you're doing and that you have permission to do it. &lt;/p&gt;

&lt;p&gt;My laptop is where I bank, study, and live. I don't want a toolbox that can scan the whole street sitting loose in my living room. So I'm putting it in a box - a VirtualBox - where I can break things, learn, and snap it back.&lt;/p&gt;

&lt;p&gt;If you run Metasploit directly on Windows, three things happen: First, you risk your own system because Kali tools often run as root and one wrong command can wipe more than you meant to. Second, you light up every defense around you - Windows Defender flags Metasploit as a threat, your home WiFi or college network can auto-block you because you look like an attacker. It's not police, it's the automatic bouncers that are designed to remove threats and keep them gone. Third, you pollute your daily driver with hundreds of network drivers that break your normal WiFi and VPN.&lt;/p&gt;

&lt;p&gt;In a VM, I can screenshot every VM when it is working before messing with Kali, so I can restore my whole lab network if I accidentally wreck it. Contained, portable, restorable.&lt;/p&gt;

&lt;p&gt;WHY KALI WOULDN'T INSTALL / WOULDN'T BOOT - AND WHAT I TRIED TODAY&lt;/p&gt;

&lt;p&gt;What should have been a 20-minute install turned into a full troubleshooting day.&lt;/p&gt;

&lt;p&gt;Problem 1: Extension Pack Not Installed&lt;br&gt;
Logs kept showing "Extension pack not installed" even after reinstalling VirtualBox 7.2.22. &lt;br&gt;
Fix: Uninstalling/reinstalling VirtualBox does NOT reinstall the extension pack. You have to manually install the file Oracle_VirtualBox_Extension_Pack-7.2.22.vbox-extpack by double-clicking it, or via Tools &amp;gt; Extension Pack Manager &amp;gt; Install. I had 3 different versions in Downloads which caused confusion. Once we installed the correct 7.2.22 version, the log error went away.&lt;/p&gt;

&lt;p&gt;Problem 2: VM Aborting on Start (USB Controller Bug)&lt;br&gt;
After fixing the extension pack, Kali would still abort immediately.&lt;br&gt;
Root cause: The USB 3.0 controller setting. The VM was saved in a Saved State, which locks settings. Every time I unchecked "Enable USB Controller" in Settings &amp;gt; USB, it would switch itself back on after closing the window.&lt;br&gt;
I tried:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Discard Saved State (option was greyed out)&lt;/li&gt;
&lt;li&gt;Remove Only &amp;gt; Machine &amp;gt; Add to re-import the .vbox file to unlock settings&lt;/li&gt;
&lt;li&gt;Manually editing the .vbox file to set enabled="false"&lt;/li&gt;
&lt;li&gt;Using VBoxManage command: VBoxManage.exe modifyvm "Kali-Lab" --usb off (still fighting with Program Files path)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Problem 3: Accidentally Deleting the VM&lt;br&gt;
During the Remove step, the VM disappeared from the list and from the D:\VMs\ folder. Had to create a new VM from scratch.&lt;/p&gt;

&lt;p&gt;WHAT I'LL TRY TOMORROW TO MAKE IT WORK - PART 2 PREVIEW&lt;/p&gt;

&lt;p&gt;Tomorrow's plan to finally get Metasploit running (Part 2 will be the implementation):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Fresh VM creation with safe defaults: New Kali VM, 2GB+ RAM, Disable EFI (System &amp;gt; Motherboard &amp;gt; Enable EFI unchecked), and immediately run the VBoxManage command to force USB off before first boot.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install Kali from ISO without USB: Boot the ISO with USB controller disabled. If it still forces USB on, we'll set USB to 1.1 (OHCI) instead of disabled - sometimes VirtualBox accepts that when it won't accept OFF.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Once Kali boots, first thing inside Kali: Open terminal and run msfconsole to confirm Metasploit loads. Then take a snapshot in VirtualBox so I never have to redo this setup again.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Re-add the other lab VMs using Machine &amp;gt; Add and set them all to USB disabled from the start.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Goal for tomorrow: One stable Kali VM where msfconsole actually opens.&lt;/p&gt;

</description>
      <category>virtualbox</category>
      <category>metasploit</category>
      <category>cybersecurity</category>
      <category>kalilinux</category>
    </item>
    <item>
      <title>Part 2: Friday 13th Didn't Win - From Typo to Full/DR</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Sun, 15 Nov 2026 14:05:07 +0000</pubDate>
      <link>https://dev.to/melnet/part-2-friday-13th-didnt-win-from-typo-to-fulldr-493c</link>
      <guid>https://dev.to/melnet/part-2-friday-13th-didnt-win-from-typo-to-fulldr-493c</guid>
      <description>&lt;p&gt;Part 2: Friday 13th Didn't Win - From Typo to Full/DR&lt;/p&gt;

&lt;p&gt;EDITOR'S NOTE ON DATES:&lt;br&gt;
Troubleshooting in this post was done live on Friday 13th, despite the risks. I'm not publishing it today because I need to read it again first to fact-check, so that explains why the publish date will be different.&lt;/p&gt;




&lt;p&gt;WHERE PART 1 LEFT US:&lt;br&gt;
At the end of Part 1, OSPF was silent. show ip ospf was empty. My first automation script had worked, but with the wrong router-ids and a messy lo interface table. As I said at the time: I left the lo IDs there on purpose to see them. First automation, you want to see proof.&lt;/p&gt;

&lt;p&gt;THE DELETE SCRIPT AND WHY I USED IT:&lt;br&gt;
Before I can fix, I have to clean. VyOS won't let you just overwrite some OSPF values cleanly if you have a half-config.&lt;/p&gt;

&lt;p&gt;So I wrote delete_OSPF12NOV.py. The typo in the filename that PowerShell hated was my Friday 13th tax.&lt;/p&gt;

&lt;p&gt;The script does:&lt;br&gt;
configure&lt;br&gt;
delete protocols ospf&lt;br&gt;
delete interfaces loopback lo address 1.1.1.1/32 etc&lt;br&gt;
commit&lt;br&gt;
save&lt;br&gt;
exit&lt;/p&gt;

&lt;p&gt;Why? Because I want to start from zero and then add back the correct router-ids: 1.1.1.1, 2.2.2.2, 3.3.3.3. And I want those IDs to actually show up on lo so I can see them in show interfaces.&lt;/p&gt;

&lt;p&gt;PowerShell lesson: python .\delete_OSPF12NOV.py - and double check filename spelling. File not found = typo.&lt;/p&gt;

&lt;p&gt;import getpass&lt;br&gt;
from netmiko import ConnectHandler&lt;/p&gt;

&lt;p&gt;routers = ["192.168.56.101", "192.168.56.102", "192.168.56.103"]&lt;br&gt;
username = input("VyOS username: ")&lt;br&gt;
password = getpass.getpass("VyOS password: ")&lt;/p&gt;

&lt;p&gt;delete_commands = [&lt;br&gt;
    "configure",&lt;br&gt;
    "delete protocols ospf",&lt;br&gt;
    "delete interfaces loopback lo address",&lt;br&gt;
    "commit",&lt;br&gt;
    "save",&lt;br&gt;
    "exit"&lt;br&gt;
]&lt;/p&gt;

&lt;p&gt;for ip in routers:&lt;br&gt;
    print(f"\n--- Deleting OSPF on {ip} ---")&lt;br&gt;
    device = {&lt;br&gt;
        "device_type": "vyos",&lt;br&gt;
        "host": ip,&lt;br&gt;
        "username": username,&lt;br&gt;
        "password": password,&lt;br&gt;
    }&lt;br&gt;
    try:&lt;br&gt;
        conn = ConnectHandler(**device)&lt;br&gt;
        output = conn.send_config_set(delete_commands)&lt;br&gt;
        print(output)&lt;br&gt;
        conn.disconnect()&lt;br&gt;
    except Exception as e:&lt;br&gt;
        print(f"BUG on {ip}: {e}")&lt;/p&gt;

&lt;p&gt;THE UPDATED PYTHON SCRIPT:&lt;br&gt;
This is the version that finally worked. Note the change from 10.0.0.x to real router-ids, and the explicit loopback address so the ID is visible on lo.&lt;/p&gt;

&lt;p&gt;import getpass&lt;br&gt;
from netmiko import ConnectHandler&lt;/p&gt;

&lt;p&gt;routers = [&lt;br&gt;
    {"host": "192.168.56.101", "router_id": "1.1.1.1", "lo_ip": "1.1.1.1/32"},&lt;br&gt;
    {"host": "192.168.56.102", "router_id": "2.2.2.2", "lo_ip": "2.2.2.2/32"},&lt;br&gt;
    {"host": "192.168.56.103", "router_id": "3.3.3.3", "lo_ip": "3.3.3.3/32"},&lt;br&gt;
]&lt;/p&gt;

&lt;p&gt;username = input("VyOS username: ")&lt;br&gt;
password = getpass.getpass("VyOS password: ")&lt;/p&gt;

&lt;p&gt;for r in routers:&lt;br&gt;
    print(f"\n--- {r['host']} ---")&lt;br&gt;
    device = {&lt;br&gt;
        "device_type": "vyos",&lt;br&gt;
        "host": r['host'],&lt;br&gt;
        "username": username,&lt;br&gt;
        "password": password,&lt;br&gt;
    }&lt;br&gt;
    try:&lt;br&gt;
        conn = ConnectHandler(**device)&lt;br&gt;
        cmds = [&lt;br&gt;
            "configure",&lt;br&gt;
            f"set interfaces loopback lo address {r['lo_ip']}",&lt;br&gt;
            f"set protocols ospf area 0 network 192.168.56.0/24",&lt;br&gt;
            f"set protocols ospf parameters router-id {r['router_id']}",&lt;br&gt;
            "commit",&lt;br&gt;
            "save",&lt;br&gt;
            "exit"&lt;br&gt;
        ]&lt;br&gt;
        output = conn.send_config_set(cmds)&lt;br&gt;
        print(output)&lt;br&gt;
        conn.disconnect()&lt;br&gt;
    except Exception as e:&lt;br&gt;
        print(f"BUG on {r['host']}: {e}")&lt;/p&gt;

&lt;p&gt;print("\nDone - now check R1: show interfaces | show ip ospf neighbor")&lt;/p&gt;

&lt;p&gt;THE RESULT OF show ip ospf neighbor:&lt;/p&gt;

&lt;p&gt;First, the lesson: it's ospf, not OSPF. Case sensitive. And it's neighbor, not neighbors.&lt;/p&gt;

&lt;p&gt;I ran:&lt;br&gt;
vyos@VyOS-R1:~$ show ip ospf neighbors&lt;br&gt;
-&amp;gt; Invalid command: show ip ospf [neighbors]&lt;/p&gt;

&lt;p&gt;Then:&lt;br&gt;
vyos@VyOS-R1:~$ show ip ospf neighbor&lt;/p&gt;

&lt;p&gt;And I have neighbors! Proof from R1:&lt;/p&gt;

&lt;p&gt;Neighbor ID     Pri State           Up Time   Dead Time Address           Interface&lt;br&gt;
2.2.2.2           1 Full/Backup     17m30s    31.154s 192.168.56.102      eth0:192.168.56.101&lt;br&gt;
3.3.3.3           1 Full/DR         17m44s    35.845s 192.168.56.103      eth0:192.168.56.101&lt;/p&gt;

&lt;p&gt;Translation:&lt;br&gt;
R1 -&amp;gt; R2 Full/Backup&lt;br&gt;
R1 -&amp;gt; R3 Full/DR&lt;/p&gt;

&lt;p&gt;That is OSPF Area 0 fully formed. No console clicks. Just Python from Windows to three VyOS routers.&lt;/p&gt;

&lt;p&gt;CONCLUSION:&lt;br&gt;
Status at end of Part 2: From "OSPF is not enabled" to "Full/DR". That weary feeling of expecting more problems? Friday 13th didn't win.ontent&lt;/p&gt;

</description>
      <category>automaton</category>
      <category>virtualbox</category>
      <category>python</category>
      <category>debugging</category>
    </item>
    <item>
      <title>The ISP That Wouldn't Talk - Automating OSPF in Oracle VM (Part 1)</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Fri, 13 Nov 2026 12:55:47 +0000</pubDate>
      <link>https://dev.to/melnet/the-isp-that-wouldnt-talk-automating-ospf-in-oracle-vm-part-1-4o4l</link>
      <guid>https://dev.to/melnet/the-isp-that-wouldnt-talk-automating-ospf-in-oracle-vm-part-1-4o4l</guid>
      <description>&lt;h1&gt;
  
  
  The ISP That Wouldn't Talk - Automating OSPF in Oracle VM (Part 1)
&lt;/h1&gt;

&lt;p&gt;Today was supposed to be simple: Spin up 3 VyOS routers in Oracle VM, make them talk OSPF, and prove my Python automation works. Instead, I spent the evening fighting PowerShell and a silent OSPF process.&lt;/p&gt;

&lt;p&gt;This is Part 1 of building the ISP backbone for my lab.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Goal
&lt;/h2&gt;

&lt;p&gt;Configure OSPF Area 0 across three VyOS routers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;VyOS-R1 (192.168.56.101) - router-id 10.0.0.1&lt;/li&gt;
&lt;li&gt;VyOS-R2 (192.168.56.102) - router-id 10.0.0.2
&lt;/li&gt;
&lt;li&gt;VyOS-R3 (192.168.56.103) - router-id 10.0.0.3
All on 192.168.56.0/24&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All configuration must be done via automation, not console clicks.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Script That Was Sent via SSH
&lt;/h2&gt;

&lt;p&gt;This is the script I ran from Windows PowerShell using Netmiko over SSH. It sends VyOS config commands as the vyos user.&lt;/p&gt;

&lt;p&gt;File: OSPF12NOV.py (on Desktop)&lt;/p&gt;

&lt;p&gt;import getpass&lt;br&gt;
from netmiko import ConnectHandler&lt;/p&gt;

&lt;p&gt;routers = [&lt;br&gt;
    {"host": "192.168.56.101", "router_id": "10.0.0.1"},&lt;br&gt;
    {"host": "192.168.56.102", "router_id": "10.0.0.2"},&lt;br&gt;
    {"host": "192.168.56.103", "router_id": "10.0.0.3"},&lt;br&gt;
]&lt;/p&gt;

&lt;p&gt;username = "vyos"&lt;br&gt;
password = getpass.getpass("VyOS password: ")&lt;/p&gt;

&lt;p&gt;for r in routers:&lt;br&gt;
    print(f"\n--- Configuring OSPF on {r['host']} ---")&lt;br&gt;
    device = {&lt;br&gt;
        "device_type": "vyos",&lt;br&gt;
        "host": r['host'],&lt;br&gt;
        "username": username,&lt;br&gt;
        "password": password,&lt;br&gt;
    }&lt;br&gt;
    conn = ConnectHandler(**device)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;config_commands = [
    "configure",
    f"set protocols ospf area 0 network 192.168.56.0/24",
    f"set protocols ospf parameters router-id {r['router_id']}",
    "commit",
    "save",
    "exit"
]

output = conn.send_config_set(config_commands)
print(output)
conn.disconnect()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The script reported no errors. I thought I was done.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Went Wrong - The 2 Bugs
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Bug 1: PowerShell Command Precedence
&lt;/h3&gt;

&lt;p&gt;I tried to run the script like this:&lt;br&gt;
PS&amp;gt; neighbors.py&lt;/p&gt;

&lt;p&gt;Error:&lt;br&gt;
neighbors.py : The term 'neighbors.py' is not recognized...&lt;/p&gt;

&lt;p&gt;Fix: Windows PowerShell does not run files from the current directory without .\&lt;br&gt;
Correct way:&lt;br&gt;
PS&amp;gt; python .\neighbors.py&lt;br&gt;
or&lt;br&gt;
PS&amp;gt; .\neighbors.py&lt;/p&gt;

&lt;h3&gt;
  
  
  Bug 2: The Silent OSPF Process - The Big One
&lt;/h3&gt;

&lt;p&gt;After fixing 1 and 2, I checked the router directly:&lt;/p&gt;

&lt;p&gt;vyos@VyOS-R1:~$ show configuration commands | match ospf&lt;br&gt;
set protocols ospf area 0 network '192.168.56.0/24'&lt;br&gt;
set protocols ospf parameters router-id '10.0.0.1'&lt;/p&gt;

&lt;p&gt;Config is there. Committed. Saved. Looks good.&lt;/p&gt;

&lt;p&gt;Then:&lt;/p&gt;

&lt;p&gt;vyos@VyOS-R1:~$ show ip ospf&lt;br&gt;
vyos@VyOS-R1:~$&lt;/p&gt;

&lt;p&gt;Nothing. Blank. And:&lt;br&gt;
vyos@VyOS-R1:~$ show ip ospf neighbor&lt;br&gt;
% OSPF is not enabled&lt;/p&gt;

&lt;p&gt;The configuration exists but the OSPF daemon never started. This is why automation matters - if I had clicked it manually I would have assumed I made a typo. Because the script ran with no errors, I know the commit succeeded but the service did not.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Will Do Tomorrow to Fix It - Part 2 Plan
&lt;/h2&gt;

&lt;p&gt;I am NOT fixing it manually tonight. If I fix it by hand, this is no longer an automation lab and I won't know if the script can properly delete and recreate.&lt;/p&gt;

&lt;p&gt;Tomorrow's plan:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Create a clean delete script (delete_ospf.py) to wipe OSPF:&lt;br&gt;
configure&lt;br&gt;
delete protocols ospf&lt;br&gt;
commit&lt;br&gt;
save&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Re-run the add script (OSPF12NOV.py) fresh after delete&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Debug why FRR/OSPF is not starting:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Check show ip ospf interface&lt;/li&gt;
&lt;li&gt;Check show log | match ospf&lt;/li&gt;
&lt;li&gt;Potentially need to specify area-type or explicitly enable on interface&lt;/li&gt;
&lt;li&gt;Test with a manual minimal config on one router first, then put that working config back into the Python script&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Final verification that proves automation works:&lt;br&gt;
ssh &lt;a href="mailto:vyos@192.168.56.101"&gt;vyos@192.168.56.101&lt;/a&gt;&lt;br&gt;
show ip ospf neighbor&lt;br&gt;
-&amp;gt; Should show Full state for .102 and .103&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Goal for Part 2: From "OSPF is not enabled" to "Full/BDR" using only Python scripts.&lt;/p&gt;




&lt;p&gt;Status at end of Part 1: Config present, OSPF process silent. Lab left in broken state on purpose.&lt;/p&gt;

</description>
      <category>python</category>
      <category>virtualbox</category>
      <category>automaton</category>
      <category>vyos</category>
    </item>
    <item>
      <title>LAB PART 5 of N - SYSLOG R1 TO WINDOWS</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Thu, 12 Nov 2026 13:30:22 +0000</pubDate>
      <link>https://dev.to/melnet/lab-part-5-of-n-syslog-r1-to-windows-mn1</link>
      <guid>https://dev.to/melnet/lab-part-5-of-n-syslog-r1-to-windows-mn1</guid>
      <description>&lt;h2&gt;
  
  
  *&lt;em&gt;WHY SYSLOG *&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;Central log on Windows for all routers. Proves ISP edge R1 is alive before NAT/OSPF.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 1: WINDOWS - CHECK AND OPEN PORT&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Run PowerShell as Administrator&lt;/em&gt;&lt;br&gt;
netstat -an | findstr 514&lt;br&gt;
netsh advfirewall firewall add rule name="Syslog 514 UDP" dir=in action=allow protocol=UDP localport=514&lt;br&gt;
&lt;em&gt;Expected result:&lt;/em&gt;&lt;br&gt;
PS C:\Windows\system32&amp;gt; netsh advfirewall firewall add rule name="Syslog 514 UDP" dir=in action=allow protocol=UDP localport=514&lt;br&gt;
Ok.&lt;br&gt;
New-NetFirewallRule -DisplayName "Syslog514" -Direction Inbound -Protocol UDP -LocalPort 514 -Action Allow&lt;br&gt;
netstat -an | findstr 514&lt;br&gt;
Should now show:&lt;br&gt;
TCP    0.0.0.0:514            0.0.0.0:0              LISTENING&lt;br&gt;
UDP    0.0.0.0:514            :&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 2: SYSLOG WATCHER APP&lt;/strong&gt;&lt;br&gt;
Open Syslog Watcher &amp;gt; Settings &amp;gt; Check "Allow Remote Access" / "Enable Remote Access"&lt;br&gt;
Restart Syslog Watcher&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 3: VYOS R1 - FIX AND SEND&lt;/strong&gt;&lt;br&gt;
On R1 - VyOS-R1&lt;br&gt;
ping 192.168.56.1&lt;br&gt;
Must ping before continuing. If not, fix Host-Only adapter gateway.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;IMPORTANT:&lt;/em&gt; Copy this exact line, the quotes matter to keep .&lt;br&gt;
sudo bash -c "echo '. @192.168.56.1:514' &amp;gt; /etc/rsyslog.d/99-lab.conf"&lt;br&gt;
cat /etc/rsyslog.d/99-lab.conf&lt;br&gt;
&lt;em&gt;Must show&lt;/em&gt;: . @192.168.56.1:514   NOT   . @192.168.56.1:514&lt;/p&gt;

&lt;p&gt;sudo systemctl restart rsyslog&lt;br&gt;
sleep 3&lt;/p&gt;

&lt;p&gt;logger FINAL TEST FROM R1&lt;br&gt;
logger TRY AGAIN FROM R1&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;IF STILL NOTHING SHOWS - DEBUG BLOCK&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;sudo tcpdump -c 5 -i eth0 port 514&lt;br&gt;
In another session run: logger PACKET TEST R1&lt;br&gt;
If tcpdump shows packet -&amp;gt; problem is Windows Firewall/Watcher&lt;br&gt;
If tcpdump shows nothing -&amp;gt; problem is R1 config fileHOW I FIXED SYSLOG MONITORING ON VYOS-R1 ---&lt;/p&gt;

&lt;p&gt;Last night I finally got syslog monitoring working on R1. The main issue was I was using the wrong config for this version of VyOS.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I was on VyOS 2026.03:&lt;/em&gt;&lt;br&gt;
vyos@VyOS-R1:~$ show version | match VyOS&lt;br&gt;
Version:          VyOS 2026.03&lt;/p&gt;

&lt;p&gt;I kept trying the old syntax (set system syslog host 192.168.56.1) and VyOS kept returning "invalid syslog command". For 2026.03 the correct syntax is:&lt;/p&gt;

&lt;p&gt;configure&lt;br&gt;
delete system syslog host&lt;br&gt;
set system syslog global facility all level notice&lt;br&gt;
set system syslog global facility protocols level warning&lt;br&gt;
set system syslog host 192.168.56.1 facility all level notice&lt;br&gt;
commit&lt;br&gt;
save&lt;br&gt;
exit&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Verification:&lt;/em&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Send a test: logger test&lt;br&gt;
vyos@VyOS-R1:~$ logger test&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Prove it leaves R1 with tcpdump (this is not the listener, this is the proof of sending):&lt;/em&gt;&lt;br&gt;
vyos@VyOS-R1:~$ sudo tcpdump -c 5 -i any udp&lt;br&gt;
16:23:28.129448 eth1  Out IP 192.168.56.101.52994 &amp;gt; 192.168.56.1.syslog: SYSLOG user.notice, length: 42&lt;br&gt;
16:23:28.435432 eth1  Out IP 192.168.56.101.52994 &amp;gt; 192.168.56.1.syslog: SYSLOG user.notice, length: 48&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Prove it arrives on Windows&lt;/em&gt;: The Windows listener now shows UDP/AnyIPv4(0.0.0.0)/514 with bytes received (1000+ and growing to 9212 bytes). That counter is the real syslog server receiving.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;Result:&lt;/em&gt; End-to-end syslog from VyOS-R1 (192.168.56.101) to Windows (192.168.56.1:514) is now monitoring. We can now log Dave's bathroom trips, interface flaps, and SSH events.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Characters in this lab:&lt;/em&gt; Dave, the VirtualBox gremlins, the Boomers, and the Mother of My Ex keep showing up as the cause of flaps, failed logins, and mysterious config changes.&lt;/p&gt;

&lt;p&gt;Watch out for upcoming blog: &lt;em&gt;Lab Lore - Meet Dave, The Gremlins &amp;amp; The Mother Of Ex&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;That post will be our official character guide - so when we say "Dave kicked the cable again" you know exactly who we're blaming.&lt;/p&gt;

</description>
      <category>syslog</category>
      <category>debugging</category>
      <category>vyos</category>
      <category>virtualbox</category>
    </item>
    <item>
      <title>Part 4 of N - Preparing the ISP for Automation</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Mon, 09 Nov 2026 11:38:11 +0000</pubDate>
      <link>https://dev.to/melnet/part-4-of-n-preparing-the-isp-for-automation-41h5</link>
      <guid>https://dev.to/melnet/part-4-of-n-preparing-the-isp-for-automation-41h5</guid>
      <description>&lt;p&gt;&lt;strong&gt;Why I needed to reinstall nmap:&lt;/strong&gt;&lt;br&gt;
After a Windows update, nmap stopped showing any results. This happens because Windows removes the Npcap driver that nmap needs to scan. Reinstalling nmap fixes it by reinstalling Npcap.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I am using nmap for:&lt;/strong&gt;&lt;br&gt;
To make sure the port 22 of VyOS-R1, R2 and R3 are open so we can ssh a python loop to the ISP.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Command:&lt;/em&gt;&lt;br&gt;
nmap -p 22 192.168.56.101 192.168.56.102 192.168.56.103&lt;/p&gt;

&lt;p&gt;What nmap showed:&lt;br&gt;
Port 22 of R1 (192.168.56.101) - open&lt;br&gt;
Port 22 of R2 (192.168.56.102) - closed&lt;br&gt;
Port 22 of R3 (192.168.56.103) - closed&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Next step:&lt;/em&gt;&lt;br&gt;
Enable ssh on R2 and R3 so the Python loop can reach them.&lt;/p&gt;

&lt;p&gt;On VyOS-R2 and VyOS-R3, run:&lt;br&gt;
configure&lt;br&gt;
set service ssh port 22&lt;br&gt;
commit&lt;br&gt;
save&lt;br&gt;
exit&lt;/p&gt;

&lt;p&gt;Then re-run nmap to confirm all three show 22 open.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Clone Ghost and the SSH Listen Problem&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When you clone a VM in VirtualBox, by default it keeps the same MAC address as the original. VyOS binds an interface name (eth0) to a specific MAC address using the hw-id setting. &lt;/p&gt;

&lt;p&gt;So when I cloned R1 to make R3, I ended up with two VMs with the same MAC. VirtualBox then gave R3 a new MAC when I checked "Generate new MAC addresses", but VyOS was still looking for the old MAC for eth0. That's why R3 showed:&lt;/p&gt;

&lt;p&gt;"Interface eth0 does not exist" and the new card appeared as eth1 with hw-id 08:00:27:c2:04:05.&lt;/p&gt;

&lt;p&gt;The fix was to make VyOS forget the old MAC binding:&lt;/p&gt;

&lt;p&gt;configure&lt;br&gt;
delete interfaces ethernet eth0&lt;br&gt;
delete interfaces ethernet eth1&lt;br&gt;
set interfaces ethernet eth0 address 192.168.56.103/24&lt;br&gt;
commit&lt;br&gt;
save&lt;/p&gt;

&lt;p&gt;This forces VyOS to recreate eth0 with the new MAC.&lt;/p&gt;

&lt;p&gt;Then the second problem: SSH not listening.&lt;/p&gt;

&lt;p&gt;I checked all three routers with:&lt;/p&gt;

&lt;p&gt;sudo ss -tlnp sport = :22&lt;/p&gt;

&lt;p&gt;R2 and R3 showed:&lt;br&gt;
0.0.0.0:22 - which means SSH is listening on ALL interfaces (0.0.0.0).&lt;/p&gt;

&lt;p&gt;R1 showed:&lt;br&gt;
192.168.56.101:22 - which means SSH is only listening on that one specific IP.&lt;/p&gt;

&lt;p&gt;Why 0.0.0.0 is better for lab routers:&lt;br&gt;
If SSH is locked to 192.168.56.101 and that IP changes or eth0 fails, SSH dies and you are locked out. If it listens on 0.0.0.0, it will work no matter what IP eth0 has. Note: 0.0.0.0 is an address, 0.0.0.0/24 is not valid - you can't use /24 on a listen address.&lt;/p&gt;

&lt;p&gt;On R1, SSH had been enabled on 192.168.56.101 like this:&lt;br&gt;
set service ssh listen-address 192.168.56.101&lt;/p&gt;

&lt;p&gt;To make it listen on all interfaces (0.0.0.0) I deleted the specific listen-address:&lt;/p&gt;

&lt;p&gt;configure&lt;br&gt;
delete service ssh listen-address&lt;br&gt;
commit&lt;br&gt;
save&lt;/p&gt;

&lt;p&gt;After that, ss -tlnp showed 0.0.0.0:22 on all three routers - R1 (.101), R2 (.102) and R3 (.103) - and SSH was stable across clones.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;VyOS Lab Fix: R2 IP and SSH Listening Issue *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I had an issue where the IP address disappeared from R2, causing ping to fail &lt;br&gt;
for R1. Nmap was used from Windows to verify SSH availability across the &lt;br&gt;
host-only network.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;NMAP SCAN RESULT - Before Fix:&lt;/em&gt;&lt;br&gt;
I ran: nmap -p 22 192.168.56.0/24&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Results showed:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;192.168.56.100 - Host is up, 22/tcp closed ssh - R1 was unreachable&lt;/li&gt;
&lt;li&gt;192.168.56.101 - Host is up, 22/tcp open ssh - R2 was partially up&lt;/li&gt;
&lt;li&gt;192.168.56.103 - Host is up, 22/tcp open ssh - R3 working&lt;/li&gt;
&lt;li&gt;192.168.56.1 - Host is up, 22/tcp closed ssh - Gateway&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Nmap done&lt;/em&gt;: 256 IP addresses (4 hosts up) scanned in 5.43 seconds&lt;/p&gt;

&lt;p&gt;&lt;em&gt;ROOT CAUSE:&lt;/em&gt;&lt;br&gt;
On R2 (VyOS-R2), checking show service ssh inside configure mode showed:&lt;br&gt;
 listen-address 192.168.56.101&lt;br&gt;
 listen-address 0.0.0.0&lt;br&gt;
 listen-address 192.168.56.102&lt;br&gt;
 port 22&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;VyOS was configured to listen on specific IPs.&lt;/strong&gt; When 192.168.56.101 disappeared &lt;br&gt;
from the interface, the SSH service threw a boot config error:&lt;br&gt;
"WARNING: There was a config error on boot: rewrite data."&lt;/p&gt;

&lt;p&gt;This caused SSH to fail to bind correctly. Having both 0.0.0.0 (all interfaces) &lt;br&gt;
AND specific IPs creates a conflict if the IP is not present at boot.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;THE FIX:&lt;/em&gt;&lt;br&gt;
I set the hostname and re-added the IP, then forced SSH to listen on all &lt;br&gt;
interfaces with only 0.0.0.0.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Commands run on R2:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;configure&lt;br&gt;
set system host-name VyOS-R2&lt;br&gt;
set interfaces ethernet eth0 address 192.168.56.102/24&lt;br&gt;
commit&lt;br&gt;
save&lt;br&gt;
exit&lt;br&gt;
show interfaces&lt;br&gt;
ping 192.168.56.1&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Then fixed SSH listening:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;configure&lt;br&gt;
delete service ssh listen-address 192.168.56.101&lt;br&gt;
delete service ssh listen-address 192.168.56.102&lt;br&gt;
set service ssh listen-address 0.0.0.0&lt;br&gt;
commit&lt;br&gt;
save&lt;br&gt;
exit&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Verification:&lt;/em&gt;&lt;br&gt;
show service ssh (inside configure)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now shows only: listen-address 0.0.0.0, port 22
show listening&lt;/li&gt;
&lt;li&gt;Shows 0.0.0.0:22 LISTEN&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Re-running Nmap now shows all routers with 22/tcp open ssh.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WHY I CAN NOW SSH A PYTHON SCRIPT TO THE ISP:&lt;/strong&gt;&lt;br&gt;
Because 0.0.0.0:22 means ssh is listening on every active interface, including &lt;br&gt;
192.168.56.102/24 which has connectivity to 192.168.56.1. There is no longer a &lt;br&gt;
dependency on a specific IP being present at boot time, so the service will &lt;br&gt;
not crash if an IP flaps. The Nmap SYN Stealth Scan confirms port 22 is open &lt;br&gt;
and reachable from the Windows host. This stable SSH transport allows me to &lt;br&gt;
use Paramiko / Netmiko in Python to securely push configuration or scripts to &lt;br&gt;
the ISP router at 192.168.56.1.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Next step:&lt;/em&gt;&lt;br&gt;
Start syslog on the ISP router to log all incoming SSH sessions and script &lt;br&gt;
execution for auditing.### One more issue before pushing OSPF - standardizing interfaces&lt;/p&gt;

&lt;p&gt;Before enabling syslog and OSPF I hit a classic cloning ghost. R1 had its Host-Only IP (192.168.56.101) on eth0, while R2 and R3 had theirs on eth1. This happened because I cloned the VMs in VirtualBox without regenerating MAC addresses, so eth0 was fighting for the same MAC on the Host-Only network. VyOS then wouldn't bring eth0 up reliably on all three.&lt;/p&gt;

&lt;p&gt;Instead of fighting it, I standardized everything on eth1. I disabled the unused Adapter 1 in VirtualBox for R1 and enabled Adapter 2 as Host-Only only, so R1 now boots with eth1 only - matching R2 and R3. I then moved the IP:&lt;/p&gt;

&lt;p&gt;configure&lt;br&gt;
delete interfaces ethernet eth0 address 192.168.56.101/24&lt;br&gt;
set interfaces ethernet eth1 address 192.168.56.101/24&lt;br&gt;
set interfaces ethernet eth1 description "HOST-ONLY TO WINDOWS"&lt;br&gt;
commit&lt;br&gt;
save&lt;br&gt;
exit&lt;br&gt;
reboot&lt;/p&gt;

&lt;p&gt;After reboot, ping to 192.168.56.1 (Windows) worked, but nmap from Windows showed port 22 filtered. That was because sshd was still bound to the old eth0 IP. Fix:&lt;/p&gt;

&lt;p&gt;configure&lt;br&gt;
delete service ssh listen-address 192.168.56.101&lt;br&gt;
set service ssh listen-address 0.0.0.0&lt;br&gt;
commit&lt;br&gt;
save&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Now verification from Windows:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;nmap -p 22 192.168.56.101&lt;br&gt;
nmap -p 22 192.168.56.102&lt;br&gt;
nmap -p 22 192.168.56.103&lt;/p&gt;

&lt;p&gt;All three routers show:&lt;/p&gt;

&lt;p&gt;PORT   STATE SERVICE&lt;br&gt;
22/tcp open  ssh&lt;/p&gt;

&lt;p&gt;With interfaces consistent and SSH reachable from Windows, I could now push the syslog and OSPF configs without chasing eth0 vs eth1 typos across routers.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>devops</category>
      <category>networking</category>
      <category>tools</category>
    </item>
    <item>
      <title>Part 3 of N: My VyOS Pings But SSH Doesn't - The Clone, The Firewall and The Head Melter</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Wed, 04 Nov 2026 14:38:15 +0000</pubDate>
      <link>https://dev.to/melnet/part-3-of-n-my-vyos-pings-but-ssh-doesnt-the-clone-the-firewall-and-the-head-melter-1n1p</link>
      <guid>https://dev.to/melnet/part-3-of-n-my-vyos-pings-but-ssh-doesnt-the-clone-the-firewall-and-the-head-melter-1n1p</guid>
      <description>&lt;p&gt;&lt;em&gt;TL;DR:&lt;/em&gt; Cloning a VyOS VM clones the brain too.v VirtualBox name != VyOS host-name. And one-way ping is NOT R1 to R3 - it's PowerShell to VM vs VM to PowerShell.&lt;/p&gt;




&lt;h3&gt;
  
  
  1. The Golden Image Trap
&lt;/h3&gt;

&lt;p&gt;I made a perfect R1, then cloned it to R2 and R3. The clone remembers too much.&lt;/p&gt;

&lt;p&gt;On a fresh clone, SSH is not running. You have to re-enable it every time.&lt;/p&gt;

&lt;p&gt;Fix for R3 (and any new clone) - on the VirtualBox console:&lt;/p&gt;

&lt;p&gt;configure&lt;br&gt;
set service ssh port 22&lt;br&gt;
commit&lt;br&gt;
save&lt;br&gt;
exit&lt;/p&gt;

&lt;p&gt;Then from PowerShell:&lt;/p&gt;

&lt;p&gt;ssh &lt;a href="mailto:vyos@192.168.56.103"&gt;vyos@192.168.56.103&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you don't do this, you'll get ping but no SSH and think the network is broken.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. My VM is called R2 but it thinks it's R1 - The #1 Head Melter
&lt;/h3&gt;

&lt;p&gt;VirtualBox name = sticker on the outside of the box.&lt;br&gt;
host-name inside VyOS = who the router thinks it is.&lt;/p&gt;

&lt;p&gt;You can rename the box in VirtualBox all day, R1 still thinks it's R1 until you tell it in vbash.&lt;/p&gt;

&lt;p&gt;I deleted the VM to try to fix it when what I should have done is be in vbash.&lt;/p&gt;

&lt;p&gt;Correct fix:&lt;/p&gt;

&lt;p&gt;configure&lt;br&gt;
delete interfaces ethernet eth0 address&lt;br&gt;
set system host-name R2&lt;br&gt;
set interfaces ethernet eth0 address 192.168.56.102/24&lt;br&gt;
commit&lt;br&gt;
save&lt;/p&gt;

&lt;p&gt;Deleting the VM doesn't fix it because the clone brings the brain with it. You have to re-educate the brain.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Ping Only Working One Way - It's Firewall Inbound vs Outbound
&lt;/h3&gt;

&lt;p&gt;I thought this was R1 not pinging R3. It's not.&lt;/p&gt;

&lt;p&gt;VyOS to VyOS (R1 192.168.56.101 -&amp;gt; R3 192.168.56.103) works both ways once IPs are fixed.&lt;/p&gt;

&lt;p&gt;The one-way problem is: PowerShell &amp;lt;-&amp;gt; VM&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PowerShell (Windows host) -&amp;gt; VM = WORKS. This is outbound from Windows, allowed.&lt;/li&gt;
&lt;li&gt;VM -&amp;gt; PowerShell / Host-Only IP 192.168.56.1 = FAILS. This is inbound to Windows, Windows Firewall blocks ICMP Echo on the Host-Only adapter by default.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Wireshark proves it: You see the ICMP Request from .101 to .1, but no Reply. Windows dropped it. Not a VyOS routing bug.&lt;/p&gt;

&lt;p&gt;Why SSH works even when ping doesn't? SSH is TCP. Once you allow the TCP handshake, it's stateful and allowed back. Ping is stateless ICMP and filtered separately.&lt;/p&gt;

&lt;p&gt;Optional fix if you want VM to be able to ping host:&lt;br&gt;
Windows Defender Firewall &amp;gt; Inbound Rules &amp;gt; Enable "File and Printer Sharing (Echo Request - ICMPv4-In)" for Private profile. Or just know it's firewall, not your lab.&lt;/p&gt;

</description>
      <category>infrastructure</category>
      <category>linux</category>
      <category>networking</category>
    </item>
    <item>
      <title>VyOS Homelab on Windows (Part 2 of N): Attaching the Host-Only Adapter to VyOS and SSHing a Python Script from PowerShell to Rename It</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Mon, 02 Nov 2026 13:33:07 +0000</pubDate>
      <link>https://dev.to/melnet/vyos-homelab-on-windows-part-2-of-n-attaching-the-host-only-adapter-to-vyos-and-sshing-a-python-2af7</link>
      <guid>https://dev.to/melnet/vyos-homelab-on-windows-part-2-of-n-attaching-the-host-only-adapter-to-vyos-and-sshing-a-python-2af7</guid>
      <description>&lt;h1&gt;
  
  
  VyOS Homelab on Windows (Part 2 of N): Attaching the Host-Only Adapter to VyOS and SSHing a Python Script from PowerShell to Rename It
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;This follows on from my previous blog: 'How I finally pinged and SSHed to the VyOS in Oracle VM from powershell'&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In that last blog I found a Host-Only Ethernet Adapter that Windows would actually accept without blocking it. If you are stuck with no ping, read that one first.&lt;/p&gt;

&lt;p&gt;Today was different. Today was about attaching that already-working adapter to the VyOS router itself, and proving I can send a Python script from PowerShell to configure it. The test for today was to rename the router to VyOS-R1.&lt;/p&gt;

&lt;p&gt;The bigger goal for this homelab is to test if I can SSH an OSPF config to an ISP router in Oracle VM later. Today's rename test proves the method will work.&lt;/p&gt;




&lt;h3&gt;
  
  
  1. What I Did Today - Attach The Adapter
&lt;/h3&gt;

&lt;p&gt;The adapter Windows accepted is VirtualBox Host-Only Ethernet Adapter.&lt;/p&gt;

&lt;p&gt;Steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Power off VyOS VM&lt;/li&gt;
&lt;li&gt;VirtualBox &amp;gt; VyOS VM &amp;gt; Settings &amp;gt; Network&lt;/li&gt;
&lt;li&gt;Adapter 1: Enabled, Attached to: Host-only Adapter, Name: VirtualBox Host-Only Ethernet Adapter, Promiscuous Mode: Allow All VMs, Cable Connected: checked&lt;/li&gt;
&lt;li&gt;Adapter 2,3,4: Disabled for today&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Boot VyOS, login: vyos / vyos&lt;/p&gt;

&lt;p&gt;Then give eth0 an IP on that host-only network:&lt;/p&gt;

&lt;p&gt;configure&lt;br&gt;
set interfaces ethernet eth0 address 192.168.56.101/24&lt;br&gt;
set service ssh port 22&lt;br&gt;
commit&lt;br&gt;
save&lt;br&gt;
exit&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Prove PowerShell Can SSH To The Attached Adapter
&lt;/h3&gt;

&lt;p&gt;In PowerShell you need to see PS&amp;gt; not &amp;gt;&amp;gt;&amp;gt;.&lt;/p&gt;

&lt;p&gt;Run:&lt;/p&gt;

&lt;p&gt;ping 192.168.56.101&lt;br&gt;
ssh &lt;a href="mailto:vyos@192.168.56.101"&gt;vyos@192.168.56.101&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Password is vyos.&lt;/p&gt;

&lt;p&gt;If you get a VyOS prompt, the adapter is now truly attached to the router. I typed exit to leave SSH after.&lt;/p&gt;

&lt;h3&gt;
  
  
  . The Python Script I Ran Today - Renaming Test
&lt;/h3&gt;

&lt;p&gt;In PowerShell:&lt;/p&gt;

&lt;p&gt;notepad name_router.py&lt;/p&gt;

&lt;p&gt;Paste this:&lt;/p&gt;

&lt;p&gt;from netmiko import ConnectHandler&lt;/p&gt;

&lt;p&gt;router = {&lt;br&gt;
    'device_type': 'vyos',&lt;br&gt;
    'host': '192.168.56.101',&lt;br&gt;
    'username': 'vyos',&lt;br&gt;
    'password': 'vyos',&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;conn = ConnectHandler(**router)&lt;br&gt;
conn.send_config_set(['set system host-name VyOS-R1', 'commit', 'save'])&lt;br&gt;
print(conn.send_command('show system host-name'))&lt;br&gt;
conn.disconnect()&lt;/p&gt;

&lt;p&gt;Then install and run:&lt;/p&gt;

&lt;p&gt;pip install netmiko&lt;br&gt;
python .\name_router.py&lt;/p&gt;

&lt;p&gt;The script should print VyOS-R1.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. How I Knew It Worked
&lt;/h3&gt;

&lt;p&gt;Weird part: When I SSHed with ssh &lt;a href="mailto:vyos@192.168.56.101"&gt;vyos@192.168.56.101&lt;/a&gt; it already said vyos@VyOS-R1 which is new name.&lt;/p&gt;

&lt;p&gt;But in the Oracle VM console window it still said vyos@vyos.&lt;/p&gt;

&lt;p&gt;Reason: The console window is an old login session from before the rename. Fix: type exit in that VM window, login again with vyos / vyos, now it says vyos@VyOS-R1.&lt;/p&gt;

&lt;p&gt;That moment = 🎉 success.&lt;/p&gt;

&lt;p&gt;Today proved: Host-only adapter is attached to router, PowerShell can SSH to router, Python script from PowerShell can change router config.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why This Matters For OSPF
&lt;/h3&gt;

&lt;p&gt;If set system host-name works via Python, then set protocols ospf will work the same way. Today was the plumbing test for future OSPF push to ISP.&lt;/p&gt;

&lt;h3&gt;
  
  
  What Is Next
&lt;/h3&gt;

&lt;p&gt;Part 3: Making 2 Clones and Switching On All 4 Adapters in Each VyOS.&lt;/p&gt;

&lt;p&gt;Plan for next lab:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Clone VyOS-R1 to create 2 more routers&lt;/li&gt;
&lt;li&gt;On each router, Adapter 1 = Host-Only (the adapter we found in last blog and attached today) for management from Windows&lt;/li&gt;
&lt;li&gt;Switch on Adapter 2, 3, 4 as Internal Networks for router to router links&lt;/li&gt;
&lt;li&gt;Make all 4 adapters up and pingable on each router&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then after that we can start pushing OSPF configs.&lt;/p&gt;

&lt;p&gt;Previous blog: 'How I finally pinged and SSHed to the VyOS in Oracle VM from powershell' - about finding the adapter Windows will accept.&lt;/p&gt;

&lt;p&gt;This blog: About attaching that adapter and proving Python SSH rename works.&lt;/p&gt;

</description>
      <category>python</category>
      <category>vyos</category>
      <category>virtualbox</category>
      <category>homelab</category>
    </item>
    <item>
      <title>My Routing Worked But PC1 Said 'Network is Unreachable': VirtualBox + VyOS + TinyCore Fix</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Tue, 27 Oct 2026 16:31:19 +0000</pubDate>
      <link>https://dev.to/melnet/my-routing-worked-but-said-network-is-unreachable-virtualbox-vyos-tinycore-fix-5883</link>
      <guid>https://dev.to/melnet/my-routing-worked-but-said-network-is-unreachable-virtualbox-vyos-tinycore-fix-5883</guid>
      <description>&lt;p&gt;I thought Wireshark would see my VirtualBox lab. It can't. Internal networks are invisible from Windows. And then ping said "Network is unreachable" even though ifconfig looked fine.&lt;/p&gt;

&lt;p&gt;This is the lab that finally routed PC1 -&amp;gt; VyOS -&amp;gt; PC2.&lt;/p&gt;

&lt;p&gt;THE LAB&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Oracle VM VirtualBox&lt;/li&gt;
&lt;li&gt;VyOS eth0 192.168.10.1/24 wire-a, eth1 192.168.20.1/24 wire-b&lt;/li&gt;
&lt;li&gt;PC1 TinyCore 192.168.10.10/24 wire-a&lt;/li&gt;
&lt;li&gt;PC2 TinyCore 192.168.20.10/24 wire-b&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;PART 1 - CAPTURE WHERE IS THE HEX?&lt;br&gt;
Wireshark on host sees nothing. You must capture inside.&lt;/p&gt;

&lt;p&gt;On VyOS:&lt;br&gt;
sudo tcpdump -i any -n -X icmp&lt;br&gt;
sudo tcpdump -i any -n -xx icmp&lt;/p&gt;

&lt;p&gt;-n = no dns, -X = HEX + ASCII, -xx = full HEX, icmp lowercase not ICMP&lt;/p&gt;

&lt;p&gt;My HEX dump from VyOS when ping worked:&lt;/p&gt;

&lt;p&gt;15:32:10.123456 IP 192.168.10.10 &amp;gt; 192.168.20.10: ICMP echo request&lt;br&gt;
    0x0000:  4500 0054 0000 4000 3f01 7a6b c0a8 0a0a  &lt;a href="mailto:E..T..@"&gt;E..T..@&lt;/a&gt;.?..k....&lt;br&gt;
    0x0010:  c0a8 1414 0800 f7ff 1234 0001 6162 6364  ........4..abcd&lt;br&gt;
    0x0020:  6566 6768 696a 6b6c 6d6e 6f70 7172 7374  efghijklmnopqrs&lt;br&gt;
    0x0030:  7576 7761 6263 6465 6667 6869            uvwabcdefghi&lt;/p&gt;

&lt;p&gt;This is what Wireshark would show if it could see internal.&lt;/p&gt;

&lt;p&gt;PART 2 - HOW TO STOP LISTENING?&lt;br&gt;
tcpdump locks terminal. You can't ping in same window.&lt;/p&gt;

&lt;p&gt;Stop: Ctrl + C&lt;/p&gt;

&lt;p&gt;Or run in background so you CAN ping:&lt;br&gt;
sudo tcpdump -i any -n -X icmp &amp;amp;&lt;br&gt;
ping 192.168.10.10&lt;br&gt;
ping 192.168.20.10&lt;br&gt;
sudo killall tcpdump&lt;br&gt;
fg&lt;br&gt;
Ctrl + C&lt;/p&gt;

&lt;p&gt;The &amp;amp; is the trick everyone misses.&lt;/p&gt;

&lt;p&gt;PART 3 - PING HANGS WITH NO ERROR = ARP&lt;br&gt;
When I pinged and got no error, no reply, just hang - it's ARP.&lt;/p&gt;

&lt;p&gt;VyOS doing: "Who has 192.168.10.10? Tell 192.168.10.1"&lt;/p&gt;

&lt;p&gt;Check:&lt;br&gt;
cat /proc/sys/net/ipv4/ip_forward&lt;br&gt;
must be 1, if 0: sudo sysctl -w net.ipv4.ip_forward=1&lt;br&gt;
ip a&lt;br&gt;
show interfaces&lt;/p&gt;

&lt;p&gt;PART 4 - THE REAL BUG - MY PHOTO&lt;br&gt;
PC1 ifconfig looked OK:&lt;br&gt;
eth0 Link encap:Ethernet HWaddr 08:00:27:26:50:38&lt;br&gt;
inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0&lt;br&gt;
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;br&gt;
RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br&gt;
TX packets:73 errors:0 dropped:0 overruns:0 carrier:0&lt;br&gt;
RX bytes:0 (0.0 B) TX bytes:24966 (24.3 KiB)&lt;/p&gt;

&lt;p&gt;But route -n showed:&lt;br&gt;
Kernel IP routing table&lt;br&gt;
Destination     Gateway         Genmask         Flags Metric Ref Use Iface&lt;br&gt;
127.0.0.1       0.0.0.0         255.255.255.255 UH    0      0   0 lo&lt;br&gt;
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0   0 eth0&lt;/p&gt;

&lt;p&gt;MISSING: 0.0.0.0 192.168.10.1&lt;/p&gt;

&lt;p&gt;That is why: ping: sendto: Network is unreachable - it's YOUR PC saying it, not VyOS.&lt;/p&gt;

&lt;p&gt;Cause: sudo ifconfig eth0 down / up drops IP and route. RX bytes 0 proves it.&lt;/p&gt;

&lt;p&gt;PART 5 - FIX - THIS MADE IT ROUTE&lt;br&gt;
On PC1:&lt;br&gt;
sudo ifconfig eth0 down&lt;br&gt;
sudo ifconfig eth0 192.168.10.10 netmask 255.255.255.0 up&lt;br&gt;
sudo route add default gw 192.168.10.1 eth0&lt;br&gt;
route -n&lt;br&gt;
ping 192.168.10.1&lt;br&gt;
ping 192.168.20.10&lt;/p&gt;

&lt;p&gt;Now route -n must show:&lt;br&gt;
0.0.0.0         192.168.10.1    0.0.0.0         UG    0      0   0 eth0&lt;br&gt;
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0   0 eth0&lt;br&gt;
127.0.0.1       0.0.0.0         255.255.255.255 UH    0      0   0 lo&lt;/p&gt;

&lt;p&gt;On PC2:&lt;br&gt;
sudo ifconfig eth0 192.168.20.10 netmask 255.255.255.0 up&lt;br&gt;
sudo route add default gw 192.168.20.1 eth0&lt;/p&gt;

&lt;p&gt;On VyOS final test:&lt;br&gt;
sudo tcpdump -i any -n -X icmp &amp;amp;&lt;br&gt;
ping 192.168.10.10&lt;br&gt;
ping 192.168.20.10&lt;/p&gt;

&lt;p&gt;On PC1:&lt;br&gt;
ping 192.168.20.10&lt;/p&gt;

&lt;p&gt;Result: 3 packets transmitted, 3 received, 0% loss - from both PCs.&lt;/p&gt;

&lt;p&gt;LESSON&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Wireshark can't see VirtualBox internal - use tcpdump -X inside&lt;/li&gt;
&lt;li&gt;tcpdump needs Ctrl+C or &amp;amp; + killall&lt;/li&gt;
&lt;li&gt;ifconfig down loses route - RX bytes 0 is clue&lt;/li&gt;
&lt;li&gt;route -n must have 0.0.0.0 line or you get Network unreachable before packet even leaves&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What broke for you at L2/L3? Did RX 0 get you too?&lt;/p&gt;

</description>
      <category>virtualbox</category>
      <category>vyos</category>
      <category>networking</category>
      <category>debugging</category>
    </item>
    <item>
      <title>How I finally pinged and SSHed to the VyOS in Oracle VM from powershell</title>
      <dc:creator>Melissa</dc:creator>
      <pubDate>Mon, 26 Oct 2026 11:02:57 +0000</pubDate>
      <link>https://dev.to/melnet/how-i-finally-pinged-and-sshed-to-the-vyos-in-oracle-vm-from-powershell-5bh7</link>
      <guid>https://dev.to/melnet/how-i-finally-pinged-and-sshed-to-the-vyos-in-oracle-vm-from-powershell-5bh7</guid>
      <description>&lt;p&gt;WHAT I ACTUALLY DID:&lt;/p&gt;

&lt;p&gt;I wanted to ping and SSH from PowerShell on Windows to VyOS running in Oracle VM.&lt;br&gt;
The solution was: use an ethernet adapter that Windows Firewall will accept, and turn off the DHCP server in Oracle VM so it stops interfering.&lt;/p&gt;

&lt;p&gt;I created an ethernet adapter in Windows. That adapter is the virtual cable between Windows and the VMs in Oracle VM. Select it as Host-only adapter on the VMs in Oracle VM.&lt;/p&gt;

&lt;p&gt;Oracle VM DHCP was interfering. It was handing out wrong IPs and causing 169.254.x.x APIPA addresses (Windows auto-assigns 169.254 when DHCP fails or offers wrong subnet). So I went to VirtualBox &amp;gt; File &amp;gt; Host Network Manager &amp;gt; DHCP Server and disabled it.&lt;/p&gt;

&lt;p&gt;Then I set static IPs so the adapter would work:&lt;br&gt;
Windows Host-Only: 192.168.56.1 / 255.255.255.0&lt;br&gt;
VyOS eth0: 192.168.56.10/24 + ssh service on port 22&lt;/p&gt;

&lt;p&gt;After that, ping and ssh from PowerShell worked with no firewall blocking. Windows Firewall accepts this Host-Only adapter as a Private network.&lt;/p&gt;

&lt;p&gt;Wireshark capture with ethernet3 adapter connected&lt;/p&gt;

&lt;p&gt;No Time Source Destination Protocol Info&lt;br&gt;
6 788.884 0a:00:27:00:00:13 Broadcast ARP Who has 192.168.56.10? Tell 192.168.56.1&lt;br&gt;
7 788.886 08:00:27:bf:9a:64 0a:00:27:00:00:13 ARP 192.168.56.10 is at 08:00:27:bf:9a:64&lt;br&gt;
8 788.886 192.168.56.1 192.168.56.10 ICMP Echo (ping) request id=0x0001, seq=36&lt;br&gt;
9 788.887 192.168.56.10 192.168.56.1 ICMP Echo (ping) reply id=0x0001, seq=36&lt;br&gt;
10 789.889 192.168.56.1 192.168.56.10 ICMP Echo (ping) request id=0x0001, seq=37&lt;br&gt;
11 789.892 192.168.56.10 192.168.56.1 ICMP Echo (ping) reply id=0x0001, seq=37&lt;/p&gt;

&lt;p&gt;Proof: ARP resolved VyOS MAC, then ICMP ping works on Host-Only network.&lt;br&gt;
192.168.56.1 = Windows host, 192.168.56.10 = VyOS router&lt;br&gt;
Adapter: VirtualBox Host-Only Ethernet Adapter #3, no filter&lt;/p&gt;

&lt;p&gt;Wireshark capture with ethernet3 adapter disconnected&lt;/p&gt;

&lt;p&gt;No Time Source Destination Protocol Info&lt;br&gt;
1 0.000 192.168.56.1 192.168.56.10 ICMP Echo (ping) request id=0x0001, seq=40 (no response found!)&lt;br&gt;
2 4.700 0a:00:27:00:00:13 08:00:27:bf:9a:64 ARP Who has 192.168.56.10? Tell 192.168.56.1&lt;br&gt;
3 4.705 192.168.56.1 192.168.56.10 ICMP Echo (ping) request id=0x0001, seq=41 (no response found!)&lt;br&gt;
4 5.699 0a:00:27:00:00:13 08:00:27:bf:9a:64 ARP Who has 192.168.56.10? Tell 192.168.56.1&lt;br&gt;
5 6.700 0a:00:27:00:00:13 08:00:27:bf:9a:64 ARP Who has 192.168.56.10? Tell 192.168.56.1&lt;br&gt;
6 9.703 0a:00:27:00:00:13 Broadcast ARP Who has 192.168.56.10? Tell 192.168.56.1&lt;br&gt;
7 10.700 0a:00:27:00:00:13 Broadcast ARP Who has 192.168.56.10? Tell 192.168.56.1&lt;br&gt;
8 11.700 0a:00:27:00:00:13 Broadcast ARP Who has 192.168.56.10? Tell 192.168.56.1&lt;br&gt;
9 72.700 0a:00:27:00:00:13 Broadcast ARP Who has 192.168.56.10? Tell 192.168.56.1&lt;/p&gt;

&lt;p&gt;Result: Ping failed - repeated ARP with no reply = no MAC learned.&lt;br&gt;
0a:00:27:00:00:13 = Windows host MAC for ethernet3&lt;br&gt;
08:00:27:bf:9a:64 = VyOS MAC that is now unreachable&lt;/p&gt;

&lt;p&gt;CONCLUSION:&lt;br&gt;
Create ethernet adapter in windows, Select Host-Only adapter on VMs in Oracle VM + DHCP off + static IPs = working ping and SSH.&lt;/p&gt;

</description>
      <category>wireshark</category>
      <category>arp</category>
      <category>virtualbox</category>
      <category>vyos</category>
    </item>
  </channel>
</rss>
