Assign new adress IP

inomi13

Verified User
Joined
Jan 7, 2022
Messages
158
I have IP server and addition IP which are assign to device eth0. I added another additional IP but I didn't uncheck option "Add to device" so after that new adres IP has device as eth1.

My IP provider give me address Ip as IPv4, IPv6 and MAC address.
 
Last edited:
Previous IP address was added to the eth0 interface and this IP address to eth1 and I don't know if this is correct, as I said my IP provider also gave me a MAC address or do I have to enter it somewhere? If I want to use the IP address assigned to the reseller, do I have to have the "Add to device" option checked before adding the IP address?

My ip provider told me that mask is 255.255.255.255 but ip a show give me information that mask is 22

screen.png
 
Last edited:
and this IP address to eth1 and I don't know if this is correct,
That depends on your server/vps provider. If you have 2 nics and eth1 is also connected and working, it should not be a problem.
If he also gave you a macaddress and it's different from eth0 then it's a seperate nic and you can use that too.
If you use the "ip a" command, then you should see localhost and all existing nic's with their mac address.

As long as DA sees the ip and can work with it, it shouldn't be a problem.
As for the mask, we had a provider which also always gave 255.255.255.255 as mask but a /22 can be possible.
I'm doubting about this as I'm not 100% sure. But until some mtime in the past we also used the 255.255.255.255 mask. Didn't have problems.
 
Back
Top