Ho difficoltà con una scheda in promiscous mode.
Lo scenario è il seguente.
La scheda è configurata così:
auto eth1
iface eth1 inet manual
up ip link set $IFACE up
down ip link set $IFACE down
E' attaccata a bridge br-eth1 così configurato
iface br-eth1 inet static
address 163.162.63.48
netmask 255.255.255.0
tramite openvswitc:
Bridge "br-eth1"
Port "eth1"
Interface "eth1"
Port "qg-8db7e495-59"
Interface "qg-8db7e495-59"
type: internal
Port "br-eth1"
Interface "br-eth1"
type: internal
Port "phy-br-eth1"
Interface "phy-br-eth1"
La macchina in questione fa da nova-controller + neutron di una installazione di openstack.
Pingando un indirizzo nella sua rete (163.162.63.0/24) e sniffando con tcpdump su eth1,
non vedo nulla, ho forzato allora il promiscous
con
ifconfig eth1 promisc
La scheda effettivamente in promiscous:
eth1 Link encap:Ethernet HWaddr 00:0c:29:f9:c6:90
inet6 addr: fe80::20c:29ff:fef9:c690/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:97533 errors:0 dropped:0 overruns:0 frame:0
TX packets:226579 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12364560 (12.3 MB) TX bytes:64496908 (64.4 MB)
ma con tcpdump continuo a vedere solo i pacchetti destinati all'indirizzo del bridge.
Idee ??
Walter
--
Per favore non inviatemi allegati in formato MS Office.
Utilizza alternativamente documenti in formato OpenDocument.
http://oinophilos.blogspot.com/