aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/vnet/dhcp/proxy
blob: 42dff2a0be8d2fd4a72c723928f979e9fb519b80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
loop create
loop create

set int state loop0 up
set int state loop1 up

set int ip  table loop1 1
set int ip6 table loop1 1

set int ip addr loop0 10.0.0.1/24
set int ip addr loop0 10.0.1.1/24

set int ip addr loop0 2001::1/64
set int ip addr loop0 2001:1::1/64

set dhcp proxy server 10.255.0.1 src-address 10.0.0.1 server-fib-id 0 rx-fib-id 0
set dhcp proxy server 10.255.0.2 src-address 10.0.0.1 server-fib-id 0 rx-fib-id 0
set dhcp proxy server 10.255.1.2 src-address 10.0.1.1 server-fib-id 1 rx-fib-id 1

set dhcpv6 proxy server 3001::1 src-address 2001::1 server-fib-id 0 rx-fib-id 0
set dhcpv6 proxy server 3002::1 src-address 2001:1::1 server-fib-id 1 rx-fib-id 1