File: up.3

package info (click to toggle)
ifupdown 0.8.44
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 952 kB
  • sloc: ansic: 2,781; sh: 899; perl: 513; makefile: 90
file content (106 lines) | stat: -rw-r--r-- 3,757 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
exit code: 1
====stdout====
====stderr====
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d

ifup: configuring interface eth0=eth0 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
ip addr add 1.2.3.4/255.255.255.0 broadcast 1.2.3.255 	  dev eth0 label eth0
ip link set dev eth0   up

run-parts --exit-on-error --verbose /etc/network/if-up.d
ifup: configuring interface eth0=eth0 (inet6)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.


sysctl -q -e -w net.ipv6.conf.eth0.autoconf=0

ip link set dev eth0  up
ip -6 addr add 3ffe:ffff:100:f101::1/64  dev eth0  nodad

run-parts --exit-on-error --verbose /etc/network/if-up.d
ifup: configuring interface eth0=eth0 (inet6)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.


sysctl -q -e -w net.ipv6.conf.eth0.autoconf=0

ip link set dev eth0  up
ip -6 addr add 3ffe:ffff:100:f101::2/64  dev eth0  nodad

run-parts --exit-on-error --verbose /etc/network/if-up.d
ifup: configuring interface eth0=eth0 (inet6)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.


sysctl -q -e -w net.ipv6.conf.eth0.autoconf=0

ip link set dev eth0  up
ip -6 addr add 3ffe:ffff:100:f101::3/64  dev eth0  nodad

run-parts --exit-on-error --verbose /etc/network/if-up.d
ifup: configuring interface eth0=eth0 (inet6)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.


sysctl -q -e -w net.ipv6.conf.eth0.autoconf=0

ip link set dev eth0  up
ip -6 addr add 3ffe:ffff:100:f101::4  dev eth0  nodad

run-parts --exit-on-error --verbose /etc/network/if-up.d
ifup: configuring interface eth0=eth0 (inet6)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.


sysctl -q -e -w net.ipv6.conf.eth0.autoconf=0

ip link set dev eth0  up
ip -6 addr add 3ffe:ffff:100:f101::5/128  dev eth0  nodad

run-parts --exit-on-error --verbose /etc/network/if-up.d
ifup: configuring interface eth0=eth0 (inet6)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.


sysctl -q -e -w net.ipv6.conf.eth0.autoconf=0

ip link set dev eth0  up
ip -6 addr add 64  dev eth0  nodad

run-parts --exit-on-error --verbose /etc/network/if-up.d
ifup: configuring interface eth0=eth0 (inet6)
ifup: missing required variable: address
ifup: missing required configuration variables for interface eth0/inet6
ifup: failed to bring up eth0

ifup: configuring interface eth1=eth1 (inet6)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.

sysctl -q -e -w net.ipv6.conf.eth1.accept_ra=0
sysctl -q -e -w net.ipv6.conf.eth1.autoconf=0

ip addr flush dev eth1 mngtmpaddr
ip link set dev eth1  up
ip -6 addr add 3ffe:ffff:100:f102::1/64  dev eth1  nodad
 ip -6 route replace default via 3ffe:ffff:100:f102::fff  dev eth1 onlink 
run-parts --exit-on-error --verbose /etc/network/if-up.d
ifup: configuring interface eth1=eth1 (inet6)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
modprobe -q net-pf-10 > /dev/null 2>&1 || true # ignore failure.

sysctl -q -e -w net.ipv6.conf.eth1.accept_ra=1
sysctl -q -e -w net.ipv6.conf.eth1.autoconf=0

ip link set dev eth1  up
ip -6 addr add 3ffe:ffff:100:f102::6/64  dev eth1  nodad
 ip -6 route replace default via 3ffe:ffff:100:f102::fff  dev eth1 onlink 
run-parts --exit-on-error --verbose /etc/network/if-up.d
run-parts --exit-on-error --verbose /etc/network/if-up.d