summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Urban Wallasch [Tue, 23 Apr 2019 15:14:09 +0000 (17:14 +0200)]
* Added proper attribution to the author of the original script this is based on.
Urban Wallasch [Tue, 23 Apr 2019 14:45:44 +0000 (16:45 +0200)]
* Provide guest dhclient with a pristine config file. This obsoletes the
hack to remove any remnant /etc/resolv.conf.dhclient-new.XXXX files.
* Cleaned out To-Do list.
Urban Wallasch [Tue, 23 Apr 2019 12:59:03 +0000 (14:59 +0200)]
* Fixed missing '$' in variable reference.
Urban Wallasch [Tue, 23 Apr 2019 08:52:17 +0000 (10:52 +0200)]
* Fixed iptables invocation that broke a few commits back.
* Added DHCP support for bridge interface configuration.
* Calculate bridge network from its IP address and prefix length.
* Moved most of the configuration presets to separate nns_example.cfg file.
* Several minor fixes and improvements.
Urban Wallasch [Mon, 22 Apr 2019 18:40:45 +0000 (20:40 +0200)]
* Cleared to-do list.
Urban Wallasch [Mon, 22 Apr 2019 18:39:31 +0000 (20:39 +0200)]
* Added option to pass optional arguments to command executed in namespace.
* Disabled set -x.
Urban Wallasch [Mon, 22 Apr 2019 17:55:29 +0000 (19:55 +0200)]
* Implemented 'exec' action to run a command in an existing network namespace context.
Urban Wallasch [Mon, 22 Apr 2019 17:17:57 +0000 (19:17 +0200)]
* Changed default for broadcast config to '+', i.e. auto-calculate.
* Added GUEST_PLEN and GUEST_BCAST for static guest configurations.
* Replace `route add` by `ip route add` invocation.
* Partially blanked the example MAC addresses.
volpol [Mon, 22 Apr 2019 16:18:01 +0000 (18:18 +0200)]
nns.sh: fixes and improvements
Fix bridge configuration (netmask / broadcast)
Use static MAC for bridge and guest network interfaces
Urban Wallasch [Mon, 22 Apr 2019 14:33:23 +0000 (16:33 +0200)]
* CAVEAT: THIS VERSION IS BROKEN!!!
* First parameter may specify a config file name.
* Copy host's resolv.conf, if NAMESRV is empty.
* Start dhclient in guest only if no static address is provided.
* Do not try to run anything, if XCMD1 empty.
* Replaced `brctl` with equivalent `ip` invocations.
* Removed even more clutter.
Urban Wallasch [Mon, 22 Apr 2019 10:53:41 +0000 (12:53 +0200)]
* Moved runtime info directory from /var/log/ to /var/run/.
* Save IPv4 forwarding state on start and restore it on stop.
* Replaced `ifconfig` by equivalent `ip` invocations.
* Renamed some variables.
* Removed more clutter.
Urban Wallasch [Mon, 22 Apr 2019 09:24:48 +0000 (11:24 +0200)]
* Replaced hard-coded values by variables.
* Removed lots of clutter.
Urban Wallasch [Sun, 21 Apr 2019 20:21:11 +0000 (22:21 +0200)]
* Added to-do list to nns.sh.
Urban Wallasch [Sun, 21 Apr 2019 19:47:52 +0000 (21:47 +0200)]
* Fixed preloader script.
* Made debug output in _init() less ambiguous.
Urban Wallasch [Sun, 21 Apr 2019 10:52:37 +0000 (12:52 +0200)]
* whitespace
Urban Wallasch [Sun, 21 Apr 2019 09:33:47 +0000 (11:33 +0200)]
* Initial commit.