# Manual IP Change Steps - 192.168.11.4 **Last Updated:** 2026-01-14 **Status:** Active Documentation **Current IP:** 192.168.0.23 **Target IP:** 192.168.11.4 --- ## Quick Steps ### Step 1: Edit Netplan Configuration ```bash # Find netplan config file ls /etc/netplan/*.yaml # Edit the config file (replace with actual filename) sudo nano /etc/netplan/50-cloud-init.yaml # or sudo nano /etc/netplan/01-netcfg.yaml ``` ### Step 2: Update Configuration Find the `eth0` section and update it: ```yaml network: version: 2 renderer: networkd ethernets: eth0: addresses: - 192.168.11.4/24 gateway4: 192.168.11.1 nameservers: addresses: - 192.168.11.1 - 8.8.8.8 ``` **Important:** Keep the existing structure, just update the `eth0` section. ### Step 3: Apply Changes ```bash # Validate configuration sudo netplan try --timeout 5 # If validation succeeds, apply permanently sudo netplan apply ``` ### Step 4: Verify ```bash # Check new IP ip addr show eth0 # Should show: inet 192.168.11.4/24 # Test gateway ping -c 3 192.168.11.1 # Test ml110 ping -c 3 192.168.11.10 ``` --- ## Complete Example Config If your current config looks like this: ```yaml network: version: 2 renderer: networkd ethernets: eth0: dhcp4: true ``` Change it to: ```yaml network: version: 2 renderer: networkd ethernets: eth0: addresses: - 192.168.11.4/24 gateway4: 192.168.11.1 nameservers: addresses: - 192.168.11.1 - 8.8.8.8 ``` --- ## Troubleshooting ### If netplan apply fails: 1. **Check syntax:** ```bash sudo netplan --debug apply ``` 2. **Validate YAML:** ```bash sudo netplan try --timeout 5 ``` 3. **Check logs:** ```bash journalctl -u systemd-networkd ``` ### If IP doesn't change: 1. **Restart network:** ```bash sudo systemctl restart systemd-networkd ``` 2. **Check interface:** ```bash ip link show eth0 ``` 3. **Bring interface down/up:** ```bash sudo ip link set eth0 down sudo ip link set eth0 up ``` --- ## Reverting Back To revert to original IP (192.168.0.23): ```yaml network: version: 2 renderer: networkd ethernets: eth0: addresses: - 192.168.0.23/24 gateway4: 192.168.0.1 nameservers: addresses: - 192.168.0.1 - 8.8.8.8 ``` Then: ```bash sudo netplan apply ``` --- **Last Updated:** 2026-01-14