Add ip-veth

This commit is contained in:
Super User
2024-12-12 17:08:58 +03:00
parent bad223c624
commit 2ec594f584
2 changed files with 9 additions and 0 deletions

View File

@@ -32,6 +32,10 @@ btrfs filesystem resize ID:max /mnt/dmp/
```
#### Defragment / compress
```bash
mount -o compress=zstd:15 -t /dev/sdx /mnt
# or
btrfs filesystem defragment -v -clzo /boot/*
# or

View File

@@ -16,6 +16,11 @@ iptables -L -vn
iptables -t mangle -A POSTROUTING -j TTL --ttl-set 65
```
## IP
```bash
ip link add dev ve1 type veth peer name ve2 netns ns1
```
## TC
```bash
#!/bin/bash