Hi
I'm running CentOS 6.5 with an unlicensed virtualisor and I have issues with virtnetwork. The setup in my lab is as following:
INTERNET => GATEWAY (192.168.0.1) => VIRTUALISOR HOST (192.168.0.100 / 10.0.40.1 )
The 10.0.40.1 is the gateway I want to use for all the virtual hosts. I setup the ip forwarding and added in the virtualizor configuration in the field "Network Interface" eth0:0 because I want to use that interface. Now when I try to start virtnetwork this fails. Obviously I can't read /usr/local/virtualizor/bridge.php so I'm a bit stuck now and don't know how to get it working. I get it working on the "normal" way (all the virtual hosts in the 192.168.0.0/24 range) but this isn't what I want. I don't what to do, should I buy a license to use it with subinterfaces?
Below some additional info:
output of my ifconfig
Code eth0 Link encap:Ethernet HWaddr 6C:F0:49:B4:99:07
inet6 addr: fe80::6ef0:49ff:feb4:9907/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2354 errors:0 dropped:0 overruns:0 frame:0
TX packets:1580 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:270819 (264.4 KiB) TX bytes:609315 (595.0 KiB)
eth0:0 Link encap:Ethernet HWaddr 6C:F0:49:B4:99:07
inet addr:10.0.40.1 Bcast:10.0.40.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0:1 Link encap:Ethernet HWaddr 6C:F0:49:B4:99:07
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
ifcfg-eth0
Code DEVICE=eth0
HWADDR=6C:F0:49:B4:99:07
TYPE=Ethernet
UUID=6c5a9050-f265-40ce-83a4-ab0510919903
ONBOOT=yes
NM_CONTROLLED=no
ifcfg-eth00
Code DEVICE=eth0:0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
NETMASK=255.255.255.0
IPADDR=10.0.40.1
GATEWAY=192.168.0.1
ifcfg-eth01
Code DEVICE=eth0:1
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
NETMASK=255.255.255.0
IPADDR=192.168.0.100
GATEWAY=192.168.0.1
|