Results 1 to 2 of 2

Thread: Determine Private IP Address Space

  1. #1
    Join Date
    2013-Dec
    Posts
    1

    Question Determine Private IP Address Space

    Forgive me if this is a stupid question...I'm a Windows user dipping my toes into Penetration Testing (leading from needing to become PCI compliant) and found it really interesting so far, however I'm still new to Linux.

    Basically I want to show that we need network port filtering as at the moment I believe anyone could use one of our publically accessible Ethernet ports to gain access to our LAN. How can I do this stealthy though? Its my understanding that if I use ifconfig eth0 it will tell me the IP address assigned to the network card and the network mask. However isn't it the case that these would've been assigned by DHCP, and therefore its a trivial task to look at the DHCP logs, or filter the address leases to monitor for suspicious activity? Is there a way to determine the private network IP space without using DHCP?

    I have tried googling the answer but haven't had any luck yet....I obviously need to improve my google foo!

  2. #2
    Join Date
    2013-Nov
    Location
    the state of oppression
    Posts
    16
    "Its my understanding that if I use ifconfig eth0 it will tell me the IP address assigned to the network card and the network mask. However isn't it the case that these would've been assigned by DHCP, and therefore its a trivial task to look at the DHCP logs, or filter the address leases to monitor for suspicious activity? Is there a way to determine the private network IP space without using DHCP?"


    ,.the
    Code:
    ifconfig
    command brings up the list of active network interfaces and your l00pback,
    you are correct that DHCP automatically gives you an ip address, but you Can also set ur ip add manually.

    use 2 commands, take down the network interface, then bring it back up with the desired iP address

    (example using ethernet)

    Code:
    ifconfig eth0 down
    Code:
    ifconfig eth0 up 192.168.x.x

Similar Threads

  1. Determine ESSID & BSSID of my Network
    By rraj in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2023-05-01, 05:44
  2. When updating get error 28, no space left on device when I know I have space
    By SamaraMorgan in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2021-07-20, 23:18

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •