1 # Example configuration using netcfg-iproute
3 DESCRIPTION='Static ethernet connection using iproute with vlans'
6 # one addr options per line
7 # transformed to: ip addr add dev eth0 ...
8 ADDR="192.168.0.2/24 brd 192.168.0.255
12 192.168.0.2/24 brd 192.168.0.255
17 # transformed to route: default via ...
19 # or we can use multiple routes (one per line)
20 # transformed to: ip route add dev eth0 ...
22 default via 192.168.0.1
27 # ADDR and ROUTE for each vlan is passed like this,
29 ADDR_vlan1="10.0.1.2/24"
30 ROUTE_vlan1="10.0.0.0/16 via 10.0.1.1"
31 ADDR_vlan2="10.2.0.2/24
33 ROUTE_vlan2="10.2.0.0/16 via 10.2.0.1"
39 DNS='192.168.0.1 192.168.1.1'
40 # use domain in resolv.conf