x
Loading
 Loading
Hello, Guest | Login | Register

Network Nirvana

Configuring your network requires a ton of tedious work, unless you take advantage of the Dynamic Host Configuration Protocol.

One of the host specific definitions is hardware, which describes the specific hardware. Right now, only the ethernet and token-ring hardware types are supported. The syntax here is to list the type of hardware, followed by the physical address of the card (i.e., the MAC address). For example, you might have something like this:

 host saturn hardware ethernet 00:50:04:53:F8:D2; fixed-address 192.168.42.3: 

This example says that the machine saturn has an Ethernet card with the MAC address 00:50:04:53:F8:D2, and it is to be assigned the fixed address 192.168.42.3.

Sometimes you need to specify options for a number of machines on your network without having to treat them as a separate subnet. For example, you could define a subnet for a group of machines and then apply specific options to just that subnet. However, this means that you will generally have to specify all of the necessary configuration options; plus, these special nodes obviously cannot have IP addresses in the same subnet as the others.

To overcome this limitation, you can group machines together using the group keyword. This way, all the options included within the group definition apply to that group. As with subnets, this keyword can also specify individual hosts with the group. For example:

 group default-lease-time 300000; option routers 192.168.42.1; host jupiter hardware ethernet 00:50:04:53:D5:57; default-lease-time 500000; host saturn hardware ethernet 00:50:04:53:F8:D2; host uranus hardware ethernet 00:50:04:53:32:8F; 

In this example, we set the default lease time (how long…

Please log in to view this content.

Not Yet a Member?

Register with LinuxMagazine.com and get free access to the entire archive, including:

  • Hands-on Content
  • White Papers
  • Community Features
  • And more.
Already a Member?
Log in!
Username

Password

Remember me

Forgotten your password?
Forgotten your username?
Read More
  1. Load Balancing for Application Server Administrators
  2. T6 Broadband uses Linux Routers to Maximize Availability
  3. Linux Helps Telephone Co-op Expand
  4. Aardman Animations' Observer Adventure
  5. Virtualizing Service Provider Networks with Vyatta
Follow Linux Magazine
Rackspace