LinuxQuestions.org
Review your favorite Linux distribution.
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 04-30-2024, 01:54 AM   #1
sovietmonkeu
LQ Newbie
 
Registered: Jan 2022
Posts: 1

Rep: Reputation: 0
Network issues on separate IP ranges


Hi All,

I am sitting with the following issue. I have 2x servers. One if on a public IP (ex. 100.100.100.100) and one on a private network (ex. 200.200.200.200), with internet breakout. My private servers cannot ping the public server (Firewalled on both instances) but I can ping the GW of the public server (This just proves that I do have comms to the subnet)

My public server does have an interface on the private server subnet (200.200.200.201), which usually makes inter-server comms possible. Due to some software restrictions, the API from my private server is contacting my public server to the public IP, but this isnt working.. This is not ICMP related problem though.

On the public server I have a route for ex. 200.200.200.0/24, which will route the private subnet between all my servers. It does seem though that when my 200.200.200.200 server routes to 100.100.100.100, this route is interfering with the return traffic. As soon as I remove the 200.200.200.0 route from my public server, connection is restored.

Even though my public / private network can route between each other (Physical Firewall between the networks), this is not correct process. This used to work fine when all these servers were on OL 7.9 (Still have servers on 7.9 with the same network logic, which are working just fine). These machines are on OL 8.9.

Firewalld is disabled on both these servers.

Anyone have an idea of where I can start?

Thanks
 
Old 04-30-2024, 03:00 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,834

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Are both servers connected to a common internet gateway? I would prefer that you had shown real private IPs at least. Left to speculate a bit here, since you haven't shown actual topology.

From your description, the server behind the internet GW tries to connect with another server connected directly to the public internet
SERVER 1<private IP>---<private IP router>INTERNET GW ROUTER<public GW IP>------<public IP server>SERVER 2
When it does so it's private IP will undergo NAT to to appear as coming from the 'public GW IP', so return traffic should come back to that IP address and the GW router takes care of forwarding the traffic to the server. You should show traceroute results from both servers.

Last edited by ferrari; 04-30-2024 at 03:01 PM.
 
Old 04-30-2024, 08:37 PM   #3
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,855

Rep: Reputation: 161Reputation: 161
Does the public server connect to the gateway directly? Is there any device between the two machines?
 
  


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
Network Service Restart Extremely Slow w/ GRE Tunneled Ranges ne0shell Red Hat 0 04-28-2013 07:45 PM
Two DHCP ranges in one DHCP server using one NIC on a MPLS network - centos6 6.3 x64 pablobhz Linux - Newbie 7 03-04-2013 04:22 PM
[SOLVED] Routing for 2 IP bonds with xen virtualisation.......and different network ranges redrum123 Linux - Networking 2 02-12-2010 08:49 AM
Network on 2 Ranges threegig Linux - Networking 5 07-01-2006 03:51 AM
network address ranges WeNdeL Linux - Networking 4 03-12-2003 10:56 AM

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

All times are GMT -5. The time now is 08:31 AM.

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