Additional IP addresses are not loaded

NLServ

Verified User
Joined
Sep 29, 2019
Messages
8
Hi All,

Just did a clean install of Centos 8 with DirectAdmin. In DirectAdmin I did add extra IP addresses but even after a restart of the server I didn't get them loaded on the network interface. Ifconfig only shows the main IP, /usr/local/directadmin/scripts/startips didn't make any difference.

Does anyone have an idea what's going wrong here?

Thanks!
 
in the output of the command "ip a" , the ips isnt there?
you always can add the IPs manually to the system like this:

Thanks for your quick reply @dmtinc

In the output of the command "ip a" I can see the IP's:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:1d:d8:b7:54:f9 brd ff:ff:ff:ff:ff:ff
inet 123.123.123.5/24 brd 145.131.7.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet 123.123.123.6/24 scope global eth0
valid_lft forever preferred_lft forever
inet 123.123.123.7/24 scope global eth0
valid_lft forever preferred_lft forever
inet 123.123.123.8/24 scope global eth0
valid_lft forever preferred_lft forever
inet 123.123.123.9/24 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::21d:d8ff:feb7:54f9/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 00:15:5d:0e:f4:47 brd ff:ff:ff:ff:ff:ff

In ifconfig I only see the main IP. The additional IP's aren't reachable at all.... What do I miss?

I get an Error 1020 on the link u wrote.
 
Again thanks for your help @dmtinc . Seems there is some networking issue arround some IP's there some of them are working fine for now.
 
After chasing the latest Apache bug and doing a kernel update then rebooting I had this issue... no IP's in the Linux network config.

I ran 'service startips restart' and all is well again. Why startips isn't happening at boot is beyond me right now.
 
Back
Top