File: testcase.1

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 (40 lines) | stat: -rw-r--r-- 662 bytes parent folder | download | duplicates (7)
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
# RUN: --no-loopback -a
auto eth0 eth1 eth2 eth3
iface eth0 inet static
  address 1.2.3.4
  netmask 255.255.255.0
  broadcast 1.2.3.255
  up echo hi
  post-up echo hello

iface eth1 inet static
  address 1.2.3.4/14
  broadcast 1.3.255.255
  up echo hi
  post-up echo hello

iface eth2 inet static
  address 1.2.3.4/14
  netmask 255.255.255.128
  broadcast 1.2.3.127
  up echo hi
  post-up echo hello

iface eth3 inet static
  address 1.2.3.4/24
  broadcast -
  up true

iface eth3 inet static
  address 1.2.3.4/30
  broadcast -
  up true

iface eth3 inet static
  address 1.2.3.4/31
  up true

iface eth3 inet static
  address 1.2.3.4/31
  broadcast -
  up true