[an error occurred while processing this directive][an error occurred while processing this directive]

Example: Configuring a Dynamic IP Demux Interface with Dual Stacking

In this example, the network administrator configures IPv4 and IPv6 addressing for a dynamic IP demux interface with a group of underlying static VLANs.

[edit]dynamic-profiles {dhcp-demux-prof {interfaces {demux0 {unit "$junos-interface-unit" {demux-options {underlying-interface "$junos-underlying-interface";}family inet {demux-source {$junos-subscriber-ip-address;}unnumbered-address lo0.0 preferred-source-address 3.1.1.1;}family inet6 {demux-source {$junos-subscriber-ipv6-address;}unnumbered-address lo0.0 preferred-source-address 2001:db8:ffff:1::1;}}}}}all-profile {interfaces {"$junos-interface-ifd-name" {unit "$junos-underlying-interface-unit";}}}}services {dhcp-local-server {traceoptions {file dhcp size 1g;flag all;}dhcpv6 {authentication {password delpref;username-include {user-prefix localpool;}}group groupv6 {authentication {password delpref;username-include {user-prefix localpool;}}dynamic-profile dhcp-demux-prof use-primary all-profile;interface ge-0/0/3.0;}}group groupv4 {authentication {password delprefv4;username-include {user-prefix localpoolv4;}}dynamic-profile dhcp-demux-prof;interface ge-0/0/2.0;}}}processes {general-authentication-service {traceoptions {file auth;flag all;}}}}interfaces {ge-0/0/0 {unit 0 {proxy-arp;family inet6 {address 4ffe::1:1/48;}}}ge-0/0/1 {vlan-tagging;gigether-options {no-auto-negotiation;}unit 10 {vlan-id 10;family inet {address 100.10.0.2/24;}}}ge-0/0/2 {unit 0 {demux-source inet;proxy-arp;family inet {unnumbered-address lo0.0 preferred-source-address 3.1.1.1;}}}ge-0/0/3 {unit 0 {demux-source inet6;proxy-arp;family inet6 {unnumbered-address lo0.0 preferred-source-address 2001:db8:ffff:1::1;}}}lo0 {unit 0 {family inet {address 3.1.1.1/32;}family inet6 {address 2001:db8:ffff:1::1/128;}}}}access {radius-server {100.10.0.1 {port 1812;secret "$9$xs5-dsgoGDjqgo"; ## SECRET-DATA}}profile wash-test {accounting-order radius;authentication-order radius;radius {authentication-server 100.10.0.1;accounting-server 100.10.0.1;}accounting {order radius;accounting-stop-on-failure;accounting-stop-on-access-deny;update-interval 10;statistics time;}}address-assignment {pool v4ville {family inet {network 3.1.1.0/24;range testv4 {low 3.1.1.3;high 3.1.1.50;}}}pool v6ville {family inet6 {prefix 2001:db8:ffff::/48;range test {low 2001:db8:ffff:1::2/128;high 2001:db8:ffff:1::ffff/128;}}}}}[edit]dynamic-profiles {dhcp-demux-profile {interfaces {demux0 {unit "$junos-interface-unit" {demux-options {underlying-interface "$junos-underlying-interface";}family inet {demux-source {$junos-subscriber-ip-address;}unnumbered-address ge-0/0/0.0 preferred-source-address 1.1.1.2;}family inet6 {demux-source {$junos-subscriber-ipv6-address;}unnumbered-address ge-0/0/3.0 preferred-source-address ::22.22.22.2;}}}}}

Published: 2010-04-15

[an error occurred while processing this directive]