T
T
Timi02222021-04-11 14:09:31
Computer networks
Timi0222, 2021-04-11 14:09:31

Simple network question, static IP address configuration?

Good day,

I have a very simple question, tell me how to proceed.

For example, there is a virtual server on ubuntu. It is configured as dhcp. I want to enter a static address like this (example):
auto eth0
iface eth0 inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1

But when I look at the DHCP configuration, broadcast 192.168.1.254 is entered instead of gateway. Those. it turns out that I need to enter in a static config on the server?

Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Dmitriev, 2021-04-11
@Timi0222

Nothing.
Broadcast will be automatically calculated based on the subnet mask.
You need to manually enter ip address, subnet mask, default gateway.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question