1) DMZ in router (ZTE MF286) set to enable - 192.168.0.111
2) ifcfg-eno1 set to 192.168.0.111, and gate 192.168.0.1
This works fine, but directadmin don't work "The ip of this machine (192.168.0.111) does not match the ip in the license file". I created ifcfg-eno1:0 with my static IP (this IP is in the license file of directadmin), but then I can't access to server via ssh, and to directadmin via 2222 port. And now the strangest thing - after remove ifcfg-eno1:0 file, suddenly everything works great - ssh and directadmin, but only until reboot. After that everything stops working.
Can't access via ssh after add ifcfg-eno1:0
Re: Can't access via ssh after add ifcfg-eno1:0
And what was the ip you added to the :0 file? Was it in the same subnet as the main ip?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Can't access via ssh after add ifcfg-eno1:0
In ifcfg-eno1:0 I added my external IP - 77.91.XX.XXX
Re: Can't access via ssh after add ifcfg-eno1:0
Yeah, you can't do that if it's in use as your external address. It's a duplicate.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Can't access via ssh after add ifcfg-eno1:0
Did you:
1. add bogus address
2. start directadmin service
3. remove bogus address
4. use directadmin
Sounds like the service checks license on start only.
Can't you update the license of directadmin?
Note on :0
The "newer tools" ... are almost two decades old by now.IP-aliases are an obsolete way to manage multiple IP-addresses/masks per interface. Newer tools such as iproute2 support multiple address/prefixes per interface, but aliases are still supported for backwards compatibility.
I would not add second address to eth0 either. Not for this.
Perhaps a bridge interface with no legs. Real small subnet on it: 77.91.XX.XXX/32 and definitely no DNS&GW.