syster Posted February 16, 2016 Posted February 16, 2016 (edited) Есть сервер с Centos 7 с 3мя сетевыми. На 2 сетевые (eth1, eth2) сыпется зеркалированный трафик со свитчей. Надо весь этот трафик завернуть на eth3, для передачи на другой сервер. Как это сделать? Edited February 16, 2016 by syster Вставить ник Quote
OK-2004 Posted February 17, 2016 Posted February 17, 2016 https://sourceforge.net/projects/daemonlogger/ ? Вставить ник Quote
dmvy Posted February 17, 2016 Posted February 17, 2016 bridge + ebtables! brctl addbr br0 brctl addif br0 eth1 brctl addif br0 eth2 brctl addif br0 eth3 bridge fdb add 00:00:00:00:dd:10 dev eth3 ebtables -t nat -A PREROUTING -i eth1 -j dnat --to-destination 00:00:00:00:dd:10 ebtables -t nat -A PREROUTING -i eth2 -j dnat --to-destination 00:00:00:00:dd:10 Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.