Lessons learned in Haiti: 1  Tenacity is a must in any advance agent, particularly in third world countries; 2  Pride is a great character trait in a protection agent, especially in an advance agent; 3  Cultural sensitivity and understanding are key to getting a job done anywhere, especially in third world countries;
Here are the NAT terms defined by Cisco: 1  Inside local address: Is simply the private IP address assigned to the computer on the inside network. 2  Inside global address: Is the IP address that is provided as a result of the translation process on the router and it represents the inside local or the range of inside local addresses. Outside local address: While packets traverse through the Internet to their final destination, they may encounter another translation.
You can do : ip addr | grep 'state UP' -A2 | tail-n1 | awk '{print $2}' | cut-f1 -d'/'. which gives you the first private IP address listed in ip addr. For example, with ip addr, I get: With the commandline before, I get 192.168.0.85 which is the IP address of em1.To put it in a variable inside a shell script, you can do var=$(ip addr | grep 'state UP' -A2 | tail-n1 | awk '{print $2}' | cut-f1 -d'/') . Now, until the end of the script, $var will have the value of the IP address.hich gives you the first private IP address listed in ip addr. For example, with ip addr, I get: With the commandline before, I get 192.168.0.85 which is the IP address of em1. To put it in a variable inside a shell script, you can do var=$(ip addr | grep 'state UP' -A2 | tail-n1 | awk '{print $2}' | cut-f1 -d'/') .