root@vlan-xenial:~# cat /etc/network/interfaces.d/50-cloud-init.cfg
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
ip-rp-filter 2
root@vlan-xenial:~# dpkg -l | grep vlan
ii vlan 1.9-3.2ubuntu1.16.04.3 amd64 user mode programs to enable VLANs on your ethernet devices
root@vlan-xenial:~# systemctl restart networking
root@vlan-xenial:~# grep . /proc/sys/net/ipv4/conf/*/rp_filter
/proc/sys/net/ipv4/conf/all/rp_filter:1
/proc/sys/net/ipv4/conf/default/rp_filter:1
/proc/sys/net/ipv4/conf/eth0/rp_filter:1
/proc/sys/net/ipv4/conf/lo/rp_filter:1
after upgrade:
root@vlan-xenial:~# dpkg -l | grep vlan
ii vlan 1.9-3.2ubuntu1.16.04.4 amd64 user mode programs to enable VLANs on your ethernet devices
root@vlan-xenial:~# systemctl restart networking
root@vlan-xenial:~# grep . /proc/sys/net/ipv4/conf/*/rp_filter
/proc/sys/net/ipv4/conf/all/rp_filter:1
/proc/sys/net/ipv4/conf/default/rp_filter:1
/proc/sys/net/ipv4/conf/eth0/rp_filter:2
/proc/sys/net/ipv4/conf/lo/rp_filter:1
xenial:
root@vlan-xenial:~# cat /etc/network/ interfaces. d/50-cloud- init.cfg cloud.cfg. d/99-disable- network- config. cfg with the following:
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/
# network: {config: disabled}
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
ip-rp-filter 2
root@vlan-xenial:~# dpkg -l | grep vlan 16.04.3 amd64 user mode programs to enable VLANs on your ethernet devices net/ipv4/ conf/*/ rp_filter net/ipv4/ conf/all/ rp_filter: 1 net/ipv4/ conf/default/ rp_filter: 1 net/ipv4/ conf/eth0/ rp_filter: 1 net/ipv4/ conf/lo/ rp_filter: 1
ii vlan 1.9-3.2ubuntu1.
root@vlan-xenial:~# systemctl restart networking
root@vlan-xenial:~# grep . /proc/sys/
/proc/sys/
/proc/sys/
/proc/sys/
/proc/sys/
after upgrade:
root@vlan-xenial:~# dpkg -l | grep vlan 16.04.4 amd64 user mode programs to enable VLANs on your ethernet devices net/ipv4/ conf/*/ rp_filter net/ipv4/ conf/all/ rp_filter: 1 net/ipv4/ conf/default/ rp_filter: 1 net/ipv4/ conf/eth0/ rp_filter: 2 net/ipv4/ conf/lo/ rp_filter: 1
ii vlan 1.9-3.2ubuntu1.
root@vlan-xenial:~# systemctl restart networking
root@vlan-xenial:~# grep . /proc/sys/
/proc/sys/
/proc/sys/
/proc/sys/
/proc/sys/