Hi folks,
I want to disable promiscuous mode on interfaces, on FreeBSD 11.0 STABLE, but seem there's nothing happened after I run "ifconfig ix0 -promisc".
I've tried reboot it again and again, but still, there's nothing changed.
I've tried to disable the promiscuous mode, but nothing's changed:
http://imgur.com/a/f4E8A
dmesg: http://pastebin.com/XGq4nf3g
/var/log/messages: http://pastebin.com/UBmxN2Kd
Can you show me how to disable promiscuous mode completely on FreeBSD 11.0 STABLE?
Thank you in advance
I want to disable promiscuous mode on interfaces, on FreeBSD 11.0 STABLE, but seem there's nothing happened after I run "ifconfig ix0 -promisc".
I've tried reboot it again and again, but still, there's nothing changed.
I've tried to disable the promiscuous mode, but nothing's changed:
http://imgur.com/a/f4E8A
dmesg: http://pastebin.com/XGq4nf3g
/var/log/messages: http://pastebin.com/UBmxN2Kd
Code:
[root@phy-freebsd2 ~]# uname -a
FreeBSD phy-freebsd2 11.0-STABLE FreeBSD 11.0-STABLE #0 r308135: Mon Oct 31 19:17:52 UTC 2016 [EMAIL]root@releng2.nyi.freebsd.org[/EMAIL]:/usr/obj/usr/src/sys/GENERIC amd64
[root@phy-freebsd2 ~]# more /etc/rc.conf
sendmail_enable="NONE"
sshd_enable="YES"
ntpd_enable="YES"
dumpdev="AUTO"
hostname="phy-freebsd2"
ifconfig_ix0="inet 192.168.14.42 netmask 255.255.255.0 -promisc up"
ifconfig_ix1="inet 192.168.200.42 netmask 255.255.255.0 -promisc up"
ifconfig_ix0_alias0="vhid 14 alias 192.168.14.40/32"
ifconfig_ix1_alias0="vhid 200 alias 192.168.200.1/32"
ifconfig_igb0="up"
ifconfig_igb1="up"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 192.168.201.42/24"
defaultrouter="192.168.14.1"
pf_enable="YES"
pflog_enable="YES"
pf_rules="/etc/pf.conf"
pglog_logfile="/var/log/pflog"
pfsync_enable="YES"
pfsync_syncdev="lagg0"
gateway_enable="YES"
[root@phy-freebsd2 ~]# more /boot/loader.conf
carp_load="YES"
[root@phy-freebsd2 ~]# more /etc/sysctl.conf
net.inet.ip.forwarding=1
net.inet6.ip6.forwarding=1
net.inet.carp.ifdown_demotion_factor=240
net.inet.carp.senderr_demotion_factor=240
net.inet.carp.demotion=0
net.inet.carp.log=1
net.inet.carp.preempt=1
net.inet.carp.allow=1
net.pfsync.carp_demotion_factor=240
Can you show me how to disable promiscuous mode completely on FreeBSD 11.0 STABLE?
Thank you in advance