Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.