Ubuntu Will not Respond to Masqueraded IP
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I've added a second interface to my Ubuntu 16.04 Server. Unlike the first interface, this one uses an internal address (172.16.0.233) and is masqueraded to its own external IP (Happens at the ISP's office).
PROBLEM: The server will respond to request locally (to the internal IP 172.16.0.233), and will not respond to request made externally (to the external IP).
Tried:
-Tested the IP on a Windows server, and works as expected.
-Using a different IP in my range, same issue.
-The server is reachable on the local network and can reach the gateway (172.16.0.1)
P.S. The server responds properly on the first nic that is using just an external IP.
EDIT: Additional Information @earthmeLon
Output of
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default rrcs-xxx-xxx-xx 0.0.0.0 UG 0 0 0 ens160
default 172.16.0.1 0.0.0.0 UG 100 0 0 ens192
xxx.xxx.xxx.xx * 255.255.255.240 U 0 0 0 ens160
link-local * 255.255.0.0 U 1000 0 0 ens160
(x's in place of public IP address)
NAT Setup: I've sent an email to my ISP asking. From what I remember, I think it is 1 to 1.
I can provide any information requested, however, I don't understand the issue enough to provide relevant information now.
networking
add a comment |Â
up vote
0
down vote
favorite
I've added a second interface to my Ubuntu 16.04 Server. Unlike the first interface, this one uses an internal address (172.16.0.233) and is masqueraded to its own external IP (Happens at the ISP's office).
PROBLEM: The server will respond to request locally (to the internal IP 172.16.0.233), and will not respond to request made externally (to the external IP).
Tried:
-Tested the IP on a Windows server, and works as expected.
-Using a different IP in my range, same issue.
-The server is reachable on the local network and can reach the gateway (172.16.0.1)
P.S. The server responds properly on the first nic that is using just an external IP.
EDIT: Additional Information @earthmeLon
Output of
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default rrcs-xxx-xxx-xx 0.0.0.0 UG 0 0 0 ens160
default 172.16.0.1 0.0.0.0 UG 100 0 0 ens192
xxx.xxx.xxx.xx * 255.255.255.240 U 0 0 0 ens160
link-local * 255.255.0.0 U 1000 0 0 ens160
(x's in place of public IP address)
NAT Setup: I've sent an email to my ISP asking. From what I remember, I think it is 1 to 1.
I can provide any information requested, however, I don't understand the issue enough to provide relevant information now.
networking
You'll need a route or arp in the same subnet (ie: no hardware in the way). Can you provide the output ofroute
on the machine and your gateway? What's your NAT setup? I think we'll need additional information.
â earthmeLon
May 16 at 18:47
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've added a second interface to my Ubuntu 16.04 Server. Unlike the first interface, this one uses an internal address (172.16.0.233) and is masqueraded to its own external IP (Happens at the ISP's office).
PROBLEM: The server will respond to request locally (to the internal IP 172.16.0.233), and will not respond to request made externally (to the external IP).
Tried:
-Tested the IP on a Windows server, and works as expected.
-Using a different IP in my range, same issue.
-The server is reachable on the local network and can reach the gateway (172.16.0.1)
P.S. The server responds properly on the first nic that is using just an external IP.
EDIT: Additional Information @earthmeLon
Output of
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default rrcs-xxx-xxx-xx 0.0.0.0 UG 0 0 0 ens160
default 172.16.0.1 0.0.0.0 UG 100 0 0 ens192
xxx.xxx.xxx.xx * 255.255.255.240 U 0 0 0 ens160
link-local * 255.255.0.0 U 1000 0 0 ens160
(x's in place of public IP address)
NAT Setup: I've sent an email to my ISP asking. From what I remember, I think it is 1 to 1.
I can provide any information requested, however, I don't understand the issue enough to provide relevant information now.
networking
I've added a second interface to my Ubuntu 16.04 Server. Unlike the first interface, this one uses an internal address (172.16.0.233) and is masqueraded to its own external IP (Happens at the ISP's office).
PROBLEM: The server will respond to request locally (to the internal IP 172.16.0.233), and will not respond to request made externally (to the external IP).
Tried:
-Tested the IP on a Windows server, and works as expected.
-Using a different IP in my range, same issue.
-The server is reachable on the local network and can reach the gateway (172.16.0.1)
P.S. The server responds properly on the first nic that is using just an external IP.
EDIT: Additional Information @earthmeLon
Output of
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default rrcs-xxx-xxx-xx 0.0.0.0 UG 0 0 0 ens160
default 172.16.0.1 0.0.0.0 UG 100 0 0 ens192
xxx.xxx.xxx.xx * 255.255.255.240 U 0 0 0 ens160
link-local * 255.255.0.0 U 1000 0 0 ens160
(x's in place of public IP address)
NAT Setup: I've sent an email to my ISP asking. From what I remember, I think it is 1 to 1.
I can provide any information requested, however, I don't understand the issue enough to provide relevant information now.
networking
edited May 16 at 19:02
asked May 16 at 18:15
Michael Hill
12
12
You'll need a route or arp in the same subnet (ie: no hardware in the way). Can you provide the output ofroute
on the machine and your gateway? What's your NAT setup? I think we'll need additional information.
â earthmeLon
May 16 at 18:47
add a comment |Â
You'll need a route or arp in the same subnet (ie: no hardware in the way). Can you provide the output ofroute
on the machine and your gateway? What's your NAT setup? I think we'll need additional information.
â earthmeLon
May 16 at 18:47
You'll need a route or arp in the same subnet (ie: no hardware in the way). Can you provide the output of
route
on the machine and your gateway? What's your NAT setup? I think we'll need additional information.â earthmeLon
May 16 at 18:47
You'll need a route or arp in the same subnet (ie: no hardware in the way). Can you provide the output of
route
on the machine and your gateway? What's your NAT setup? I think we'll need additional information.â earthmeLon
May 16 at 18:47
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037076%2fubuntu-will-not-respond-to-masqueraded-ip%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
You'll need a route or arp in the same subnet (ie: no hardware in the way). Can you provide the output of
route
on the machine and your gateway? What's your NAT setup? I think we'll need additional information.â earthmeLon
May 16 at 18:47