I am trying to configure networking on a KVM VM, but am unable to see anything outside the VM. On the host I have a number of machines using OpenVZ and I have configured their IP addresses through the Proxmox console.
The host ifconfig gives:
dummy0 Link encap:Ethernet HWaddr B2:57:56:B3:ED:5E
inet6 addr: fe80::b057:56ff:feb3:ed5e/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:20147 (19.6 KiB)
eth0 Link encap:Ethernet HWaddr 00:22:15:41:47:A6
inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.xy Mask:255.255.255.0
inet6 addr: fe80::222:15ff:fe41:47a6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6495146 errors:0 dropped:0 overruns:0 frame:0
TX packets:3915759 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6268099270 (5.8 GiB) TX bytes:566776211 (540.5 MiB)
Interrupt:252 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:503578 errors:0 dropped:0 overruns:0 frame:0
TX packets:503578 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:197793497 (188.6 MiB) TX bytes:197793497 (188.6 MiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:448337 errors:0 dropped:0 overruns:0 frame:0
TX packets:835670 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:50626882 (48.2 MiB) TX bytes:1172387282 (1.0 GiB)
vmbr0 Link encap:Ethernet HWaddr B2:57:56:B3:ED:5E
inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.xy Mask:255.255.255.0
inet6 addr: fe80::b057:56ff:feb3:ed5e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10214 errors:0 dropped:0 overruns:0 frame:0
TX packets:1828 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:576221 (562.7 KiB) TX bytes:76992 (75.1 KiB)
vmtab104i Link encap:Ethernet HWaddr 00:FF:A6:0A:94:EC
inet6 addr: fe80::2ff:a6ff:fe0a:94ec/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:7245 errors:0 dropped:0 overruns:0 frame:0
TX packets:1286 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:502806 (491.0 KiB) TX bytes:55308 (54.0 KiB)
vmtab107i Link encap:Ethernet HWaddr 00:FF:C0:1B:78:CB
inet6 addr: fe80::2ff:c0ff:fe1b:78cb/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:1368 (1.3 KiB) TX bytes:510 (510.0 b)
xx.xx.xx.xx is the public IP address. I am trying to create a VM with 10.10.10.104 and another on 10.10.10.107.
brctl show gives:
bridge name bridge id STP enabled interfaces
vmbr0 8000.b25756b3ed5e no dummy0
vmtab104i0
vmtab107i0
When I run through the Ubuntu installation on the VM through the VNC console, when it comes to configuring the network, it cannot see any gateway address I add. (I've tried the xx.xx.xx.xy address and 0.0.0.0).
I'm not sure I have provided all the relevant information, but can you help?
The host ifconfig gives:
dummy0 Link encap:Ethernet HWaddr B2:57:56:B3:ED:5E
inet6 addr: fe80::b057:56ff:feb3:ed5e/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:20147 (19.6 KiB)
eth0 Link encap:Ethernet HWaddr 00:22:15:41:47:A6
inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.xy Mask:255.255.255.0
inet6 addr: fe80::222:15ff:fe41:47a6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6495146 errors:0 dropped:0 overruns:0 frame:0
TX packets:3915759 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6268099270 (5.8 GiB) TX bytes:566776211 (540.5 MiB)
Interrupt:252 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:503578 errors:0 dropped:0 overruns:0 frame:0
TX packets:503578 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:197793497 (188.6 MiB) TX bytes:197793497 (188.6 MiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:448337 errors:0 dropped:0 overruns:0 frame:0
TX packets:835670 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:50626882 (48.2 MiB) TX bytes:1172387282 (1.0 GiB)
vmbr0 Link encap:Ethernet HWaddr B2:57:56:B3:ED:5E
inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.xy Mask:255.255.255.0
inet6 addr: fe80::b057:56ff:feb3:ed5e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10214 errors:0 dropped:0 overruns:0 frame:0
TX packets:1828 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:576221 (562.7 KiB) TX bytes:76992 (75.1 KiB)
vmtab104i Link encap:Ethernet HWaddr 00:FF:A6:0A:94:EC
inet6 addr: fe80::2ff:a6ff:fe0a:94ec/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:7245 errors:0 dropped:0 overruns:0 frame:0
TX packets:1286 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:502806 (491.0 KiB) TX bytes:55308 (54.0 KiB)
vmtab107i Link encap:Ethernet HWaddr 00:FF:C0:1B:78:CB
inet6 addr: fe80::2ff:c0ff:fe1b:78cb/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:1368 (1.3 KiB) TX bytes:510 (510.0 b)
xx.xx.xx.xx is the public IP address. I am trying to create a VM with 10.10.10.104 and another on 10.10.10.107.
brctl show gives:
bridge name bridge id STP enabled interfaces
vmbr0 8000.b25756b3ed5e no dummy0
vmtab104i0
vmtab107i0
When I run through the Ubuntu installation on the VM through the VNC console, when it comes to configuring the network, it cannot see any gateway address I add. (I've tried the xx.xx.xx.xy address and 0.0.0.0).
I'm not sure I have provided all the relevant information, but can you help?