eth0 static 192.168.100.10
eth1 static 192.168.100.11
I don't want any changes for eth0.
There is a dhcp to send ips to the guest os and when it's working, it's works so here is the problem :
The method described for fedora is working but then I can't use the eth1 in my LAN (no ping..) but it's working in the guest OS (dhcp).
Code: Select all
New file /etc/sysconfig/network-scripts/ifcfg-br0 with:
DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp
ONBOOT=yes
Add to the file /etc/sysconfig/network-scripts/ifcfg-eth1 :
BRIDGE=br0
/sbin/service network restart
VBoxAddIF vbox0 root br0
then add vbox0 as interface for the VM in the GUI.
The other method for other distributions works but it doesn't "save" the modifications. I mean that after a reboot it doesn't work anymore.
Code: Select all
brctl addbr br0
ifconfig eth1 0.0.0.0
brctl addif br0 eth1
ifconfig br0 192.168.100.11 netmask 255.255.255.0
VBoxAddIF vbox0 root br0
I noticed that some people are using some scripts.. it that really necessary ? Why the first method doesn't work as the second one ?? Thanks you for your help I'm used to VMware server...
Best regards