[SGVLUG] Can I Manually Change an IP Address on my Local Machine?
John Kreznar
jek at ininx.com
Mon Apr 4 12:28:15 PDT 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hart Larry <chime at hubert-humphrey.com> writes:
> ... can I manually change an ip address of the local Debian machine?
> And exactly what will I type?
Assuming the ethernet device is eth0, type
ifconfig eth0 <new-address> up
where <new-address> is the intended new ip address, e.g. 192.168.1.9.
A way to check whether the ethernet device is eth0 is to type simply
ifconfig
Before and after changing the ip address, you might also type simply
route
to confirm that the Debian kernel routing table correctly tracks the
change.
> This machine is still running at 157 days.
Triple-digit up-time! You must be doing something right.
Congratulations!
- --
OpenPGP key: http://ininx.com
John E. Kreznar jek at ininx.com 9F1148454619A5F08550 705961A47CC541AFEF13
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.9 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAlcCwEQACgkQYaR8xUGv7xMk8wCff+Eeq0Xit0Alo35PEywbnNyy
IHUAn3fXbVIngmRAWYA26BA4Dm4KlYl8
=7K+Q
-----END PGP SIGNATURE-----
More information about the SGVLUG
mailing list