PDA

View Full Version : How to discover the dynamic IP address in ubuntu


sthompson5406
10th February 2008, 01:47
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.

TIA,

Steve

topdog
10th February 2008, 11:50
have you tried ifconfig ? or ip addr show

sthompson5406
10th February 2008, 16:27
Thanks a lot. ifconfig did the trick. I knew it had to be something simple.

Much appreciated!

Steve