Arch linux kvm and pfsense 2.1
-
I had installed pfsense under kvm running on arch linux I have bridged two network cards as virtio. One is attached to cable modem second to a 24 port switch I had configured virtio interfaces . I can get an ip address from cable modem but when I ping google.com from pfsense console I get no route to the host. I edited kvm configuration file and changed mac address of virtio interface to the network card that is bridged to. I added and FwdDelay=0 to bridge and my pings seem to be fine to ggogle and 11 ms I noticed without FwdDelay=0 my pings were 64 to 44 ms. It seems that i can get internet. What am i doing wrong? is there a way to test if internet works without unplaging main pfsense box ?
-
So I edited /etc/sysctl.conf added
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-filter-pppoe-tagged = 0
net.bridge.bridge-nf-filter-vlan-tagged = 0
net.ipv4.ip_forward = 1
I installed openvswitch-git installed it and enabled it and create openvswitch interface.
I enabled openvswitch support in kvm.