How do I setup a static (fixed) IPv4 address?

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Via the console menu.

1615585081281.png


Use option 1 to configure a static address for your network interface. Also use option 4 to configure a default gateway, and option 6 to configure your DNS servers.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
@Samuel Tai Why not hint at the UI? That can perfectly well be done there, too?
 

G8One2

Patron
Joined
Jan 2, 2017
Messages
248
I like to set the IPV4 to dynamic on the machine, and set the static address on the router, so I can keep track of all my static addresses. Easier to keep track of what addresses are in static use when I can see them in the DHCP server. Couldnt tell you if that is the right or wrong thing to do, but thats how I do it.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Then all you need is the MAC address of the interface, and can use that to program DHCP on your router. I'm not familiar with your motherboard, but it appears to have Intel NICs, so you have either igb or em interfaces. ifconfig igb0/em0, whatever the case may be, and look for the line that starts with ether. This will be the MAC of your interface.
 
Top