LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-20-2009, 09:10 PM   #1
lordofall20
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Rep: Reputation: 0
Virtual Machine Redhat 9 networking issue


I know this looks like a lot to read, but I really need help with this issue.

I am having a weird issue with Redhat 9. I am using Virtual Machines. I have created a Windows Server 2003, gave it the necessary roles to become a router. I can use the server as a router efficiently with a Windows XP machine, but not with my Redhat 9. I can ping the NIC on the same network as my Redhat 9, and I can ping the NIC that is bridged, but it is as if my Server doesn't know how to route my Redhat 9 machine.

In hope to resolve the issue, I tried to take the Server out of the picture. I bridged the Redhat 9's NIC and attempted to connect to the internet, and the issue continued. I looked for information about this problem and found this information:

To work around this problem, become root (su -) and use a text editor to edit the following files in the
guest operating system. If only one of these files exist, make the change for that file only.

/etc/sysconfig/network-scripts/ifcfg-eth[n]

/etc/sysconfig/networking/devices/ifcfg-eth[n]

In both cases, [n] is the number of the Ethernet adapter - for example, eth0.

Add the following section to each of these two files:

check_link_down () {

return 1;

}

This did not fix the issue. I need some major help to fix this issue. I appreciate your input, and please don't tell me to upgrade to a more current version of Linux like Fedora 11. This is for my job and it is a training exercise.
 
Old 07-21-2009, 05:27 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,544
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hello lordofall20

Difficult to answer without more informataion.

Which is the host and which the guest(s)?

What type of networking is configured on the host for the VMs to use (default of VBox acting as a NATting router or bridged)?

How do all the NICs (real and virtual) get their IP addresses?

Which network nodes you want to communicate with which other network nodes, on the Internet, the real LAN and (if you have one) on the virtual LAN -- and via port forwarding or directly?

Probably more later but that's a good start.

Best

Charles
 
Old 07-21-2009, 06:50 AM   #3
lordofall20
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Question 1:Neither is the host, they are both VMs on another server in which I do not no the OS. I beleive it is like Server 2005.

Question 2: The server is acting as a bridged router.

Question 3: The Windows Server 2003 leases DHCP.

Question 4: I beleive the way I need to answer this question is, the Linux box is on a VMnet that only has that Linux box and one of the NICs from the Server. The server is bridged and set to bypass a proxy, which would then send the connection through a firewall, then to the internet. The proxy is set to not block anything, but it will give a suffix if the if the computer does not have one in its domain. The proxy will also block the connection if the suffix is not of its domain, so I took the suffix off of my Redhat 9.

Thanks!

Last edited by lordofall20; 07-21-2009 at 06:50 AM. Reason: forgot to say thanks
 
Old 07-21-2009, 01:47 PM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,544
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hello lordofall20
Quote:
Originally Posted by lordofall20 View Post
Question 1:Neither is the host, they are both VMs on another server in which I do not no the OS. I beleive it is like Server 2005.

Question 2: The server is acting as a bridged router.

Question 3: The Windows Server 2003 leases DHCP.

Question 4: I beleive the way I need to answer this question is, the Linux box is on a VMnet that only has that Linux box and one of the NICs from the Server. The server is bridged and set to bypass a proxy, which would then send the connection through a firewall, then to the internet. The proxy is set to not block anything, but it will give a suffix if the if the computer does not have one in its domain. The proxy will also block the connection if the suffix is not of its domain, so I took the suffix off of my Redhat 9.

Thanks!
I'm sorry I don't have enough relevant expertise to help from this point. I hope the extra information I asked for will enable someone better qualified to help.

Best

Charles
 
Old 07-28-2009, 09:05 AM   #5
lordofall20
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Ok... I have tried something different on another VM. I installed Fadora 11, and I attempted to bridge(with a fresh install, the only thing that has been configured is both of the proxies, and i activated the network service). I am lost on getting Fadora on the internet through VMWare
 
Old 07-28-2009, 09:39 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,544
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hello lordofall20
Quote:
Originally Posted by lordofall20 View Post
Ok... I have tried something different on another VM. I installed Fadora 11, and I attempted to bridge(with a fresh install, the only thing that has been configured is both of the proxies, and i activated the network service). I am lost on getting Fadora on the internet through VMWare
Looks like nobody else is pitching in on this one so I'll try to help despite lack of Fedora experience.

The new situation is you have some version of Fedora running in a virtual machine provided by some version of VMware running on an unspecified host (which may be like "Server 2005") using bridged mode networking between guest and host with two proxies somehow involved and an unspecified configuration of the virtual adapter and you are unable to "get Fadora on the internet" presumably hoping to do so over an unspecified link to the Internet from the host. It is not clear whether "get Fadora on the internet" means accessing nodes on the Internet from Fedora or it means access Fedora from a node on the Internet and what sort of connection is being attempted: ping, HTTP, FTP etc?

That's kind of vague. Maybe that's why nobody else is pitching in. Try posting in the ESP and Clairvoyance forum.

Best

Charles
 
1 members found this post helpful.
Old 07-29-2009, 04:49 PM   #7
lordofall20
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Original Poster
Rep: Reputation: 0
I was trying to just access the internet via web browser from the Fedora 11 OS. I discovered the problem this morning though. (<--HAPPINESS) For some dumb reason, when the Fedora was receiving a DHCP address, it wasn't receiving the DNS information. The way I figured this out is because, as a last resort, I put an entry(the proxy server) in the hosts file. I then proceeded to access the internet via Firefox, and it worked. I hope this helps others that are having this very stupid error in with the DHCP not supplying the DNS information to Fedora 11. Co-workers think that the cause of this error is marketing, so that people will get frustrated with Fedora and go to Redhat Enterprise for the support.

Thank you for replying Charles!

WOOT! (the other team was Fedora!) <--LOL
 
Old 03-19-2014, 01:44 PM   #8
tliddle
LQ Newbie
 
Registered: Mar 2014
Location: Huntsville, AL
Posts: 1

Rep: Reputation: Disabled
Thumbs up This was the fix!

Thank you so very much, for posting that reply.
Although my RHEL 5.10 isn't a virtual, I was having the same problem, then I read your post.
I edited those files (which was weird because after I edited the first, the second already showed what I put in on the first, and the files aren't linked)....
I rebooted and no longer having that issue...

Just wanted to tip my hat to you and thank you for your solution: it works!

Tom
 
  


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
file sharing between a virtual machine and the host machine okok Linux - Networking 3 06-21-2013 12:42 AM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM
Virtual Machine Networking TentativeChaos Linux - Newbie 2 03-24-2008 07:34 AM
Redhat Linux & Virtual PC Networking cruddybuddy Linux - Networking 5 08-28-2004 08:37 PM
Networking WinXP to Redhat 8.0 machine Viking3467 Linux - Networking 1 11-03-2003 05:42 PM


All times are GMT -5. The time now is 12:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration