diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-06 21:48:43 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-06 21:48:43 +0300 |
| commit | b8fc0b98dadc8eabf584ed9db599c37f454dfaaf (patch) | |
| tree | ed97f8268b0e3a57d22d7969fbca00e8b8f005ae /docs/configuration/interfaces/loopback.md | |
| parent | 3315a4cf73ff66d2ccb12916e9befbdb132bf0d0 (diff) | |
| parent | 3edf063d4d27d6132c67024b9560c0075fe7a48e (diff) | |
| download | vyos-documentation-b8fc0b98dadc8eabf584ed9db599c37f454dfaaf.tar.gz vyos-documentation-b8fc0b98dadc8eabf584ed9db599c37f454dfaaf.zip | |
Merge pull request #1900 from vyos/feat/myst-as-primary-circinus
feat: flip swap mechanism on circinus — MD as primary, RST as override (mirrors #1899)
Diffstat (limited to 'docs/configuration/interfaces/loopback.md')
| -rw-r--r-- | docs/configuration/interfaces/loopback.md | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/docs/configuration/interfaces/loopback.md b/docs/configuration/interfaces/loopback.md new file mode 100644 index 00000000..72f14c16 --- /dev/null +++ b/docs/configuration/interfaces/loopback.md @@ -0,0 +1,67 @@ +--- +lastproofread: '2026-01-23' +--- + +(loopback-interface)= + +# Loopback + +The loopback interface is a virtual, software-based network interface. All +traffic sent to it loops back and only targets services on the local host. + +:::{note} +Only one loopback `lo` interface is allowed per operating system. +If you require multiple virtual interfaces, use the {ref}`dummy-interface` +interface type. +::: + +## Configuration + +### Common interface configuration + +```{cmdincludemd} /_include/interface-address.txt +:var0: loopback +:var1: lo +``` + +```{cmdincludemd} /_include/interface-description.txt +:var0: loopback +:var1: lo +``` + + +## Operation + +```{opcmd} show interfaces loopback + +Show brief interface information. + +:::{code-block} none +vyos@vyos:~$ show interfaces loopback +Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down +Interface IP Address S/L Description +--------- ---------- --- ----------- +lo 127.0.0.1/8 u/u + ::1/128 +::: +``` + +```{opcmd} show interfaces loopback lo + +Show detailed interface information. + +:::{code-block} none +vyos@vyos:~$ show interfaces loopback lo +lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 + link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 + inet 127.0.0.1/8 scope host lo + valid_lft forever preferred_lft forever + inet6 ::1/128 scope host + valid_lft forever preferred_lft forever + + RX: bytes packets errors dropped overrun mcast + 300 6 0 0 0 0 + TX: bytes packets errors dropped carrier collisions + 300 6 0 0 0 0 +::: +```
\ No newline at end of file |
