Question : linux set static ip
Answered by : bernat
{"tags":[{"tag":"p","content":"Linux set static ip"},{"tag":"textarea","content":"sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0","code_language":"shell"}]}
Source : | Last Update : Fri, 10 Mar 23
Question : configure static ip address linux
Answered by : clever-capybara-68arayx99ll7
# for debain in /etc/network/interfaces
# you can find your network adapter with ip a
# no need for network or broadcast address when you set your netmask right
auto <your-networkadapter>
allow-hotplug <your-networkadapter>
iface <your-networkadapter> inet static address 192.168.X.X netmask 255.255.255.X gateway 192.168.X.X
Source : | Last Update : Sat, 30 Apr 22
Question : linux set ip static
Answered by : steamboatid
ip address add 172.16.251.1/24 brd + dev wlan0:0
Source : | Last Update : Sat, 09 Jan 21