LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-19-2010, 02:35 PM   #1
linux_newb
Member
 
Registered: Aug 2009
Distribution: Windows 7, RHEL 5.4, CENTOS 5.4, RHEL 6
Posts: 55

Rep: Reputation: 15
Linux CentOS 5.4 small three computer networking help


Hi guys,

What I want to do is have two different networks connected with my switch. I want one computer to be the server and run dhcp with the ip address 10.3.2.1 and I want the other client machine to be 10.1.X.X. I want the X.X to be assigned automatically from DHCP running on the server. The subnet mask I believe should 255.255.255.0 for both networks. How can I get these two different networks to talk to each other when they are on completely different networks??
 
Old 01-19-2010, 02:54 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Without a router, you can't. Unless they are on the same subnet, which they will have to be in order to get DHCP working. your thread title mentions three machines. your content mentions two... maybe you're expecting this third machine to be involved?

Last edited by acid_kewpie; 01-19-2010 at 02:56 PM.
 
Old 01-19-2010, 03:10 PM   #3
linux_newb
Member
 
Registered: Aug 2009
Distribution: Windows 7, RHEL 5.4, CENTOS 5.4, RHEL 6
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
Without a router, you can't. Unless they are on the same subnet, which they will have to be in order to get DHCP working. your thread title mentions three machines. your content mentions two... maybe you're expecting this third machine to be involved?
Thanks for your quick response. Well the third machine will most likely have the address 10.3.2.1 which i want to be able to talk to my server 10.3.2.1 but I dont want 10.3.2.1 to be able to talk to my the other client 10.1.X.X. I want this client to be able to see the server only? I'm so confused as even where to begin?

Hi guys,

What I want to do is have two different networks connected with my switch. I want one computer to be the server and run dhcp with the ip address 10.3.2.1 and I want the other client machine to be 10.1.X.X. I want the X.X to be assigned automatically from DHCP running on the server. The subnet mask I believe should 255.255.255.0 for both networks. How can I get these two different networks to talk to each other when they are on completely different networks??
 
Old 01-19-2010, 04:08 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well i'd suggest you're confused as, again, this makes no sense at all. in order to move between different IP subnets you need a Layer 3 device, e.g. a router, firewall, L3 switch or a forwarding server. If you take a server and give it two nics then it can be on both networks and off you go. Additionally, putting two different subnets in the same Layer 2 space (i.e. both on a dumb switch) is *really* *really* bad form too. very messy and against a trillion standards.
 
Old 01-19-2010, 05:25 PM   #5
linux_newb
Member
 
Registered: Aug 2009
Distribution: Windows 7, RHEL 5.4, CENTOS 5.4, RHEL 6
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie View Post
well i'd suggest you're confused as, again, this makes no sense at all. in order to move between different IP subnets you need a Layer 3 device, e.g. a router, firewall, L3 switch or a forwarding server. If you take a server and give it two nics then it can be on both networks and off you go. Additionally, putting two different subnets in the same Layer 2 space (i.e. both on a dumb switch) is *really* *really* bad form too. very messy and against a trillion standards.
No there has to be a way to do it. If you set up different subnet masks I'm sure its possible. Its not really a different network but just so certain nodes can see each other and certain ones can't.
 
Old 01-20-2010, 01:47 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
OK, well you go invent an entirely new set of networking protocols and standards. You have fun with that, let me know how it goes when you realise that actaully learning and following exisiting standards is a much better idea.
 
Old 01-20-2010, 10:16 AM   #7
linux_newb
Member
 
Registered: Aug 2009
Distribution: Windows 7, RHEL 5.4, CENTOS 5.4, RHEL 6
Posts: 55

Original Poster
Rep: Reputation: 15
[QUOTE=acid_kewpie;3833128]OK, well you go invent an entirely new set of networking protocols and standards. You have fun with that, let me know how it goes when you realise that actaully learning and following exisiting standards is a much better idea.[/QUOT

I guess I just invented something new because using a dummy switch I'm able to use different subnet masks to allow my 10.2.1.1 network talk to my 10.1.4.6 network and I also have a 10.4.X.X network that can only talk to my server and not to my 10.1.4.6 network.
 
Old 01-20-2010, 02:34 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
"different subnets" presumably means breaking the standards that are there for very good reasons. If you want to describe in more detail what you've done, I can try and explain why it was such a bad idea ;-)
 
  


Reply



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
CentOS/RHEL Linux small network configuration help linux_newb Linux - Networking 4 01-15-2010 09:05 AM
incredibly small linux computer Dreammama Linux - Hardware 9 10-02-2009 06:06 AM
Good small-footprint linux live CD image compatible with RedHat / CentOS 5? slinx Linux - Software 1 01-02-2009 03:12 PM
Small footprint linux server::to study networking friendklay Linux - Networking 5 06-21-2005 01:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:06 PM.

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
Open Source Consulting | Domain Registration