How can I enable promiscuous mode using ubuntu in vagrant?

2

There are other questions here that are similar but none of the answers have worked for me.

I can successfully enable promiscuous mode for virtualbox settings with my vagrant config using ubuntu with

vb.customize ["modifyvm", :id, "--nicpromisc3", "allow-all"]

I can see that the settings have been changed successfully in virtualbox, however in ubuntu, it doesn't appear to be enabled when I execute

ip a

I get

3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:0d:13:2a:3a:23 brd ff:ff:ff:ff:ff:ff
    inet 192.168.15.10/24 brd 192.168.92.255 scope global enp0s8
       valid_lft forever preferred_lft forever
    inet6 fe80::20c:29ff:fe1f:5c51/64 scope link 
       valid_lft forever preferred_lft forever

I am using the vagrant image -

config.vm.box = "ubuntu/xenial64"

The host is on macos 10.13.6

openCivilisation

Posted 2019-03-24T03:39:19.543

Reputation: 21

No answers