Macvlan Network Configuration Fix
Beginner Mode

Start your terminal to use beginner mode.

Scenario:

You have created a macvlan network called mymacvlan to give containers their own MAC addresses on the physical network. However, containers mac1 and mac2 started on this network cannot ping the host or the gateway at 192.168.50.1.

Task:

Correct the macvlan network configuration creating mymac0 interface so that both mac1 and mac2 can successfully ping the gateway at 192.168.50.1 .

Note: host-side macvlan interface should be named mymac0

Terminal requires a larger screen

Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.

Linux Terminal Environment

Write and execute your solution in the terminal below.

Sign In

Track

Question Difficulty Company Access
Need more practice in this area? Explore more questions →