Some problemas working with network namespaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all,

 I am trying to virtually connect two bridges on different network namespaces inside a CentOS KVM host. I have tried different configs, but this is the most closer than I can test:

	ip netns add pubnet
	ip netns exec pubnet ip link set dev lo up
	ip netns exec pubnet ifup pubif2
	ip link add dev vethpubif1 type veth peer name vethpubif2
	ovs-vsctl add-port pubif1 vethpubif1
	ip link set vethpubif2 netns pubnet
	ip netns exec pubnet brctl addif pubif2 vethpubif2
	ip link set dev vethpubif1 up
	ip netns exec pubnet ip link set dev vethpubif2 up

 Bridge in the root host network namespace is openvswitch based, and bridge inside pubnet's network namespace is brctl based. Using this config, vms attached to pubif1 openvswitch based can't ping to vms connected to vms in pubif2 bridge.

 What am i doing wrong?

Thanks.

-- 
Greetings,
C. L. Martinez
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux