Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm building a linux virtualization node based on CentOS 6.3 with kvm and libvirt (using virsh as interface). I have a cheapass server at OVH with two public ipv4 addresses, i want to use the second address as primair address for a NAT network. The first virtual server (vm1) should be the gateway which communicates with the outside world.
So i bridged eth0 and assigned the bridge to the virtual machine's config. I expect that i can assign a public address to the virtual machine. However if i put the secundair ip to the virtual machine's network config with the correct gateway, broadcast and netmask i can still not communicate from outside.
# brctl show bridge name bridge id STP enabled interfaces
br0 8000.002590040544 yes eth0
tcpdump while pinging secundairy ip from outside: tcpdump -i br0 icmp -n
listening on br0, link-type EN10MB (Ethernet), capture size 65535 bytes
18:48:18.670758 IP **.210.**.25 > 94.**.***.169: ICMP echo request, id 5607, seq 17, length 64
proxy ip is turned on to avoid problems with different MAC's:
sysctl.conf: # proxy arp
net.ipv4.conf.eth0.proxy_arp = 1
net.ipv4.conf.br0.proxy_arp = 1
#bypass iptables for bridging
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0