/etc/dhcpcd.conf

From wikieduonline
Revision as of 03:46, 9 September 2021 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.


To configure a static ip in eth0 interface.

/etc/dhcpcd.conf
interface eth0
static ip_address=192.168.0.4/24    
static routers=192.168.0.254
static domain_name_servers=192.168.0.254 8.8.8.8

Related terms

See also

Advertising: