IP SLA: Difference between revisions
From charlesreid1
(Created page with "IP SLA = internet protocol service level agreements; these are used by routers to keep WANs running smoothly. You can use IP SLA to generate traffic between routers and creat...") |
No edit summary |
||
| Line 3: | Line 3: | ||
You can use IP SLA to generate traffic between routers and create bottlenecks. This can also be simulated using the [[GNS3]] virtual networking appliance. See https://gns3vault.com/blog/gns3-ip-sla-traffic-generator/ | You can use IP SLA to generate traffic between routers and create bottlenecks. This can also be simulated using the [[GNS3]] virtual networking appliance. See https://gns3vault.com/blog/gns3-ip-sla-traffic-generator/ | ||
The following configuration will generate ping (ICMP), DNS, HTTP, HTTPS, Telnet, SSH and RTP traffic on a router: | |||
<pre> | |||
! ICMP Echo | |||
ip sla monitor 1 | |||
type echo protocol ipIcmpEcho 192.168.23.3 | |||
timeout 0 | |||
frequency 9 | |||
ip sla monitor schedule 1 start-time now life forever | |||
! DNS Request | |||
ip sla monitor 2 | |||
type dns target-addr www.gns3vault.com name-server 192.168.23.3 | |||
timeout 0 | |||
frequency 9 | |||
ip sla monitor schedule 2 start-time now life forever | |||
! G711 conversation | |||
ip sla monitor 3 | |||
type jitter dest-ipaddr 192.168.23.3 dest-port 16384 codec g711ulaw codec-numpackets 50 codec-size 160 codec-interval 20 | |||
timeout 0 | |||
frequency 1 | |||
ip sla monitor schedule 3 start-time now life forever | |||
! G729 conversation | |||
ip sla monitor 4 | |||
type jitter dest-ipaddr 192.168.23.2 dest-port 16385 codec g729a codec-numpackets 50 codec-size 20 codec-interval 20 | |||
timeout 0 | |||
frequency 1 | |||
ip sla monitor schedule 4 start-time now life forever | |||
! HTTP GET Traffic | |||
ip sla monitor 5 | |||
type http operation get url http://192.168.23.3 | |||
frequency 60 | |||
ip sla monitor schedule 5 start-time now life forever | |||
! TCPConnect to Telnet | |||
ip sla monitor 6 | |||
type tcpConnect dest-ipaddr 192.168.23.3 dest-port 23 control disable | |||
timeout 1000 | |||
frequency 2 | |||
ip sla monitor schedule 6 life forever start-time now | |||
! TCPConnect to HTTPS | |||
ip sla monitor 7 | |||
type tcpConnect dest-ipaddr 192.168.23.3 dest-port 443 control disable | |||
timeout 1000 | |||
frequency 3 | |||
ip sla monitor schedule 7 life forever start-time now | |||
! TCPConnect to FTP | |||
ip sla monitor 8 | |||
type tcpConnect dest-ipaddr 192.168.23.3 dest-port 21 control disable | |||
timeout 1000 | |||
frequency 1 | |||
ip sla monitor schedule 8 life forever start-time now | |||
! TCPConnect to SSH | |||
ip sla monitor 9 | |||
type tcpConnect dest-ipaddr 192.168.23.3 dest-port 22 control disable | |||
timeout 1000 | |||
frequency 2 | |||
ip sla monitor schedule 9 life forever start-time now | |||
</pre> | |||
Revision as of 05:37, 18 April 2017
IP SLA = internet protocol service level agreements; these are used by routers to keep WANs running smoothly.
You can use IP SLA to generate traffic between routers and create bottlenecks. This can also be simulated using the GNS3 virtual networking appliance. See https://gns3vault.com/blog/gns3-ip-sla-traffic-generator/
The following configuration will generate ping (ICMP), DNS, HTTP, HTTPS, Telnet, SSH and RTP traffic on a router:
! ICMP Echo ip sla monitor 1 type echo protocol ipIcmpEcho 192.168.23.3 timeout 0 frequency 9 ip sla monitor schedule 1 start-time now life forever ! DNS Request ip sla monitor 2 type dns target-addr www.gns3vault.com name-server 192.168.23.3 timeout 0 frequency 9 ip sla monitor schedule 2 start-time now life forever ! G711 conversation ip sla monitor 3 type jitter dest-ipaddr 192.168.23.3 dest-port 16384 codec g711ulaw codec-numpackets 50 codec-size 160 codec-interval 20 timeout 0 frequency 1 ip sla monitor schedule 3 start-time now life forever ! G729 conversation ip sla monitor 4 type jitter dest-ipaddr 192.168.23.2 dest-port 16385 codec g729a codec-numpackets 50 codec-size 20 codec-interval 20 timeout 0 frequency 1 ip sla monitor schedule 4 start-time now life forever ! HTTP GET Traffic ip sla monitor 5 type http operation get url http://192.168.23.3 frequency 60 ip sla monitor schedule 5 start-time now life forever ! TCPConnect to Telnet ip sla monitor 6 type tcpConnect dest-ipaddr 192.168.23.3 dest-port 23 control disable timeout 1000 frequency 2 ip sla monitor schedule 6 life forever start-time now ! TCPConnect to HTTPS ip sla monitor 7 type tcpConnect dest-ipaddr 192.168.23.3 dest-port 443 control disable timeout 1000 frequency 3 ip sla monitor schedule 7 life forever start-time now ! TCPConnect to FTP ip sla monitor 8 type tcpConnect dest-ipaddr 192.168.23.3 dest-port 21 control disable timeout 1000 frequency 1 ip sla monitor schedule 8 life forever start-time now ! TCPConnect to SSH ip sla monitor 9 type tcpConnect dest-ipaddr 192.168.23.3 dest-port 22 control disable timeout 1000 frequency 2 ip sla monitor schedule 9 life forever start-time now
| linux networking all the pages for linux networking
Diagnosing network interfaces: Linux/Network Interfaces Connecting to nodes with ssh: Linux/SSH Bridging networks with ssh tunnels: Linux/SSH Linux file server nfs/smb/sshfs: Linux/File Server Samba on linux: Linux/Samba Automounting network shares on linux: Linux/Automount Network Shares Monitoring system resources: Linux/System Monitoring Linux systemd: Linux/Systemd
IP Schema (ipcalc): Linux/IP Schema DHCP Server: Linux/DHCP DNS Server: Linux/DNS NTP Server: Linux/NTP
|
| network monitoring tools and techniques for monitoring networks to avoid pain and suffering
Network Monitoring/Ten Best Practices
Network Monitoring Tools: Bro (network baselining): Bro Snort (IDS): Snort
Category:Network Monitoring · Category:Networking · Category:Linux Flags · Template:NetworkMonitoringFlag · e |