You are not logged in.
Pages: 1
Hello,
there are many topics on setting up a bridge between the NIC and the Virtual Machine interface. This setup works great for Virtual Boxes.
I Just need to put my second NIC into promisc Mode. I used to do this with the following context in /etc/rc.conf
eth1="eth1 up"
interfaces=(eth0 eth1)
with the new version of rc.conf what command syntax would create the same results. I am using eth1 to forward traffic from a mirror port on a switch.
thanks
Offline
I know this is not 100% what you're asking, but though I'd mention it since it'll fix the situation as well.
You can also simply add the following to your /etc/rc.local, so your eth1 nic gets put in promisc mode during boot.
ip link set dev eth1 promisc on
Burninate!
Offline
I think this will work, but when I have tried >>ip link set dev eth1 promisc on<< it does not set the port state to up.
any suggestions?
Thank you
Offline
I ended up using the below command
ip link set eth1 up promisc on
with the following results
eth1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:19:b9:0f:6e:52 brd ff:ff:ff:ff:ff:ff
inet6 fe80::219:b9ff:fe0f:6e52/64 scope link
valid_lft forever preferred_lft forever
which seems to be working for me, only problem is it seems to run after the daemons (NTOP), causing NTOP not to start.
any suggestions?
Offline
This shouldn't be having any impact on the starting of your network related daemons, unless ntop is also trying to have the webinterface listen on eth1. Try checking /etc/conf.d/ntop and make sure it's only listening on eth0.
Burninate!
Offline
Pages: 1