LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-28-2014, 01:12 PM   #1
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Rep: Reputation: Disabled
Network ip issue


Hi All;

In my laptop i instlled vmware version 9.
On virtual machine i installed linux distro.
I enabled ip configuraion using DHCP.It was working fine. recently i tried to set static ip.
After that i facing n/w issue.



PHP Code:
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:6D:CB:A9  
          inet6 addr
fe80::20c:29ff:fe6d:cba9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:25 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000 
          RX bytes
:2602 (2.5 KiB)  TX bytes:7101 (6.9 KiB)
          
Interrupt:75 Base address:0x2024 

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
:4130 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:4130 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:
          RX bytes
:5849340 (5.5 MiB)  TX bytes:5849340 (5.5 MiB
Attached Thumbnails
Click image for larger version

Name:	linux.png
Views:	10
Size:	33.5 KB
ID:	15084  

Last edited by thiyagusham; 03-28-2014 at 01:14 PM.
 
Old 03-28-2014, 01:15 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,318

Rep: Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881
Quote:
Originally Posted by thiyagusham View Post
Hi All;
In my laptop i instlled vmware version 9. On virtual machine i installed linux distro. I enabled ip configuraion using DHCP.It was working fine. recently i tried to set static ip. After that i facing n/w issue.
...and since you don't tell us what 'linux distro' you installed, what the actual issue/problem is, give us error message(s), or tell us what you're trying to do, what do you think we'll be able to tell you??? Are you using IPv4 or 6? HOW did you set the static address? If you switch it back to DHCP, does it work??

Since you provide no useful details, the best anyone can guess at is "you set it up wrong". Either you didn't provide a default gateway, DNS server(s), a valid address, or some other piece of the network puzzle is missing. Figure out what that piece is, and correct it.
 
Old 03-28-2014, 01:24 PM   #3
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
LINUX 5.5 distro installed.

using neat command i set static ip as '192.168.1.120'

again i have enabled dhcp. so now i am facing problem. I dont understand.

Last edited by thiyagusham; 03-28-2014 at 01:26 PM.
 
Old 03-28-2014, 01:37 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,318

Rep: Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881
Quote:
Originally Posted by thiyagusham View Post
LINUX 5.5 distro installed.
WHICH Linux 5.5??? RHEL? OEL? CentOS? ANY hints at all????
Quote:
using neat command i set static ip as '192.168.1.120' again i have enabled dhcp. so now i am facing problem. I dont understand.
...and back to "you don't provide any useful details". You set the static IP...great. Did you read and UNDERSTAND the previous post? Did you set the default gateway? DNS? WHAT MESSAGES did you get? You say you enabled DHCP and you are 'facing problem'...which doesn't tell us if DHCP has STOPPED working, or if you just have the problem with static addresses.

AGAIN: provide details and ask a clear question if you need help. If you're using Oracle Linux 5, then we can suggest you contact Oracle, since that is a COMMERCIAL PRODUCT. You have been advised of this numerous times in the past, and have been asked for details several times previously too, but seem to ignore these requests. And did you try to look this up on Oracle's website (which, as a DBA, you should have access to, especially since you're PAYING FOR these products, right???)
https://community.oracle.com/thread/...art=0&tstart=0
 
1 members found this post helpful.
Old 03-28-2014, 02:01 PM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,108

Rep: Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518
Looks like Oracle EL 5 from the thumbnail.

If you tried to configure a static IP and it didn't work,.. you will need to post the output of these commands for anyone to help:

Code:
cat /etc/sysconfig/network
cat /etc/sysconfig/network-scripts/ifcfg-eth0
cat /etc/resolv.conf
 
1 members found this post helpful.
Old 03-28-2014, 02:58 PM   #6
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
Hi TBone ;

I have installed OEL 5.5
I did NOT enable ipv4 or ipv6 .

PHP Code:
# service network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  
Determining IP information for eth0... failed.
                                                           [[
B]FAILED[/B]]
You have new mail in /var/spool/mail/root 
PHP Code:
[root@oel5 ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6
=no
HOSTNAME
=oel5.myserver

[root@oel5 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Ethernet
DEVICE
=eth0
HWADDR
=00:0c:29:6d:cb:a9
BOOTPROTO
=dhcp
ONBOOT
=yes
USERCTL
=no
IPV6INIT
=no
PEERDNS
=yes

[root@oel5 ~]# cat /etc/resolv.conf
generated by /sbin/dhclient-script
search localdomain
nameserver 192.168.169.1 
What the actual issue/problem is, give us error message(s), or
tell us what you're trying to do, what do you think we'll be able to tell you???

When installing linux , i have selected 'network adapter as 'HOST ONLY'
then i choosed 'automatic ip address using 'dhcp'
so i got ip by default as '192.168.133.169'
Later using neat command i set static ip as '192.168.1.120'
then i have selected network adapter as 'bridged network'


Now i have removed everything!
again i set network adapter as 'host only'
but cannot enable any ip. this is problem.

HOW did you set the static address?
using 'neat' comamnd

If you switch it back to DHCP, does it work?
I tried , but not working. please see attached screen shot.

Did you set the default gateway? DNS? WHAT MESSAGES did you get?
I enabled when installing 'linux' .. i cannot recall anything.

Thanks TBone .. I hope ..

Please see attached screen shots.
Attached Thumbnails
Click image for larger version

Name:	tbone.png
Views:	5
Size:	33.8 KB
ID:	15085   Click image for larger version

Name:	tbone2.png
Views:	6
Size:	54.1 KB
ID:	15086  
 
Old 03-28-2014, 03:36 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,318

Rep: Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881
Quote:
Originally Posted by thiyagusham View Post
Hi TBone ;
I have installed OEL 5.5
I did NOT enable ipv4 or ipv6 .
If you don't enable ANY sort of IP, why do you think that it'll work???
Quote:
When installing linux , i have selected 'network adapter as 'HOST ONLY' then i choosed 'automatic ip address using 'dhcp'
so i got ip by default as '192.168.133.169' Later using neat command i set static ip as '192.168.1.120'
then i have selected network adapter as 'bridged network'
What makes you think that the 120 address is correct? Are you sure nothing else is using it? Did you ask your networking folks what range your static address can go in??
Quote:
Now i have removed everything! again i set network adapter as 'host only' but cannot enable any ip. this is problem.
Because you didn't set the address correctly, and have modified files outside of the neat utility. Restore the files back to their original state, THEN run the neat utility (after getting the correct network parameters from your networking team. Without default gateways, DNS servers, and a VALID IP address, things won't work. Ever.
Quote:
HOW did you set the static address? using 'neat' comamnd
No, you *TRIED* to set it using the neat command...but didn't actually show us what you filled in, only a screen shot of the error. And you've been asked if you have filled in the other networking parameters, but STILL haven't said if you did or not, and have not even acknowledged that you read that message.
Quote:
If you switch it back to DHCP, does it work?I tried , but not working. please see attached screen shot.
...because you manually modified things. Restore the files you modified from backups.
Quote:
Did you set the default gateway? DNS? WHAT MESSAGES did you get? I enabled when installing 'linux' .. i cannot recall anything.
AGAIN..you just say 'linux', when you should say OEL5. And, AGAIN: YOU NEED TO PAY FOR OEL5, and CONTACT ORACLE FOR HELP. You repeatedly ignore this.

You were sent a link from Oracle's knowledgebase. It has steps to take to get a static address/device configured. You either haven't read it, or haven't understood it. You don't provide what is needed for a static address to work, and until you do, IT WON'T.

CONTACT ORACLE SUPPORT...you say you're a DBA, and use both OEL and Oracle at your company, which means you are PAYING FOR SUPPORT. USE IT.
 
1 members found this post helpful.
Old 03-28-2014, 03:39 PM   #8
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
Hi TBone ;

I have installed in my laptop for personal use.
Not commercial purpose. So i cannot ask oracle supporting for personal use.
 
Old 03-28-2014, 06:00 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,318

Rep: Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881Reputation: 3881
Quote:
Originally Posted by thiyagusham View Post
Hi TBone ;
I have installed in my laptop for personal use. Not commercial purpose. So i cannot ask oracle supporting for personal use.
...which DOES NOT MATTER AT ALL, since no matter WHY you installed it, that is a COMMERCIAL PRODUCT, just like Red Hat Enterprise is. Not paying = DON'T USE IT, period. And you have said in other threads, repeatedly, that you use Oracle, RHEL, and OEL at your workplace, so logging a support call should be very easy to do.

That said, did you read and understand the links provided to you previously, and the instructions you were handed?? Did you look on the Oracle knowledgebase, for instructions on how to do this? Have you done/tried ANYTHING suggested of you yet?
 
  


Reply


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
Is there software to find network issue? Possible packets dropped or similar issue xmrkite Linux - Software 7 03-17-2015 07:33 PM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 11:05 AM
Network Manager issue : Does not distinguish between wired and wireless network rohanak Linux - Laptop and Netbook 1 09-04-2008 05:49 PM
Network Issue mat087 Linux - Networking 8 06-08-2006 12:29 AM
Network issue chop Linux - Networking 10 07-19-2004 02:57 PM


All times are GMT -5. The time now is 07:14 AM.

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