j4neiros
My digital hodgepodge
Friday, March 23, 2012
Ubuntu's non persistent network configuration
sudo ip addr add 192.168.1.14/24 dev eth0
sudo ip link set dev eth0 up
sudo ip route add default via 192.168.1.1
Or
ifconfig eth0 192.168.1.14 netmask 255.255.255.0
route add default gw 192.168.1.1 eth0
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment