Aktualizovat README.md
This commit is contained in:
parent
d8be4fd4d1
commit
cbf6338b8d
30
README.md
30
README.md
@ -48,4 +48,34 @@ Config
|
||||
cd /etc/keepalived
|
||||
sudo touch keepalived.conf
|
||||
```
|
||||
pihole1 - keepalived.conf
|
||||
```
|
||||
vrrp_instance pihole {
|
||||
state MASTER
|
||||
interface eth0@if39
|
||||
|
||||
unicast_src_ip 192.168.88.101
|
||||
unicast_peer {
|
||||
192.168.88.15
|
||||
}
|
||||
|
||||
virtual_router_id 1
|
||||
priority 10
|
||||
advert_int 1
|
||||
|
||||
authentication {
|
||||
auth_type PASS
|
||||
auth_pass Ct7wV69c
|
||||
}
|
||||
|
||||
virtual_ipaddress {
|
||||
192.168.88.5/24
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
pihole2 - keepalived.conf
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user