Member-only story
OSCP Guide — Part 2 ( Networking )
Hello Readers,
As discussed in the previous part, we will go through each of the topics which are required to pass OSCP. Now, here we will go through some of the basics which I believe are required for understanding certain concepts in OSCP course, you are free to dig deeper into respective models on your own.
IP Address and Subnetting
Every device in a network will have its own identifier which is a 32-bit number that will help us identify it in a network called an IPv4 address.
Now, to find your own ip address you can use below commands:
Windows:
ipconfig
Linux:
ifconfig
ip a
Now, you might find different interfaces here, such as eth0, lo etc. Incase of OSCP or solving other labs you might be using a vpn hence you will find a new interface such as tun0 or similar which would be the ip of your machine which you can use while constructing a listener payload for exploitation ( which we will discuss later ).
when you are using internet, you will be having a public ip, and when you are interacting in a internal network you would be having a private ip assigned to your machine which are in ranges such as :