linux:networking
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:networking [2024/10/08 12:15] – bstafford | linux:networking [2026/03/21 01:04] (current) – [Show Network Data] bstafford | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| INTERFACE=ens34 | INTERFACE=ens34 | ||
| - | echo " | + | echo " |
| - | ip -4 addr show $INTERFACE | grep inet | awk -F " " ' | + | ip -4 addr show $INTERFACE | grep inet | awk -F " " ' |
| - | ip route | grep default | awk -F " " ' | + | ip route | grep default |
| - | resolvectl -i $INTERFACE status --no-pager | awk '/DNS Server/, | + | resolvectl -i $INTERFACE status --no-pager | awk '/DNS Server/, |
| + | nmcli connection show Wired\ connection\ 1 | grep -i dhcp_server_identifier | awk -F " " ' | ||
| + | |||
| + | Get DHCP Server | ||
| + | < | ||
| + | nmcli connection show "< | ||
| ====== Ubuntu 20.04 Static IP ====== | ====== Ubuntu 20.04 Static IP ====== | ||
| set the following in ''/ | set the following in ''/ | ||
linux/networking.1728389706.txt.gz · Last modified: by bstafford
