Skip to content

Instantly share code, notes, and snippets.

@ricardoanguiano
Last active August 29, 2015 14:14
Show Gist options
  • Save ricardoanguiano/f728970037552cd59d2e to your computer and use it in GitHub Desktop.
Save ricardoanguiano/f728970037552cd59d2e to your computer and use it in GitHub Desktop.
Local Link Addresses

Wikipedia

http://en.wikipedia.org/wiki/Private_network#Link-local_addresses

The block 169.254.0.0/16 is reserved for this purpose, with the exception of the first and the last /24 subnets in the range. If a host on an IEEE 802 (ethernet) network cannot obtain a network address via DHCP, an address from 169.254.1.0 to 169.254.254.255 may be assigned pseudorandomly. The standard prescribes that address collisions must be handled gracefully.

Linux

/media/boot/EFI/BOOT/grub.cfg modified with new command line for ip address change:
- linux /vmlinuz LABEL=boot root=/dev/ram0  ip=169.254.10.10:::255.255.0.0:::off:: console=ttyUSB0,115200 console=tty0 radeon.dpm=1
+ linux /vmlinuz LABEL=boot root=/dev/ram0  ip=dhcp console=ttyUSB0,115200 console=tty0 radeon.dpm=1 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment