How to discover the dynamic IP address in ubuntu

Discussion in 'Technical' started by sthompson5406, Feb 10, 2008.

  1. sthompson5406

    sthompson5406 New Member

    I recently had 5 static IP address via cable modem but downgraded to a DHCP cable modem.

    One of the servers that had a static IP address has Samba installed and I want to be able to access that server via my workstation.

    I'm running Ubuntu 7.04 on my DHCP server but I can't figure out how to find my DHCP IP address. I tried several switches using netstat to no avail. Does anyone know how I can find out my DHCP IP address so that I can access my Samba share from my workstation?

    Any help at all would be greatly appreciated.


  2. topdog

    topdog Active Member HowtoForge Supporter

    have you tried ifconfig ? or ip addr show
  3. sthompson5406

    sthompson5406 New Member

    Thanks a lot. ifconfig did the trick. I knew it had to be something simple.

    Much appreciated!


Share This Page