![Steffan's picture Steffan's picture](https://archive.virtualmin.com/sites/default/files/styles/thumbnail/public/pictures/picture-10342-1473193481.jpg?itok=9bOAazgj)
I'm not sure if this is a CentOS issue or virtualmin/webmin. When adding an alias interface, for example eth0:1, everything stops. The current IP is .230 but when adding .231 .232 etc, that is when everything stops responding. When I go into the OS gui, I notice that the hardware address, dns and search domain are not populated. Is this the correct behavior?
Status:
Closed (fixed)
Comments
Ok, it may be an OS thing. For some reason, the OS listens on the newly added address rather than the original and in the GUI, I see no way to change which is the default. Is there something I am missing in VM/WM to fix this?
Submitted by andreychek on Sun, 08/14/2011 - 22:22 Comment #2
Yeah, that shouldn't happen :-) You should be able to add any number of additional ethernet aliases. A few questions --
Can you confirm that you're using CentOS 6?
Are you using a VPS, or a dedicated server? If you have a VPS, do you know what kind of VPS software it's running?
Can you describe how you're going about adding an additional ethernet alias?
Thanks!
1) Yes, I am sure its CentOS 6. Linux xx.xxxx.com 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
2) Dedicated Server
3) Networking > Network Configuration > Network Interfaces > Activated at boot > Add New Interface Populate the basic info, static config, and leave the default settings radio dials for MTU and hardware address.
After I manually entered it all via the GUI it started to work then failed when I tried to add the 3rd IP via VM. I went into the GUI again and fixed it. Everything died again. I had to reboot to get anything to respond again. After reboot, ssh and VM started responding again.
Submitted by JamieCameron on Mon, 08/15/2011 - 14:05 Comment #4
I just tested this on a CentOS 6 system, and was unable to re-produce the issue ..
Could you let us know exactly what IP address and netmask were set for eth0 , and what you entered for eth0:1 and eth0:2 ?
From my experience, having a 'OS GUI' (e.g desktop) on CentOS isn't best practise. It creates bugs.
I would advise to remove the desktop or reinstall with server-core and then only with virtualmin/webmin.
Submitted by Locutus on Tue, 08/16/2011 - 04:48 Comment #6
I agree with ronald there. Basically, the OS GUI and Webmin are both trying to do the same thing: Make changes to the configuration files and apply them. Possibly without you noticing, in case of the OS GUI.
If the methods and syntaxes that both of those use are slightly incompatible, you're asking for trouble. ;)
At least for troubleshooting reasons, you should try this out without the OS GUI, to make sure that it is or is not the reason for the problems.
This was cleared in an update. Thanks!