I did try others method which was answered that kind of problem like Change network interface to Detect automatically.
Problem is coming when i try to create a new Virtual server. Failed to create virtual server : New virtual server has no IP address! Perhaps Virtualmin could not work out the system's default IP.
How do i fix that?
Here is /sbin/ifconfig output
eth0 Link encap:Ethernet HWaddr 04:01:27:d0:ae:01 inet addr:188.166.183.2 Bcast:188.166.191.255 Mask:255.255.240.0 inet6 addr: 2400:6180:0:d0::b1f:9001/64 Scope:Global inet6 addr: fe80::601:27ff:fed0:ae01/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6345884 errors:0 dropped:0 overruns:0 frame:0 TX packets:5559234 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1291937436 (1.2 GB) TX bytes:2128577845 (2.1 GB)
eth1 Link encap:Ethernet HWaddr 04:01:27:d0:ae:02 inet addr:10.130.35.153 Bcast:10.130.255.255 Mask:255.255.0.0 inet6 addr: fe80::601:27ff:fed0:ae02/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:578 (578.0 B)
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:211611 errors:0 dropped:0 overruns:0 frame:0 TX packets:211611 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:22340026 (22.3 MB) TX bytes:22340026 (22.3 MB)
Server Type: Ubuntu 14.04LTS Vendor: Digital Ocean RAM: 512 Floating IP : No IPv6: Yes
Digital Oceans Floating IP always gives issue. The problem with Floating IP is that DO only issue an IP if you need it.
Visit me at coderinthebox.com
But I already mentioned that I didn't attached any floating IP to my VPS