Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

Re: DHCP Single Fixed Address per Port

$
0
0

Hello,


rpekkonen wrote:
How could you allocate a specific IP to a specific port?

You can allocate certain IP to certain ports by using IP ranges + Option 82 but ranges have to be within one big subnet.

access {
    address-assignment {
        pool P1 {
            family inet {
                network 10.0.0.0/24;
                range R1 {
                    low 10.0.0.1;
                    high 10.0.0.1;
                }
                range R2 {
                    low 10.0.0.2;
                    high 10.0.0.2;
                }
                dhcp-attributes {
                    option-match {
                        option-82 {
                            circuit-id 110 range R1;
                            circuit-id 200 range R2;
                        }
                    }
                    router {
                        10.0.0.254;
                    }
                }
            }
        }
    }
}                          

HTH

Thx

Alex


Viewing all articles
Browse latest Browse all 10307

Trending Articles