s.lobanov Posted July 7, 2012 Posted July 7, 2012 можно ли на интерфейс повесить 2 мака, т.е. существует ли что-то рабочее типа ifconfig eth0 1.1.1.1 hw ether 0000-1111-2222, ifconfig eth0:0 1.1.1.2 hw ether 0000-1111-2223 ? или может быть как-то поменять src_mac в зависимости от src_ip? задача крайне специфична, более высокоуровнего описания дать не могу Вставить ник Quote
pppoetest Posted July 7, 2012 Posted July 7, 2012 (edited) А если вланами раскидать? Хотя судя по статусу акка, думаю вы это знаете лучше меня Edited July 7, 2012 by pppoetest Вставить ник Quote
nuclearcat Posted July 7, 2012 Posted July 7, 2012 ip link add link eth0 type macvlan ifconfig macvlan0 hw ether .... Вставить ник Quote
Ilya Evseev Posted July 7, 2012 Posted July 7, 2012 http://sourceforge.net/projects/multimac/ Найдено в Гугле по запросу "linux multiple mac addresses on one nic". => https://forum.openwrt.org/viewtopic.php?pid=139834#p139834 => http://forum.proxmox.com/threads/4781-Macvlan-module?p=27021#post27021 Вставить ник Quote
voron Posted July 8, 2012 Posted July 8, 2012 или может быть как-то поменять src_mac в зависимости от src_ip? ebtables nat Вставить ник Quote
s.lobanov Posted July 9, 2012 Author Posted July 9, 2012 ip link add link eth0 type macvlan ifconfig macvlan0 hw ether .... спасибо, это то что нужно Вставить ник Quote
vurd Posted July 9, 2012 Posted July 9, 2012 О! Спасибо, мне тоже такую задачу нужно было решить. http://www.bertera.it/index.php/2011/10/04/howto-configure-multiple-mac-address-over-a-single-ethernet-interface/ Вставить ник 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.