Set your IP: Difference between revisions

From Bitpost wiki
(Created page with "NEVER LET A VM CLONE USE THE SAME IP, you will tear your clothes and spit on the ground! # for static IPs on ubuntu work machines: sudo emacs /etc/network/interfaces # f...")
 
(No difference)

Latest revision as of 04:19, 28 January 2021

NEVER LET A VM CLONE USE THE SAME IP, you will tear your clothes and spit on the ground!

# for static IPs on ubuntu work machines: 
  sudo emacs /etc/network/interfaces
# for static IPs on centos work machines: 
  sudo emacs /etc/sysconfig/network-scripts/ifcfg-ens192 
  service network restart

# example:
BOOTPROTO=none
IPADDR=10.122.82.241
NETMASK=255.255.255.0
GATEWAY=10.122.82.1

# For VMs, change network adapter if needed to match subnet (eg "LabNet8X")
# for virtualbox no changes were needed (as of yet)