netutil.git
6 years ago* Implemented 'exec' action to run a command in an existing network namespace context.
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.

6 years ago* Changed default for broadcast config to '+', i.e. auto-calculate.
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.

6 years agonns.sh: fixes and improvements
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

6 years ago* CAVEAT: THIS VERSION IS BROKEN!!!
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.

6 years ago* Moved runtime info directory from /var/log/ to /var/run/.
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.

6 years ago* Replaced hard-coded values by variables.
Urban Wallasch [Mon, 22 Apr 2019 09:24:48 +0000 (11:24 +0200)]
* Replaced hard-coded values by variables.
* Removed lots of clutter.

6 years ago* Added to-do list to nns.sh.
Urban Wallasch [Sun, 21 Apr 2019 20:21:11 +0000 (22:21 +0200)]
* Added to-do list to nns.sh.

6 years ago* Fixed preloader script.
Urban Wallasch [Sun, 21 Apr 2019 19:47:52 +0000 (21:47 +0200)]
* Fixed preloader script.
* Made debug output in _init() less ambiguous.

6 years ago* whitespace
Urban Wallasch [Sun, 21 Apr 2019 10:52:37 +0000 (12:52 +0200)]
* whitespace

6 years ago* Initial commit.
Urban Wallasch [Sun, 21 Apr 2019 09:33:47 +0000 (11:33 +0200)]
* Initial commit.