Lucas, thanks, I will try that -- Nan
On Tuesday, October 22, 2013 at 4:46 PM, Lucas Brasilino wrote: > Hi! > > > I want the VMs not only be able to communicate with each other, but also can > > access Internet through 192.168.55.1 > > what shall I do? > > > > > I haven't tested this setup, but considering that your VM's are in the same > L3 network of your bridge, say 192.168.6.0/24, I imagine that you should > enable IP forwarding on your host: > > # sysctl -w net.ipv4.ip_forward=1 > > And use the bridge's IP as VM's and others servers' default gateway and use > the > other's NIC IP, 192.168.55.1, as host's default gateway. This should work. > > regards > Lucas Brasilino > MSc Student @ Federal University of Pernambuco (UFPE) > twitter: @lucas_brasilino > > > > 2013/10/19 Nan <[email protected] (mailto:[email protected])>: > > Hi, all > > > > I have a server with 6 interfaces, I create a bridge, and attach 5 of them > > to it, these 5 interfaces are actually connecting to the other 5 servers, > > > > by assigning IP address 192.168.6.1 to the bridge, and get other servers' > > gateway to 192.168.6.1, I can make all VMs in these servers communicate with > > each other > > > > the left one interface is connecting to the 192.168.55.1 where is the > > gateway to access Internet, > > > > I want the VMs not only be able to communicate with each other, but also can > > access Internet through 192.168.55.1 > > > > what shall I do? > > > > Sorry for that it may be a stupid question > > > > -- > > Nan > > > > > > _______________________________________________ > > discuss mailing list > > [email protected] (mailto:[email protected]) > > http://openvswitch.org/mailman/listinfo/discuss > > > > >
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
