Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-11-2012, 08:43 AM   #1
Registered: Jul 2012
Location: Rome
Distribution: RHEL6, CentOs
Posts: 92

Rep: Reputation: 1
RHEL6 ipv4

Hi there!

I'm new on the forum. I can't understand how to read IPv4 through the ip addr command.

I know we've got other methods but i would like to learn a little more about the new tool ip addr

then, i tried the commando ip addr -4 eth0 but the output is similar to below


[root@rhel6 Scrivania]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:2a:1a:64 brd ff:ff:ff:ff:ff:ff
inet6 fe80::20c:29ff:fe2a:1a64/64 scope link
valid_lft forever preferred_lft forever
3: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether ca:87:2f:fe:da:4b brd ff:ff:ff:ff:ff:ff
inet brd scope global virbr0

Old 07-11-2012, 09:27 AM   #2
Registered: Jul 2012
Location: Rome
Distribution: RHEL6, CentOs
Posts: 92

Original Poster
Rep: Reputation: 1

sorry, i was new on rhel6 and it was needed just to send the command

ifup eth0

then, again "ifconfig eth0" or "ip a" to see the ip.

i feel a little dumb..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ipv4 on centos 6 malayo Linux - Distributions 4 10-23-2011 08:17 AM
Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0 (CentOS 5.5) troiwulful Red Hat 3 11-22-2010 11:04 AM
IPv6 vs IPv4 jiml8 Programming 2 12-22-2008 10:53 AM
IPv4 not there??? Goblin82 Linux - Networking 4 03-03-2006 07:07 PM
IPv4 Question RecoilUK Linux - Networking 4 11-04-2001 05:13 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration