Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# DHCPv4 two subnets in shared-network declaration config

# shared-network declaration
shared-network "foobar" {
    # interface
    interface "en0";
    # option
    option domain-search "example.com", "example.org";
    # parameter
    default-lease-time 1800;
    # subnet declaration
    subnet 10.5.5.0 netmask 255.255.255.224 {
        # redefined parameter
        default-lease-time 3600;
        # another option
        option ip-forwarding true;
	# pool inside the subnet
        pool {
            range 10.5.5.5 10.5.5.10;
        }
    }
    # second subnet declaration
    subnet 10.10.10.0 netmask 255.255.255.224 {
        # pool inside the subnet
        pool {
            range 10.10.10.5 10.10.10.10;
        }
    }    
}