I have a CentOS 6.7 minimal distribution which I created in virtual box. As an afterthought, I added a secondary network interface in virtualbox, so I have an NAT interface, and a host-only local network. When I log into my virtual machine and run:
ip link show
Shows eth0 as UP and eth1 as DOWN. When I try:
I get configuration for eth1 not found. When I look in /etc/sysconfig/network-scripts, I see an icfg-eth0 file, but no icfg-eth1 file.
I have a few questions:
- Should icfg-eth1 have been generated when I added the host-only local connection in virtualbox?
- If I have to create the icfg-eth* file myself, which tool should I use to generate it? Which package should I install to get it?
- Should I ever manually edit the contents of /etc/sysconfig/network-scripts?