Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th March 2007, 04:43 AM
Paddyman Offline
Registered User
 
Join Date: Feb 2007
Posts: 48
Exclamation How do I configure my Network to work

Hello I have the following settings:

2 machines with Centos installed in both. Each has 2 Network cards. 1 normal ethernet card and a GigE card.
1 Machine which is my destop is connected to a router using normal ethernet card. The desktop is connected to the only monitor. The GigE card on the desktop machine is connected to the other GigE card in the second machine which is the server. The server is not connected to the router, thus does not access the internet. The server is not also connected to a monitor. My network link b/w the desktop and the server is CAT6 which is connected to both ends of the GigE card.

Now I want to access my server in my private network but I can't. What should I do or need to preconfigure before I can access the server. I would be greatful to any hel please.
Reply With Quote
  #2  
Old 14th March 2007, 06:46 AM
silvagroup's Avatar
silvagroup Offline
Registered User
 
Join Date: Aug 2006
Posts: 356
Might want to check the howto section.
Reply With Quote
  #3  
Old 14th March 2007, 05:50 PM
Paddyman Offline
Registered User
 
Join Date: Feb 2007
Posts: 48
Thank you silvagroup. I have checked the howto section but nothing suits my type of connection.
This is actaully how my network looks like: It was suggested to me by one user in this forum:
Code:
Then for higher secuirty (of the server at least) I would add a second ethernet card to 
the desktop and (normally) not have the server have acces to the internet. During install 
you will (essentially) have to have the sever have access to the internet(for updates). 
When you install or do updates it would be easies just to swap the ethernet cables to 
grant the server access to the internet. This will mean you will have two separate 
networks. One with the desktop going out to the internet(small) and the second with 
the desktop and the server(later servers). When you add more servers you will have to add
another switch(or router) between the desktop and the servers.

So, (for ethernet on your desktop) you would plug desktop->router->modem. 
The server (to start with) would plug into the second ethernet port on your desktop. 
Later it would go server(s)->switch(or second router)->desktop 2nd ethernet port.

Depending on the amount of data you will be pushing between the desktop and the server 
you may (probably) want to use GigE on all your ethernet equipment rather
than regular 100 ethernet.
My installation looks exactly like the suggestions above.
My problem now is how do I make both PCs to communicate using the GigE on both machines? How do I set up the IP addresses?I am absoluetly new to linux and networking in general. I would appreciate any help please. Please help
Paddy
Paddy
Reply With Quote
  #4  
Old 14th March 2007, 06:37 PM
alukin Offline
Registered User
 
Join Date: Mar 2007
Posts: 37
Is routing enabled on hosts with 2 ehers?
cat /proc/sys/net/ipv4/ip_forward
if it is 0 then routing disabled and you must
echo 1 >/proc/sys/net/ipv4/ip_forward and check routing tables

To allow routing permanently check /etc/sysctl.conf:
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
Reply With Quote
  #5  
Old 14th March 2007, 06:59 PM
silvagroup's Avatar
silvagroup Offline
Registered User
 
Join Date: Aug 2006
Posts: 356
WOW , you may find this of intrest http://blogs.sun.com/barts/.
Reply With Quote
  #6  
Old 14th March 2007, 09:22 PM
Paddyman Offline
Registered User
 
Join Date: Feb 2007
Posts: 48
This site
Code:
 http://blogs.sun.com/barts/
does not help me in any way. Too much talk and no example on how to configure my type of private network
Thank you any way.
Reply With Quote
  #7  
Old 15th March 2007, 07:22 PM
Paddyman Offline
Registered User
 
Join Date: Feb 2007
Posts: 48
I am able to configure my network so that I can ping the server. The server is responging. But when I try to vnc into the server I get an error
Code:
main: unable to connect to host: Connection refused (111)
I started the vncserver from the desktop as follows:
Code:
service vncserver start (it was ok) 
vncserver 
then 
vncviewer.
That's when I receive the error message
main: unable to connect to host: Connection refused (111)
Any idea what I might be doing wrong?
Reply With Quote
Reply

Tags
configure, network, work

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I configure lilo to work? stephanie.steve Using Fedora 8 7th October 2007 04:14 AM
configure apache to work in internal and External network hdamis Servers & Networking 3 9th August 2007 08:30 PM
how to configure a net work myname74119 Servers & Networking 2 3rd December 2006 05:34 PM
how to configure a net work myname74119 Servers & Networking 5 16th November 2006 04:02 PM
./configure won't work chaplan Using Fedora 6 13th July 2006 05:13 PM


Current GMT-time: 10:34 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat