On Thursday 21 June 2001 14:56, Terry wrote:
> I'm curious ..
>
> How can I determine what my IP address is from my local machine?  Is
> there a command similar to M$'s "IPCONFIG" command?
>
> Thanks!


type ifconfig as root and you should get something like this:

[root@alpha1 jeff]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:20:78:0D:F2:BF
          inet addr:192.168.0.11  Bcast:192.168.0.255  
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:375060 errors:0 dropped:0 overruns:0 frame:0
          TX packets:339800 errors:0 dropped:0 overruns:0 carrier:0
          collisions:7 txqueuelen:100
          RX bytes:473529387 (451.5 Mb)  TX bytes:24387955 (23.2 Mb)
          Interrupt:11 Base address:0xec00
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:664 errors:0 dropped:0 overruns:0 frame:0
          TX packets:664 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:62000 (60.5 Kb)  TX bytes:62000 (60.5 Kb)

pretty awesome looking. eth0 is my ethernet card and lo is my 
'loopback' so i can ping myself.

you can also use ifconfig to set the properties of your network card. 
to do so, i would simply type (using the example above):

ifconfig eth0 192.168.0.11 netmask 255.255.255.0 up

as long as i have the proper module (aka driver) loaded for my ethernet 
card, i should be able to start pinging other computers on the 
network...regardless of what OS they're running.

good luck and don't forget about http://www.linuxdoc.org/ !!!


-- 

+-----
+  Jeffrey M. Reed
+  Linux System Administrator
+  Metro West Boston Linux User Group
+  [EMAIL PROTECTED]
+  (508)792-6070
+-----

Reply via email to