Routing problem
I have 2 Fedora servers on the same subnet. I can't connect each other, but I'm able to access IPs outside the subnet. It's a DC protection or something.
My provider is asking me to set a hostroute on each machine that all traffic needs to be sent over the gateway.
I'm using recommended netmask 255.255.255.255
As per their wiki page, I have also added a route /etc/sysconfig/network-scripts/route-xxx
ADDRESS0=0.0.0.0
NETMASK0=0.0.0.0
GATEWAY0=x.x.x.1
Gateway will appear, of course, only in one place.
I've also tried
#server A
route add -net xIPA.x.x.x netmask 255.255.255.255 gw x.x.x.1
# server B
route add -net xIPB.x.x.x netmask 255.255.255.255 gw x.x.x.1
route add -net x.x.x.0/24 x.x.x.1 (gw)
Nothing is working.
Can someone please give me some advice.
hmb-patrick posted this at 08:55 — 23rd January 2016.
They have: 8 posts
Joined: Dec 2015
What is the value setup in your resolve.conf file ?
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.