FG

IP address alias assigned by DHCP

Fresh3 days ago
Mar 15, 202618827 views
Confidence Score0%
0%

Problem

I would like to create several aliases to eth0, but have the addresses assigned by DHCP instead of being set to static IP's. Is this even possible? All the examples I've seen assign a static IP using the command:

Error Output

ifconfig eth0:0 192.168.1.11 up

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: IP address alias assigned by DHCP

Low Risk

This is only possible if the two DHCP clients use different MAC addresses. Which means they cannot run both on the same physical network interface, which has a single MAC address. The solution is Linux's virtual MAC-VLAN network interfaces. MAC-VLAN…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment