Comment 22 for bug 1716964

Revision history for this message
Dan Streetman (ddstreet) wrote :

zesty:

root@vlan-zesty:~# 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-zesty:~# dpkg -l | grep vlan
ii vlan 1.9-3.2ubuntu2.17.04.2 amd64 user mode programs to enable VLANs on your ethernet devices
root@vlan-zesty:~# systemctl restart networking
root@vlan-zesty:~# 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-zesty:~# dpkg -l | grep vlan
ii vlan 1.9-3.2ubuntu2.17.04.3 amd64 user mode programs to enable VLANs on your ethernet devices
root@vlan-zesty:~# systemctl restart networking
root@vlan-zesty:~# 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