Revision 52366a23 kvm-vif-bridge
b/kvm-vif-bridge | ||
---|---|---|
25 | 25 |
brctl addif $BRIDGE $INTERFACE |
26 | 26 |
INDEV=$BRIDGE |
27 | 27 |
try init_ebtables |
28 |
# nfdhcpd creates responses with src mac the mac of indec |
|
29 |
INDEV_MAC=$(cat /sys/class/net/$INDEV/address) |
|
28 | 30 |
DROPDHCPREQCMD="runlocked $RUNLOCKED_OPTS ebtables -A $FROM -p ipv4 --ip-protocol udp --ip-destination-port 67 -j DROP" |
29 | 31 |
fi |
30 | 32 |
|
Also available in: Unified diff