LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-20-2014, 06:52 AM   #1
vk33
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Rep: Reputation: 0
A cabling issue? Single Wire and two dhcp servers


A single CAT6 wire runs from front-office to back office.
In the initial setup, this wire connected the back office systems to a local network managed by a Juniper Switch. Now I want a Linux cluster in the back office to have a public IP also.
I took a 4 port switch and connected one cable from the juniper switch and another cable from the router that managed the public IP's.
Then I connected the cable to the back office to this 4 port switch.

The head node on the cluster has 4 port NIC.
eth0: 192.168.1.140 : Statically assigned via the Juniper switch
eth1: 10.1.1.1: gateway to the cluster and forwarded to eth0 for outgoing internet connections.
eth2: 128.224.xx.xx I assigned the available public IP
Since both eth0 and eth2 are connected to the internet, no issues there.
When I try to connect to the head node using the the public or the local IP, only one connection goes through.
a network restart ALWAYS flips the access IP ( really interesting!)
When I had two cables from two separate switches ( the public and the local)connected to eth0 and eth2, I could connect to the head node using both the IPs: 192.168.1.140 and 128.224.xx.xx

I am curious to know what is the issue here.
Is,a single cable carrying two dhcp/static requests to two different servers via two managed switches, not possible in theory?
I have a limitation of running another wire from the front to the back office for the time being ( It is about 300 meters away)

This looks like a Network 101 question but I failed to find a good answer. Any tips to explore this issue is appreciated.
 
Old 11-20-2014, 10:03 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,651

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Your allocation of resources is always going to be a problem if you have your hardware split like that.
Once things know which network they are on, you can do what you want with virtual lans which isolate sets of devices using the same piece of cable. But with dhcp, boxes logging on _don't_ know what network they are on.

There is a lovely line for Fagin in the musical 'Oliver':
"I think I'd better think it out again!"

I suggest you try that. Tell your boss " To do that, I will need a & b, and c or d" (whatever you need). If he won't provide it, he's not serious about getting it done.
 
  


Reply

Tags
cable, dhcp server, networking, nic


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
DHCP CLIENT Issue w/ ISP DHCP Server itsecx@gmail.com Linux - Networking 1 08-26-2010 09:27 AM
How to make two servers respond to a single ip? stormrider_may Linux - Networking 8 03-22-2006 10:09 AM
Single IP, multible web servers tangle Linux - Networking 10 01-11-2006 11:03 AM
DHCP problems - multiple DHCP servers sat86 Linux - Networking 4 10-02-2005 05:43 AM
Whats faster Coaxial Cabling or CAT5 Cabling!?? FreakboY Linux - Networking 22 08-25-2004 09:16 AM

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

All times are GMT -5. The time now is 07:47 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