network

Why ipaddress not found here

root@server1 ~]# /sbin/ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3723 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3723 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5749156 (5.4 MiB)  TX bytes:5749156 (5.4 MiB)

[root@server1 ~]#



[root@newmac ~]# /sbin/ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3374 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3374 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5263632 (5.0 MiB)  TX bytes:5263632 (5.0 MiB)

[root@newmac ~]#
jcob_lAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
are the interfaces active?
what linux distribution?
if rhel/centos, what happens when you run system-config-network and select device configuration?  is there an adapter listed?
0
farzanjCommented:
As mentioned above, it is very much distribution specific.

In RHEL/CentOS, you have IP address files in

/etc/sysconfig/network-scripts/  directory.  The scripts are called ifcfg-eth0, etc.
You don't appear to have those scripts.
If it is Debian/Ubuntu, you can set it up using this:
http://manpages.ubuntu.com/manpages/lucid/en/man5/interfaces.5.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
omarfaridCommented:
what is your os platform? what do you get when you run

ifconfig -a

Did you configure your network while installing the os?
0
jcob_lAuthor Commented:
fine now
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.