أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
You've got nothing but a laptop that's been assigned a DHCP address and no other special privileges. What are the steps you would take to discover the network topology?
Start with getting the local PC information using ipconfig /all or ifconfig to get the local IP address information.
In windows, you will receive get back a significant amount of information.
First local IP address, subnet mask, and default gateway.
Windows will also return the IP address of the DHCP server and DNS servers assigned to your computer.
You can use the ping and traceroute (tracert) commands to follow the routing path to the DNS and DHCP server.
The traceroute command will give you the name (sometimes) and IP address (sometimes) of the routing equipment between your computer and the DNS or DHCP servers.
With these commands, you can start to find the network topology.
This depends on the laptop's OS. Below are examples:
Hope this helps ..
First we have to check wether ip routing is enabled or not
then check the ip route command.
then give the network topology command
with this we can know on which network we are working and how many neighbor we are connected with.