diff --git a/zephyr/Makefile.zephyr b/zephyr/Makefile.zephyr
index 214767bea9f1402ddd561a2337f0b7694088c045..16f0a9452f02b7c6b9f02f0194dee24c824519e7 100644
--- a/zephyr/Makefile.zephyr
+++ b/zephyr/Makefile.zephyr
@@ -18,9 +18,13 @@ KERNEL_TYPE = micro
 # BOARD must be passed on command line from main Makefile
 #BOARD =
 CONF_FILE = prj.conf
+QEMU_NET = 1
 
 #export SOURCE_DIR = $(ZEPHYR_BASE)/samples/static_lib/hello_world
 export LDFLAGS_zephyr += -L$(CURDIR)
 export ALL_LIBS += micropython
 
 include ${ZEPHYR_BASE}/Makefile.inc
+ifeq ($(QEMU_NET), 1)
+include ${ZEPHYR_BASE}/samples/net/common/Makefile.ipstack
+endif