Need help in Ubuntu router with static IP
I have a Linksys modem+router and Ubuntu server 12.04. My LAN networking is connecting to the internet through the Linksys router. Now I enable NAT in Ubuntu Server. Only my LAN segment is ping able from the Ubuntu Server. I need to config the Static IP to the other end of the interface.
NOW....
Internet<=====>Linksys<====>LAN and Ubuntu Server
What I need...
Internet<===>Ubuntu Server<====>LAN.
IP address details...
Linksys router = 192.168.1.1(gateway) 122.165.67.x(static)
Ubuntu Server = eth0 -122.165.67.x eth1 - 192.168.1.20
I think I made some mistake in eth0, setting the same IP as the Static IP.
Ubuntu Server can ping 192.168.1.x network but not to the internet. Which IP address I should set for the eth0 interface
networking ubuntu router
add a comment |
I have a Linksys modem+router and Ubuntu server 12.04. My LAN networking is connecting to the internet through the Linksys router. Now I enable NAT in Ubuntu Server. Only my LAN segment is ping able from the Ubuntu Server. I need to config the Static IP to the other end of the interface.
NOW....
Internet<=====>Linksys<====>LAN and Ubuntu Server
What I need...
Internet<===>Ubuntu Server<====>LAN.
IP address details...
Linksys router = 192.168.1.1(gateway) 122.165.67.x(static)
Ubuntu Server = eth0 -122.165.67.x eth1 - 192.168.1.20
I think I made some mistake in eth0, setting the same IP as the Static IP.
Ubuntu Server can ping 192.168.1.x network but not to the internet. Which IP address I should set for the eth0 interface
networking ubuntu router
help.ubuntu.com/community/Router
– krowe
Nov 11 '14 at 6:54
add a comment |
I have a Linksys modem+router and Ubuntu server 12.04. My LAN networking is connecting to the internet through the Linksys router. Now I enable NAT in Ubuntu Server. Only my LAN segment is ping able from the Ubuntu Server. I need to config the Static IP to the other end of the interface.
NOW....
Internet<=====>Linksys<====>LAN and Ubuntu Server
What I need...
Internet<===>Ubuntu Server<====>LAN.
IP address details...
Linksys router = 192.168.1.1(gateway) 122.165.67.x(static)
Ubuntu Server = eth0 -122.165.67.x eth1 - 192.168.1.20
I think I made some mistake in eth0, setting the same IP as the Static IP.
Ubuntu Server can ping 192.168.1.x network but not to the internet. Which IP address I should set for the eth0 interface
networking ubuntu router
I have a Linksys modem+router and Ubuntu server 12.04. My LAN networking is connecting to the internet through the Linksys router. Now I enable NAT in Ubuntu Server. Only my LAN segment is ping able from the Ubuntu Server. I need to config the Static IP to the other end of the interface.
NOW....
Internet<=====>Linksys<====>LAN and Ubuntu Server
What I need...
Internet<===>Ubuntu Server<====>LAN.
IP address details...
Linksys router = 192.168.1.1(gateway) 122.165.67.x(static)
Ubuntu Server = eth0 -122.165.67.x eth1 - 192.168.1.20
I think I made some mistake in eth0, setting the same IP as the Static IP.
Ubuntu Server can ping 192.168.1.x network but not to the internet. Which IP address I should set for the eth0 interface
networking ubuntu router
networking ubuntu router
edited Feb 13 at 13:03
Hennes
59.3k793143
59.3k793143
asked Nov 11 '14 at 6:21
AnbuAnbu
790618
790618
help.ubuntu.com/community/Router
– krowe
Nov 11 '14 at 6:54
add a comment |
help.ubuntu.com/community/Router
– krowe
Nov 11 '14 at 6:54
help.ubuntu.com/community/Router
– krowe
Nov 11 '14 at 6:54
help.ubuntu.com/community/Router
– krowe
Nov 11 '14 at 6:54
add a comment |
1 Answer
1
active
oldest
votes
You need this:
Internet<===>Ubuntu Server<====>Linksys(as switch)<====>LAN.
First, set your Linksys to operate as switch (check the manual or something). Connect your internet cable to Ubuntu directly. Then connect Linksys to the other port on Ubuntu. Configure NAT on Ubuntu properly and you get what you want.
OK I got the Idea! Should I set the static IP directly to the Ubuntu interface?
– Anbu
Nov 11 '14 at 7:09
Yes, if your internet connection requires static ip, you must set it on the Ubuntu interface.
– Heavy
Nov 11 '14 at 7:11
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f838478%2fneed-help-in-ubuntu-router-with-static-ip%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need this:
Internet<===>Ubuntu Server<====>Linksys(as switch)<====>LAN.
First, set your Linksys to operate as switch (check the manual or something). Connect your internet cable to Ubuntu directly. Then connect Linksys to the other port on Ubuntu. Configure NAT on Ubuntu properly and you get what you want.
OK I got the Idea! Should I set the static IP directly to the Ubuntu interface?
– Anbu
Nov 11 '14 at 7:09
Yes, if your internet connection requires static ip, you must set it on the Ubuntu interface.
– Heavy
Nov 11 '14 at 7:11
add a comment |
You need this:
Internet<===>Ubuntu Server<====>Linksys(as switch)<====>LAN.
First, set your Linksys to operate as switch (check the manual or something). Connect your internet cable to Ubuntu directly. Then connect Linksys to the other port on Ubuntu. Configure NAT on Ubuntu properly and you get what you want.
OK I got the Idea! Should I set the static IP directly to the Ubuntu interface?
– Anbu
Nov 11 '14 at 7:09
Yes, if your internet connection requires static ip, you must set it on the Ubuntu interface.
– Heavy
Nov 11 '14 at 7:11
add a comment |
You need this:
Internet<===>Ubuntu Server<====>Linksys(as switch)<====>LAN.
First, set your Linksys to operate as switch (check the manual or something). Connect your internet cable to Ubuntu directly. Then connect Linksys to the other port on Ubuntu. Configure NAT on Ubuntu properly and you get what you want.
You need this:
Internet<===>Ubuntu Server<====>Linksys(as switch)<====>LAN.
First, set your Linksys to operate as switch (check the manual or something). Connect your internet cable to Ubuntu directly. Then connect Linksys to the other port on Ubuntu. Configure NAT on Ubuntu properly and you get what you want.
answered Nov 11 '14 at 7:06
HeavyHeavy
1136
1136
OK I got the Idea! Should I set the static IP directly to the Ubuntu interface?
– Anbu
Nov 11 '14 at 7:09
Yes, if your internet connection requires static ip, you must set it on the Ubuntu interface.
– Heavy
Nov 11 '14 at 7:11
add a comment |
OK I got the Idea! Should I set the static IP directly to the Ubuntu interface?
– Anbu
Nov 11 '14 at 7:09
Yes, if your internet connection requires static ip, you must set it on the Ubuntu interface.
– Heavy
Nov 11 '14 at 7:11
OK I got the Idea! Should I set the static IP directly to the Ubuntu interface?
– Anbu
Nov 11 '14 at 7:09
OK I got the Idea! Should I set the static IP directly to the Ubuntu interface?
– Anbu
Nov 11 '14 at 7:09
Yes, if your internet connection requires static ip, you must set it on the Ubuntu interface.
– Heavy
Nov 11 '14 at 7:11
Yes, if your internet connection requires static ip, you must set it on the Ubuntu interface.
– Heavy
Nov 11 '14 at 7:11
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f838478%2fneed-help-in-ubuntu-router-with-static-ip%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
help.ubuntu.com/community/Router
– krowe
Nov 11 '14 at 6:54