Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to bind hostname and IP to network card in Linux?

Status
Not open for further replies.

JulianChappell

Technical User
Apr 8, 2002
6
GB
Hello,

I want to check what hostname and IP address is bound to my Linux server's ethernet card. Can anyone tell me how to do this? Please talk to me like I'm a niddiot, because my Linux and Networking knowledge is a little weak. I'm only doing this because Oracle support told me to.

TIA,

Julian
 
[root@caesium chris]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:48:54:4A:C2:69
inet addr:192.168.3.111 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:78199 errors:0 dropped:0 overruns:0 frame:0
TX packets:1747 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:8853159 (8.4 Mb) TX bytes:266810 (260.5 Kb)
Interrupt:10 Base address:0xa000

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:11500 errors:0 dropped:0 overruns:0 frame:0
TX packets:11500 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:805000 (786.1 Kb) TX bytes:805000 (786.1 Kb)
************************
Chris Andrew, CCNA
chrisac@gmx.co.uk
************************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top