| 703 | 1. Verify dnsmasq is running: |
| 704 | {{{ |
| 705 | systemctl status dnsmasq.service |
| 706 | }}} |
| 707 | 1. Verify dnsmasq is listening on the right address 172.16.0.1 |
| 708 | {{{ |
| 709 | root@xenial-ventana:~# netstat -tulpn |
| 710 | Active Internet connections (only servers) |
| 711 | Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name |
| 712 | tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 824/dnsmasq |
| 713 | tcp 0 0 172.16.0.1:53 0.0.0.0:* LISTEN 824/dnsmasq |
| 714 | tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 645/sshd |
| 715 | tcp6 0 0 ::1:53 :::* LISTEN 824/dnsmasq |
| 716 | tcp6 0 0 :::22 :::* LISTEN 645/sshd |
| 717 | udp 0 0 127.0.0.1:53 0.0.0.0:* 824/dnsmasq |
| 718 | udp 0 0 172.16.0.1:53 0.0.0.0:* 824/dnsmasq |
| 719 | udp 0 0 0.0.0.0:68 0.0.0.0:* 584/dhclient |
| 720 | udp6 0 0 ::1:53 :::* 824/dnsmasq |
| 721 | root@xenial-ventana:~# |
| 722 | |
| 723 | }}} |
| 724 | 1. Verify sl0 interface exists and is up: |
| 725 | {{{ |
| 726 | root@xenial-ventana:~# ifconfig |
| 727 | eth0 Link encap:Ethernet HWaddr 00:d0:12:9b:f2:af |
| 728 | inet addr:172.24.22.173 Bcast:172.24.255.255 Mask:255.240.0.0 |
| 729 | inet6 addr: fe80::2d0:12ff:fe9b:f2af/64 Scope:Link |
| 730 | UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
| 731 | RX packets:8962 errors:0 dropped:0 overruns:0 frame:0 |
| 732 | TX packets:483 errors:0 dropped:0 overruns:0 carrier:0 |
| 733 | collisions:0 txqueuelen:1000 |
| 734 | RX bytes:665276 (665.2 KB) TX bytes:58003 (58.0 KB) |
| 735 | |
| 736 | lo Link encap:Local Loopback |
| 737 | inet addr:127.0.0.1 Mask:255.0.0.0 |
| 738 | inet6 addr: ::1/128 Scope:Host |
| 739 | UP LOOPBACK RUNNING MTU:65536 Metric:1 |
| 740 | RX packets:172 errors:0 dropped:0 overruns:0 frame:0 |
| 741 | TX packets:172 errors:0 dropped:0 overruns:0 carrier:0 |
| 742 | collisions:0 txqueuelen:1000 |
| 743 | RX bytes:13066 (13.0 KB) TX bytes:13066 (13.0 KB) |
| 744 | |
| 745 | sl0 Link encap:Serial Line IP |
| 746 | inet addr:172.16.0.1 P-t-P:172.16.0.2 Mask:255.255.255.255 |
| 747 | UP POINTOPOINT RUNNING NOARP MULTICAST MTU:600 Metric:1 |
| 748 | RX packets:307 errors:0 dropped:0 overruns:0 frame:0 |
| 749 | TX packets:345 errors:0 dropped:0 overruns:0 carrier:0 |
| 750 | collisions:0 txqueuelen:10 |
| 751 | RX bytes:42795 (42.7 KB) TX bytes:24061 (24.0 KB) |
| 752 | |
| 753 | |
| 754 | }}} |
| 755 | 1. Verify you can ping www.google.com from the Gateworks SBC command line |
| 756 | |