Prev: per packet QoS (DSCP)
Next: SO_BINDTODEVICE
From: The Natural Philosopher on 9 Dec 2008 14:37 Matthew Lincoln wrote: > Assume I am connected to an inhouse-LAN and my local Linux system has a dynamic IP > which is assigned by a DHCP server at the start of the session. > > How do I find out my current, dynamic IP? > > Matthew ifconfig -a
From: propman on 9 Dec 2008 15:04 Matthew Lincoln wrote: > Assume I am connected to an inhouse-LAN and my local Linux system has a dynamic IP > which is assigned by a DHCP server at the start of the session. > > How do I find out my current, dynamic IP? Terminal session: ifconfig Ubuntu: System --> Administration --> Network Tools --> Network Device
From: Andrew Gideon on 9 Dec 2008 15:08 On Tue, 09 Dec 2008 18:45:26 +0000, Matthew Lincoln wrote: > Assume I am connected to an inhouse-LAN and my local Linux system has a > dynamic IP which is assigned by a DHCP server at the start of the > session. > > How do I find out my current, dynamic IP? Why? Lots of people have told you how to do this for yourself. But I'm wondering: if your plan is to do some action automatically upon receiving the address, you might want to look at /sbin/dhclient-script. I may be recalling incorrectly, but I think that the IP is passed in as a command-line argument when this script is executed. - Andrew
From: Youcantoo on 9 Dec 2008 15:12 Matthew Lincoln wrote: > Assume I am connected to an inhouse-LAN and my local Linux system has a dynamic IP > which is assigned by a DHCP server at the start of the session. > > How do I find out my current, dynamic IP? > > Matthew open a web browser and type in whatismyip.com or from a konsole type in /sbin/ifconfig it should show your ip there such as follows ath0 Link encap:Ethernet HWaddr 00:19:7D:7E:82:A6 inet addr:*192.168.10.117* Bcast:192.168.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:38803 errors:0 dropped:0 overruns:0 frame:0 TX packets:35297 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:28479818 (27.1 MiB) TX bytes:5732727 (5.4 MiB)
From: Bill Marcum on 9 Dec 2008 15:38
On 2008-12-09, Matthew Lincoln <kmlincoln100(a)hotmail.com> wrote: > Assume I am connected to an inhouse-LAN and my local Linux system has > a dynamic IP which is assigned by a DHCP server at the start of the > session. > > How do I find out my current, dynamic IP? > > Matthew ifconfig -- They can't stop us... we're on a mission from God! -- The Blues Brothers |