Hi all,
I am installing virtualmin using the automated install script as per https://www.virtualmin.com/download.html#gpl on my vps. I am running a clean install of CentOS 6 64bit Minimal with OpenVZ as my virtualization type. During the install I get the error “Unable to determine IP address of primary interface. Please enter the name of your primary network interface:”
ifconfig returns:
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:65536 Metric:1
RX packets:167 errors:0 dropped:0 overruns:0 frame:0
TX packets:167 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19225 (18.7 KiB) TX bytes:19225 (18.7 KiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:232785 errors:0 dropped:0 overruns:0 frame:0
TX packets:119159 errors:0 dropped:55 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:343962700 (328.0 MiB) TX bytes:6420600 (6.1 MiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:121.216.97.10 P-t-P:121.216.97.10 Bcast:121.216.97.10 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
I looked on the forums and found a similar questions however it appears that some people are using venet0 and others venet0:0. While I am competent with linux I am a programmer not a systems admin so I am a little unsure which one to use based upon the output of ifconfig above. I can see my ip on venet0:0. Which one should I use?
Thanks in advance