@@ -104,7 +104,7 @@ ipv6.method disabled autoconnect yes
104
104
105
105
If you are using DHCP to get the ipv4 address, it can be:
106
106
107
- ```
107
+ ``` bash
108
108
Shell > nmcli connection add type ethernet con-name CONNECTION_NAME ifname NIC_DEVICE_NAME \
109
109
ipv4.method auto ipv6.method disabled autoconnect yes
110
110
```
@@ -185,7 +185,7 @@ method=disabled
185
185
| id | The alias of con-name, whose value is a string.|
186
186
| uuid | Universal unique identifier, whose value is a string. |
187
187
| type | The type of connection, whose values can be ethernet, bluetooth, vpn, vlan, and so on. You can use ` man nmcli ` to view all supported types. |
188
- | interface-name | Network card device name . |
188
+ | interface-name | The name of the network interface this connection is bound to, whose value is a string . |
189
189
| timestamp | Unix timestamp, in seconds. The value here is the number of seconds since January 1, 1970.|
190
190
| autoconnect | Whether it starts automatically when the system starts. The value is of Boolean type.|
191
191
@@ -206,4 +206,4 @@ method=disabled
206
206
| addresses | |
207
207
| gateway | |
208
208
| dns | |
209
- | method | The method to be obtained by ip . The value is of string type. The value can be: auto, disabled, link-local, manual, shared |
209
+ | method | The method to be obtained by IP . The value is of string type. The value can be: auto, disabled, link-local, manual, shared |
0 commit comments