3 # SOVA networking2 settings.
5 # WARNING! Remember to put '$true' in any function you intend to leave empty
6 # (e.g. you don't need to use the 'custom_variables' function)
7 # to make sure the script doesn't break.
17 sv6
="`which stripipv6`"
22 # define whatever you need here
30 #$ip addr add 127.0.0.1/8 dev lo broadcast + scope host
33 ### physical interfaces
35 $ip addr add
192.168.10.10/24 dev eth0 broadcast
+
39 ### 802.11q VLAN interfaces (see `vcfg -h' for help)
40 ## prepare vlan environment
43 # vlan123 hosted by eth1
44 $vcfg add eth1
123 10.1.1.10/24
45 $vcfg add-addr
123 172.16.1.20/16
47 #vlan 15 hosted by eth1
48 $vcfg add eth1
15 10.9.9.9/24
51 ### default and static route(s)
52 $ip route add default via
192.168.10.1
59 #$ip addr flush dev lo
61 ### physical interfaces
63 $ip link
set eth0 down
64 $ip addr flush dev eth0
66 ### 802.11q VLAN interfaces (see `vcfg -h' for help)
71 ### default and static route(s)