Differences between revisions 2 and 3
Revision 2 as of 2017-10-10 23:14:01
Size: 685
Editor: shran
Comment:
Revision 3 as of 2017-10-10 23:18:17
Size: 1213
Editor: shran
Comment:
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
Update the grub configuration Since we are changing a kernel paramter this calls for a reboot.

== Identify Network Interfaces ==

Take your time to identify your network interfaces. Mark the physically with a sticker on the system. This will come in handy later on. You can change the device names using udev. Edit /etc/udev/rules.d/70-persistent-net.rules.
Line 24: Line 28:
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:3b:0f:1b:8a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
Update the grub configuration
}}}

KVM Host Network

Network Tools

Get the good old ifconfig command back.

# apt-get install net-tools

Network Interfaces

The new network naming scheme does not fit me. I rather like the good old ethX names. The new naming scheme makes a lot of considerations abot the hardware before giving it a name, which sometimes results in very long interfaces names. This especially happens when using USB network devices.

The first thing to do is to tell the kernel that we want the old naming scheme. Edit /etc/default/grub.

GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"

Since we are changing a kernel paramter this calls for a reboot.

Identify Network Interfaces

Take your time to identify your network interfaces. Mark the physically with a sticker on the system. This will come in handy later on. You can change the device names using udev. Edit /etc/udev/rules.d/70-persistent-net.rules.

# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:3b:0f:1b:8a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
Update the grub configuration

# update-grub }}}

None: KVM Host Network (last edited 2023-04-23 13:35:39 by Kristian Kallenberg)