xDSL and Linux: Go Speed Racer! - page 3
Don't Let the Man Keep You Down: Grab the Power of DSL for Linux
Most modern distributions of Linux allow the user at setup time to specify whether they will access their network or the internet via DHCP or static IP.
From the network administrators perspective, especially on a large network, DHCP is a friend that saves the administrator much time by avoiding the hassles associated with allocation of IP addresses on the LAN or inter-company WAN and allows machines easy configuration when adding or subtracting network nodes.
In most distributions the DHCP information is locate in
/etc/dhcpc/. The files that are used are
The typical DHCPCD configuration file
often looks something like this:
$ more /etc/dhcpc/dhcpcd-eth0.info
IPADDR=22.214.171.124 # The IP address assigned to your computer
NETMASK=255.255.255.0 # The netmask of your network (class C)
NETWORK=126.96.36.199 # Again, indicative of a class C network
BROADCAST=255.255.255.255 # nothing unusual
GATEWAY=188.8.131.52 # Gateway of THEIR network, not yours
DNS=184.108.40.206,220.127.116.11 # primary & secondary here
DHCPSID=18.104.22.168 # Server ID
DHCPGIADDR=22.214.171.124 #Server gateway address
DHCPSIADDR=0.0.0.0 #Don't worry if this is 0
DHCPCHADDR=00:60:97:C6:75:86 #Harware Address (router)
DHCPSHADDR=00:10:67:00:41:D7 #Hardware Address (NIC)
LEASETIME=14400 #IP Lease time
RENEWALTIME=7200 #IP Renewel
REBINDTIME=12600 # Rebind time (with NIC)
These are fictional numbers, by the way. But you get the idea.
- Skip Ahead
- 1. Don't Let the Man Keep You Down: Grab the Power of DSL for Linux
- 2. Don't Let the Man Keep You Down: Grab the Power of DSL for Linux
- 3. Don't Let the Man Keep You Down: Grab the Power of DSL for Linux
- 4. Don't Let the Man Keep You Down: Grab the Power of DSL for Linux
- 5. Don't Let the Man Keep You Down: Grab the Power of DSL for Linux
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Debian Gives Up on Upstart, Ubuntu and Linux Kernel Updates