Set your IP

From Bitpost wiki
Revision as of 04:19, 28 January 2021 by M (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)