On Tue, 09 Jun 2020 15:35:37 +0200, Jérémy Lal wrote: > Is there a simple way to setup the network locally so i can reproduce it ? > Naive attempts (like disabling IPv4 on the wan network) failed.
Niko and Dom came up with this recipe:
# unshare -n
# ip li set lo up
# ip li add dummy0 type dummy
# ip li set dummy0 up
If you are using pbuilder/cowbuilder you can
- make sure you have USENETWORK=no in your pbuilderrc
- add the following to /usr/lib/pbuilder/pbuilder-unshare-wrapper
after the lo dance:
ip li add dummy0 type dummy
ip li set dummy0 up
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
signature.asc
Description: Digital Signature

