Re: assign static external IP to container

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

 



Gao feng @ 12/15/2013 07:47 PM:
>> remove this br0 sector from the interfaces file. and restart the network. (remove the bridge br0)
>> I'm not familiar with the configure files in ubuntu,
>> let's use the command.
> 
>> 1, ifconfig eth0 0.0.0.0
>> 2, brctl addif virbr0 eth0
>> 3, ifconfig virbr0 67.180.246.122/29
>> 4,ip route add default via 67.180.246.121 dev virbr0
>> 5, ifconfig eth0 x.x.x.x/29 (in container)
>> 6, ip route add default via 67.180.246.121 dev eth0 (in container)
> 
>> but this will not work when you restart libvirt.

hehe well i kinda need something that will work :P  also if i take out
br0 from interfaces file i'm pretty sure my server will become
inaccessible :\


_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users





[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux