@@ -12,14 +12,14 @@ environment. It handles:
1212* Configuration of ENIs upon hotplug
1313* Routing configuration for delegated prefixes
1414
15- The version 1.x branch of the amazon-ec2-net-utils package was used in
16- Amazon Linux 2 and earlier releases. It has a long history and is
15+ < b > The version 1.x branch of the amazon-ec2-net-utils package was used in
16+ Amazon Linux 2</ b > and earlier releases. It has a long history and is
1717tightly coupled to ISC dhclient and initscripts network
1818configuration. Both of these components are deprecated and will not
1919make up the primary network configuration framework in future releases
20- of Amazon Linux or other distributions. The 2.x branch (released from
20+ of Amazon Linux or other distributions. < b > The 2.x branch (released from
2121the ` main ` branch in git) represents a complete rewrite targeting a
22- more modern network management framework. The rest of this document
22+ more modern network management framework like AL2023</ b > . The rest of this document
2323describes the 2.x branch.
2424
2525## Implementation ##
@@ -100,7 +100,7 @@ that booted with amazon-ec2-net-utils.
100100 2 ens5 ether routable configured
101101
102102 [ec2-user@ip-172-31-41-210 ~]$ networkctl status ens5
103- ● 2: ens5
103+ ● 2: ens5
104104 Link File: /usr/lib/systemd/network/99-default.link
105105 Network File: /run/systemd/network/70-ens5.network
106106 State: routable (configured)
@@ -129,26 +129,26 @@ that booted with amazon-ec2-net-utils.
129129 DHCP6 Client IAID: 0xed10bdb8
130130 DHCP6 Client DUID: DUID-EN/Vendor:0000ab115a2053b21e6b7f0a
131131
132- Jan 16 19:49:32 localhost systemd-networkd[ 1828] : ens5: Configuring with /usr/lib/systemd/network/80-ec2.network.
133- Jan 16 19:49:32 localhost systemd-networkd[ 1828] : ens5: Link UP
134- Jan 16 19:49:32 localhost systemd-networkd[ 1828] : ens5: Gained carrier
135- Jan 16 19:49:32 localhost systemd-networkd[ 1828] : ens5: DHCPv4 address 172.31.41.210/20, gateway 172.31.32.1 acquired from 172.31.32.1
136- Jan 16 19:49:32 localhost systemd-networkd[ 1828] : ens5: Gained IPv6LL
137- Jan 16 19:49:33 localhost systemd-networkd[ 1828] : ens5: Reconfiguring with /run/systemd/network/70-ens5.network.
138- Jan 16 19:49:33 localhost systemd-networkd[ 1828] : ens5: DHCP lease lost
139- Jan 16 19:49:33 localhost systemd-networkd[ 1828] : ens5: DHCPv6 lease lost
140- Jan 16 19:49:33 localhost systemd-networkd[ 1828] : ens5: DHCPv4 address 172.31.41.210/20, gateway 172.31.32.1 acquired from 172.31.32.1
141-
142- [ ec2-user@ip-172-31-41-210 ~ ] $ resolvectl
143- Global
144- Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
145- resolv.conf mode: uplink
146-
147- Link 2 (ens5)
148- Current Scopes: DNS
149- Protocols: +DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
150- DNS Servers: 172.31.0.2
151- DNS Domain: us-west-2.compute.internal
132+ Jan 16 19:49:32 localhost systemd-networkd[1828]: ens5: Configuring with /usr/lib/systemd/network/80-ec2.network.
133+ Jan 16 19:49:32 localhost systemd-networkd[1828]: ens5: Link UP
134+ Jan 16 19:49:32 localhost systemd-networkd[1828]: ens5: Gained carrier
135+ Jan 16 19:49:32 localhost systemd-networkd[1828]: ens5: DHCPv4 address 172.31.41.210/20, gateway 172.31.32.1 acquired from 172.31.32.1
136+ Jan 16 19:49:32 localhost systemd-networkd[1828]: ens5: Gained IPv6LL
137+ Jan 16 19:49:33 localhost systemd-networkd[1828]: ens5: Reconfiguring with /run/systemd/network/70-ens5.network.
138+ Jan 16 19:49:33 localhost systemd-networkd[1828]: ens5: DHCP lease lost
139+ Jan 16 19:49:33 localhost systemd-networkd[1828]: ens5: DHCPv6 lease lost
140+ Jan 16 19:49:33 localhost systemd-networkd[1828]: ens5: DHCPv4 address 172.31.41.210/20, gateway 172.31.32.1 acquired from 172.31.32.1
141+
142+ [ec2-user@ip-172-31-41-210 ~]$ resolvectl
143+ Global
144+ Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
145+ resolv.conf mode: uplink
146+
147+ Link 2 (ens5)
148+ Current Scopes: DNS
149+ Protocols: +DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
150+ DNS Servers: 172.31.0.2
151+ DNS Domain: us-west-2.compute.internal
152152
153153## Getting help ##
154154
0 commit comments