Networking Forums

Networking Forums > Computer Networking > Linux Networking > Detect IP Address

Reply
Thread Tools Display Modes

Detect IP Address

 
 
Jeff Johnson
Guest
Posts: n/a

 
      02-21-2005, 05:50 PM
I just installed RedHat 9.0.

Once I connect it to my router I want the IP address within my
company's network.

Is there a command similar to the Windows 'ipconfig' command to detect
the IP address of this machine?

Thanks,

Jeff
 
Reply With Quote
 
 
 
 
Lew Pitcher
Guest
Posts: n/a

 
      02-21-2005, 05:52 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeff Johnson wrote:
> I just installed RedHat 9.0.
>
> Once I connect it to my router I want the IP address within my
> company's network.
>
> Is there a command similar to the Windows 'ipconfig' command to detect
> the IP address of this machine?


/sbin/ifconfig

- --
Lew Pitcher
IT Specialist, Enterprise Data Systems,
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed are my own, not my employers')
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFCGi35agVFX4UWr64RAiQEAKCHABUPWis2St+EHZTCo4 JetBl2zgCcCYo8
31fQGTl1LShvVbGxOSRLTQs=
=7TB0
-----END PGP SIGNATURE-----
 
Reply With Quote
 
Bit Twister
Guest
Posts: n/a

 
      02-21-2005, 05:55 PM
On 21 Feb 2005 10:50:52 -0800, Jeff Johnson wrote:
> I just installed RedHat 9.0.
>
> Once I connect it to my router I want the IP address within my
> company's network.
>
> Is there a command similar to the Windows 'ipconfig' command to detect
> the IP address of this machine?


ifconfig /all
 
Reply With Quote
 
sbj
Guest
Posts: n/a

 
      02-21-2005, 05:57 PM
/sbin/ifconfig


On Mon, 21 Feb 2005 10:50:52 -0800, Jeff Johnson wrote:

> I just installed RedHat 9.0.
>
> Once I connect it to my router I want the IP address within my
> company's network.
>
> Is there a command similar to the Windows 'ipconfig' command to detect
> the IP address of this machine?
>
> Thanks,
>
> Jeff


 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      02-21-2005, 08:54 PM
In comp.os.linux.networking Bit Twister <(E-Mail Removed)>:
> On 21 Feb 2005 10:50:52 -0800, Jeff Johnson wrote:
>> I just installed RedHat 9.0.
>>
>> Once I connect it to my router I want the IP address within my
>> company's network.
>>
>> Is there a command similar to the Windows 'ipconfig' command to detect
>> the IP address of this machine?


> ifconfig /all

/all: error fetching interface information: Device not found

You probably mean:

/sbin/ifconfig -a

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 420: Feature was not beta tested
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      02-21-2005, 10:29 PM
Jeff Johnson wrote:

> Is there a command similar to the Windows 'ipconfig' command to detect
> the IP address of this machine?


ifconfig

 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      02-21-2005, 10:30 PM
Bit Twister wrote:

> ifconfig /all


???

Did you actually try that command?

 
Reply With Quote
 
=?ISO-8859-1?Q?Bj=F8rn?= Tore Sund
Guest
Posts: n/a

 
      02-22-2005, 07:32 PM
On Mon, 21 Feb 2005 18:29:39 -0500, James Knott wrote:
> Jeff Johnson wrote:
>
> > Is there a command similar to the Windows 'ipconfig' command to detect
> > the IP address of this machine?

>
> ifconfig


Usually not in the default $PATH of normal users, it usually resides
in /sbin. Use

/sbin/ifconfig

Unless, of course, you get output from simply typing 'ifconfig'.

Bjørn
--
Bjørn Tore Sund "When in fear, and when in doubt;
(E-Mail Removed) Run in circles, scream and shout!"
Interaction! - Anonymous
http://www.interaction.worldcon.org.uk/
 
Reply With Quote
 
ray
Guest
Posts: n/a

 
      02-23-2005, 01:14 AM
On Mon, 21 Feb 2005 10:50:52 -0800, Jeff Johnson wrote:

> I just installed RedHat 9.0.
>
> Once I connect it to my router I want the IP address within my
> company's network.
>
> Is there a command similar to the Windows 'ipconfig' command to detect
> the IP address of this machine?
>
> Thanks,
>
> Jeff


ifconfig -a

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remotely Detect MAC Address? nic Windows Networking 3 10-21-2006 09:23 AM
How detect fixed IP address of black box? Newell White Windows Networking 5 06-05-2006 02:26 PM
How to specify/detect an NIC when using two or more NIC lekkie.aydot@gmail.com Linux Networking 7 08-31-2005 12:13 AM
detect ISP from IP address Nick Hayworth Broadband 2 07-24-2005 03:43 PM
Setup won't detect MN-520 Jeff Broadband Hardware 0 09-19-2004 07:35 PM



1 2 3 4 5 6 7 8 9 10 11