On 11/22/2013 03:47 PM, Sherin A wrote:
Hello,
I am not able to see vrbr0 in my box. Can some one help me with this ? . I am trying
KVM+libvirt and planing to use Routed mode. I hope this virbr0 must be up for using this
. I can give an
strace too.
OS : Debian , kernel 3.12.0
libvrit version : 0.9.8
____________________________________________________________________
root@:~# ifconfig
br0 Link encap:Ethernet HWaddr 4c:72:b9:32:32:86
inet addr:10.0.0.12 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::4e72:b9ff:fe32:3286/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4523 errors:0 dropped:0 overruns:0 frame:0
TX packets:4068 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2286336 (2.2 MB) TX bytes:411238 (411.2 KB)
eth0 Link encap:Ethernet HWaddr 4c:72:b9:32:32:86
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17044 errors:0 dropped:0 overruns:0 frame:0
TX packets:14253 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12594945 (12.5 MB) TX bytes:1902456 (1.9 MB)
Interrupt:20 Memory:f7c00000-f7c20000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)
-------------------------------------------------------------------
root@:~# virsh net-start default
error: Failed to start network default
error: failed to add iptables rule to enable masquerading
root@:~# virsh net-list --all
Name State Autostart
-----------------------------------------
default inactive yes
root@:~# virsh net-start default
error: Failed to start network default
error: failed to add iptables rule to enable masquerading
seems like your kernel doesn't have ipt_MASQUERADE installed.
try modprobe ipt_MASQUERADE