File tree 3 files changed +0
-33
lines changed
files/image_config/interfaces
src/sonic-config-engine/tests/sample_output
3 files changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,6 @@ iface mgmt
14
14
# The loopback network interface
15
15
auto lo
16
16
iface lo inet loopback
17
- # Use command 'ip addr list dev lo' to check all addresses
18
- {% for (name , prefix ) in LOOPBACK_INTERFACE |pfx_filter %}
19
- iface lo {{ 'inet' if prefix | ipv4 else 'inet6' }} static
20
- address {{ prefix | ip }}
21
- netmask {{ prefix | netmask if prefix | ipv4 else prefix | prefixlen }}
22
- #
23
- {% endfor %}
24
17
{% if (MGMT_VRF_CONFIG ) and (MGMT_VRF_CONFIG ['vrf_global' ]['mgmtVrfEnabled' ] == "true" ) %}
25
18
# The loopback network interface for mgmt VRF that is required for applications like NTP
26
19
up ip link add lo-m type dummy
Original file line number Diff line number Diff line change 6
6
# The loopback network interface
7
7
auto lo
8
8
iface lo inet loopback
9
- # Use command 'ip addr list dev lo' to check all addresses
10
- iface lo inet static
11
- address 10.1.0.32
12
- netmask 255.255.255.255
13
- #
14
- iface lo inet6 static
15
- address fc00:1::32
16
- netmask 128
17
- #
18
- iface lo inet static
19
- address 10.10.0.99
20
- netmask 255.255.255.255
21
- #
22
9
23
10
# The management network interface
24
11
auto eth0
Original file line number Diff line number Diff line change @@ -9,19 +9,6 @@ iface mgmt
9
9
# The loopback network interface
10
10
auto lo
11
11
iface lo inet loopback
12
- # Use command 'ip addr list dev lo' to check all addresses
13
- iface lo inet static
14
- address 10.1.0.32
15
- netmask 255.255.255.255
16
- #
17
- iface lo inet6 static
18
- address fc00:1::32
19
- netmask 128
20
- #
21
- iface lo inet static
22
- address 10.10.0.99
23
- netmask 255.255.255.255
24
- #
25
12
# The loopback network interface for mgmt VRF that is required for applications like NTP
26
13
up ip link add lo-m type dummy
27
14
up ip addr add 127.0.0.1/8 dev lo-m
You can’t perform that action at this time.
0 commit comments