tn3399_openwrt/package/network/config
Daniel Golle e4ce8f59f5 netifd: add basic support for jail network namespaces
Prepare netifd for handling procd service jails having their own
network namespace.
Intefaces having the jail attribute will only be brought up inside the
jail's network namespace by procd calling the newly introduced ubus
method 'netns_updown'.
Currently proto 'static' is supported and configuration changes are
not yet being handled (ie. you'll have to restart the jailed service
for changes to take effect).

Example /etc/config/network snippet:
config device 'veth0'
    option type 'veth'
    option name 'vhost0'
    option peer_name 'virt0'

config interface 'virt'
    option type 'bridge'
    list ifname 'vhost0'
    option proto 'static'
    option ipaddr '10.0.0.1'
    option netmask '255.255.255.0'

config interface 'virt0'
    option ifname 'virt0'
    option proto 'static'
    option ipaddr '10.0.0.2'
    option netmask '255.255.255.0'
    option gateway '10.0.0.1'
    option dns '10.0.0.1'
    option jail 'transmission'

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-01-21 10:25:27 +02:00
..
firewall firewall: update to latest Git HEAD 2019-11-22 18:53:57 +01:00
gre gre: add ipv6 parameter to gre interfaces 2019-12-02 21:52:33 +01:00
ipip package/network: add PKGARCH:=all to non-binary packages 2019-06-22 12:55:30 +02:00
ltq-adsl-app lantiq: fix dsl_control status handling. 2019-10-15 23:23:08 +02:00
ltq-vdsl-app lantiq: Allow PKG_ASLR_PIE for DSL and voice drivers 2019-11-01 21:19:40 +01:00
netifd netifd: add basic support for jail network namespaces 2020-01-21 10:25:27 +02:00
qos-scripts qos-scripts: fix indentation 2018-07-11 09:40:40 +02:00
soloscli soloscli: Install hotplug file as 600 2018-10-11 08:06:09 +02:00
swconfig swconfig: Activate LTO compile option 2019-11-08 23:57:53 +01:00
vti package/network: add PKGARCH:=all to non-binary packages 2019-06-22 12:55:30 +02:00
vxlan package/network: add PKGARCH:=all to non-binary packages 2019-06-22 12:55:30 +02:00
xfrm package/network: add PKGARCH:=all to non-binary packages 2019-06-22 12:55:30 +02:00