Changing ip address on Ubuntu server

Easy as pie:

ifconfig eth0 192.168.5.120 netmask 255.255.255.0 up
route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.5.1

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment