User Tools

Site Tools


documentation:examples:pf_and_carp_lab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
documentation:examples:pf_and_carp_lab [2021/11/25 14:00] – [Master Firewall (VM2)] olivierdocumentation:examples:pf_and_carp_lab [2021/11/25 14:01] – [Creating 2 flows from VM1 to VM4] olivier
Line 137: Line 137:
 sysrc pflog_enable=YES sysrc pflog_enable=YES
 sysrc pfsync_syncdev=vtnet1 sysrc pfsync_syncdev=vtnet1
-mount -uw / +sysrc kld_list="carp"
-echo "carp_load="YES">> /boot/loader.conf.local +
-mount -ur /+
 echo "net.inet.carp.preempt=1" >> /etc/sysctl.conf echo "net.inet.carp.preempt=1" >> /etc/sysctl.conf
  
Line 283: Line 281:
  
 Open a tmux session on R1 and generate 2 flows: Open a tmux session on R1 and generate 2 flows:
-  -  A continous ping: ping 10.0.0.4 +  -  A continous ping: ping 2.2.2.4 
-  -  A echo session: telnet 10.0.0.4 7+  -  A echo session: telnet 2.2.2.4 7
  
 ==== pf synchronisation ==== ==== pf synchronisation ====
documentation/examples/pf_and_carp_lab.txt · Last modified: 2021/11/25 14:04 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki