First principles

From Mike's wiki
Revision as of 11:44, 15 January 2023 by Mike (talk | contribs) (Created page with "=== Using ifconfig === $ ifconfig eth0:1 10.10.20.218 netmask 255.255.255.0 broadcast 10.10.20.255 === Using ip === $ ip a add 192.168.178.2/24 dev eth0")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Using ifconfig

$ ifconfig eth0:1 10.10.20.218 netmask 255.255.255.0 broadcast 10.10.20.255

Using ip

$ ip a add 192.168.178.2/24 dev eth0