ubuntu as router, 2 nics, 2 lans, outside lan can not connect to inside lanCannot ping localhost after a half day of uptimeUbuntu 14.04 Server operated as a WIFI-LAN-Router drops packets between LAN and WIFIMake router use Dns Server of PC inside LanUbuntu router with 2 NICs, traffic stops and I don't understand whycan't connected LAN with static gateway routerUbuntu can connect iphone's hotspot, but not Motorola routerConfigure Ubuntu with 3 NICs as gateway/routerUbuntu Router - 2 NICs - cannot ping Internet from internal networkUbuntu won't connect to Netgear routerUbuntu Router with different LAN subnets
What if (if any) the reason to buy in small local stores?
Asserting that Atheism and Theism are both faith based positions
Print last inputted byte
Why Choose Less Effective Armour Types?
Describing a chess game in a novel
Does the attack bonus from a Masterwork weapon stack with the attack bonus from Masterwork ammunition?
How to define limit operations in general topological spaces? Are nets able to do this?
Suggestions on how to spend Shaabath (constructively) alone
Practical application of matrices and determinants
Variable completely messes up echoed string
What is the relationship between relativity and the Doppler effect?
How can I wire 7 outdoor posts correctly?
Could Sinn Fein swing any Brexit vote in Parliament?
Is it correct to say "which country do you like the most?"
How to get the n-th line after a grepped one?
Help rendering a complicated sum/product formula
Calculate the frequency of characters in a string
Why is there so much iron?
If "dar" means "to give", what does "daros" mean?
How is the partial sum of a geometric sequence calculated?
Does .bashrc contain syntax errors?
Does multi-classing into Fighter give you heavy armor proficiency?
Unfrosted light bulb
Why is indicated airspeed rather than ground speed used during the takeoff roll?
ubuntu as router, 2 nics, 2 lans, outside lan can not connect to inside lan
Cannot ping localhost after a half day of uptimeUbuntu 14.04 Server operated as a WIFI-LAN-Router drops packets between LAN and WIFIMake router use Dns Server of PC inside LanUbuntu router with 2 NICs, traffic stops and I don't understand whycan't connected LAN with static gateway routerUbuntu can connect iphone's hotspot, but not Motorola routerConfigure Ubuntu with 3 NICs as gateway/routerUbuntu Router - 2 NICs - cannot ping Internet from internal networkUbuntu won't connect to Netgear routerUbuntu Router with different LAN subnets
How can I make LAN on 192.168.1.xxx (eth2) forward packets to other LAN (eth0) 10.42.0.19 (Win7 PC)?
Both the LANs are connected to Ubuntu PC. I can ping from PC connected to eth0 to PC connected to eth2. However, I can not ping from PC connected to eth2 to PC connected to eth0.
You can see tracert can complete on way but not other way. How to make that work?
This way from second Win7 works to first Win7:
C:Usersscott>tracert 192.168.200.36
Tracing route to WIN7 [192.168.200.36]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms SCOTT-P5QC [10.42.0.1]
2 <1 ms <1 ms <1 ms wr850g.hr.cox.net [192.168.1.1]
3 25 ms 24 ms 31 ms WIN7 [192.168.1.100]
4 18 ms 17 ms 40 ms WIN7 [192.168.200.36]
Trace complete.
This way from first Win7 to second Win7 is broken:
C:Usersscott>tracert 10.42.0.19
Tracing route to 10.42.0.19 over a maximum of 30 hops
1 52 ms 1 ms 1 ms hubrouter.westell.com [192.168.200.1]
2 43 ms 98 ms 45 ms 192.168.1.1
3 45 ms 105 ms 24 ms SCOTT-PC [192.168.1.102]
4 SCOTT-PC [192.168.1.102] reports: Destination protocol unreachable.
Trace complete.
From first Win7 to Ubuntu router works:
C:Usersscott>tracert 10.42.0.1
Tracing route to SCOTT-P5QC [10.42.0.1]
over a maximum of 30 hops:
1 105 ms <1 ms 4 ms hubrouter.westell.com [192.168.200.1]
2 19 ms 17 ms 33 ms 192.168.1.1
3 35 ms 34 ms 5 ms SCOTT-P5QC [10.42.0.1]
Trace complete.
netstat routes in Ubuntu router:
scott@scott-P5QC:~$ netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default wr850g.hr.cox.n 0.0.0.0 UG 0 0 0 eth2
10.42.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth2
Hand copy of LAN layout:

I have also posted this question at Ubuntu Forums
router ping
add a comment |
How can I make LAN on 192.168.1.xxx (eth2) forward packets to other LAN (eth0) 10.42.0.19 (Win7 PC)?
Both the LANs are connected to Ubuntu PC. I can ping from PC connected to eth0 to PC connected to eth2. However, I can not ping from PC connected to eth2 to PC connected to eth0.
You can see tracert can complete on way but not other way. How to make that work?
This way from second Win7 works to first Win7:
C:Usersscott>tracert 192.168.200.36
Tracing route to WIN7 [192.168.200.36]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms SCOTT-P5QC [10.42.0.1]
2 <1 ms <1 ms <1 ms wr850g.hr.cox.net [192.168.1.1]
3 25 ms 24 ms 31 ms WIN7 [192.168.1.100]
4 18 ms 17 ms 40 ms WIN7 [192.168.200.36]
Trace complete.
This way from first Win7 to second Win7 is broken:
C:Usersscott>tracert 10.42.0.19
Tracing route to 10.42.0.19 over a maximum of 30 hops
1 52 ms 1 ms 1 ms hubrouter.westell.com [192.168.200.1]
2 43 ms 98 ms 45 ms 192.168.1.1
3 45 ms 105 ms 24 ms SCOTT-PC [192.168.1.102]
4 SCOTT-PC [192.168.1.102] reports: Destination protocol unreachable.
Trace complete.
From first Win7 to Ubuntu router works:
C:Usersscott>tracert 10.42.0.1
Tracing route to SCOTT-P5QC [10.42.0.1]
over a maximum of 30 hops:
1 105 ms <1 ms 4 ms hubrouter.westell.com [192.168.200.1]
2 19 ms 17 ms 33 ms 192.168.1.1
3 35 ms 34 ms 5 ms SCOTT-P5QC [10.42.0.1]
Trace complete.
netstat routes in Ubuntu router:
scott@scott-P5QC:~$ netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default wr850g.hr.cox.n 0.0.0.0 UG 0 0 0 eth2
10.42.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth2
Hand copy of LAN layout:

I have also posted this question at Ubuntu Forums
router ping
add a comment |
How can I make LAN on 192.168.1.xxx (eth2) forward packets to other LAN (eth0) 10.42.0.19 (Win7 PC)?
Both the LANs are connected to Ubuntu PC. I can ping from PC connected to eth0 to PC connected to eth2. However, I can not ping from PC connected to eth2 to PC connected to eth0.
You can see tracert can complete on way but not other way. How to make that work?
This way from second Win7 works to first Win7:
C:Usersscott>tracert 192.168.200.36
Tracing route to WIN7 [192.168.200.36]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms SCOTT-P5QC [10.42.0.1]
2 <1 ms <1 ms <1 ms wr850g.hr.cox.net [192.168.1.1]
3 25 ms 24 ms 31 ms WIN7 [192.168.1.100]
4 18 ms 17 ms 40 ms WIN7 [192.168.200.36]
Trace complete.
This way from first Win7 to second Win7 is broken:
C:Usersscott>tracert 10.42.0.19
Tracing route to 10.42.0.19 over a maximum of 30 hops
1 52 ms 1 ms 1 ms hubrouter.westell.com [192.168.200.1]
2 43 ms 98 ms 45 ms 192.168.1.1
3 45 ms 105 ms 24 ms SCOTT-PC [192.168.1.102]
4 SCOTT-PC [192.168.1.102] reports: Destination protocol unreachable.
Trace complete.
From first Win7 to Ubuntu router works:
C:Usersscott>tracert 10.42.0.1
Tracing route to SCOTT-P5QC [10.42.0.1]
over a maximum of 30 hops:
1 105 ms <1 ms 4 ms hubrouter.westell.com [192.168.200.1]
2 19 ms 17 ms 33 ms 192.168.1.1
3 35 ms 34 ms 5 ms SCOTT-P5QC [10.42.0.1]
Trace complete.
netstat routes in Ubuntu router:
scott@scott-P5QC:~$ netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default wr850g.hr.cox.n 0.0.0.0 UG 0 0 0 eth2
10.42.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth2
Hand copy of LAN layout:

I have also posted this question at Ubuntu Forums
router ping
How can I make LAN on 192.168.1.xxx (eth2) forward packets to other LAN (eth0) 10.42.0.19 (Win7 PC)?
Both the LANs are connected to Ubuntu PC. I can ping from PC connected to eth0 to PC connected to eth2. However, I can not ping from PC connected to eth2 to PC connected to eth0.
You can see tracert can complete on way but not other way. How to make that work?
This way from second Win7 works to first Win7:
C:Usersscott>tracert 192.168.200.36
Tracing route to WIN7 [192.168.200.36]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms SCOTT-P5QC [10.42.0.1]
2 <1 ms <1 ms <1 ms wr850g.hr.cox.net [192.168.1.1]
3 25 ms 24 ms 31 ms WIN7 [192.168.1.100]
4 18 ms 17 ms 40 ms WIN7 [192.168.200.36]
Trace complete.
This way from first Win7 to second Win7 is broken:
C:Usersscott>tracert 10.42.0.19
Tracing route to 10.42.0.19 over a maximum of 30 hops
1 52 ms 1 ms 1 ms hubrouter.westell.com [192.168.200.1]
2 43 ms 98 ms 45 ms 192.168.1.1
3 45 ms 105 ms 24 ms SCOTT-PC [192.168.1.102]
4 SCOTT-PC [192.168.1.102] reports: Destination protocol unreachable.
Trace complete.
From first Win7 to Ubuntu router works:
C:Usersscott>tracert 10.42.0.1
Tracing route to SCOTT-P5QC [10.42.0.1]
over a maximum of 30 hops:
1 105 ms <1 ms 4 ms hubrouter.westell.com [192.168.200.1]
2 19 ms 17 ms 33 ms 192.168.1.1
3 35 ms 34 ms 5 ms SCOTT-P5QC [10.42.0.1]
Trace complete.
netstat routes in Ubuntu router:
scott@scott-P5QC:~$ netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
default wr850g.hr.cox.n 0.0.0.0 UG 0 0 0 eth2
10.42.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth2
Hand copy of LAN layout:

I have also posted this question at Ubuntu Forums
router ping
router ping
edited Jan 8 '13 at 17:10
Aditya
9,398125589
9,398125589
asked Jan 8 '13 at 16:11
ScottScott
213
213
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Solved by installing webmin. Then used it to reset iptables. Seriously, a great tool for administering the firewall.
webmin told me 2 rules were in the iptables which it could not understand, so I save iprules to a file, did a reset and all the 3 PCs can share files.
A defacto firewall is running all the time using iptables. So they must be modified.
scott@scott-P5QC:~$ sudo dpkg -i webmin_1.580_all.deb
Selecting previously unselected package webmin.
(Reading database ... 229686 files and directories currently installed.)
Unpacking webmin (from webmin_1.580_all.deb) ...
Setting up webmin (1.580) ...
Webmin install complete. You can now login to xxxxxxxxxxxxxxxxxxx
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
To show what it looks like:

Source - Ubuntu Geek
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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%2faskubuntu.com%2fquestions%2f237761%2fubuntu-as-router-2-nics-2-lans-outside-lan-can-not-connect-to-inside-lan%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
Solved by installing webmin. Then used it to reset iptables. Seriously, a great tool for administering the firewall.
webmin told me 2 rules were in the iptables which it could not understand, so I save iprules to a file, did a reset and all the 3 PCs can share files.
A defacto firewall is running all the time using iptables. So they must be modified.
scott@scott-P5QC:~$ sudo dpkg -i webmin_1.580_all.deb
Selecting previously unselected package webmin.
(Reading database ... 229686 files and directories currently installed.)
Unpacking webmin (from webmin_1.580_all.deb) ...
Setting up webmin (1.580) ...
Webmin install complete. You can now login to xxxxxxxxxxxxxxxxxxx
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
To show what it looks like:

Source - Ubuntu Geek
add a comment |
Solved by installing webmin. Then used it to reset iptables. Seriously, a great tool for administering the firewall.
webmin told me 2 rules were in the iptables which it could not understand, so I save iprules to a file, did a reset and all the 3 PCs can share files.
A defacto firewall is running all the time using iptables. So they must be modified.
scott@scott-P5QC:~$ sudo dpkg -i webmin_1.580_all.deb
Selecting previously unselected package webmin.
(Reading database ... 229686 files and directories currently installed.)
Unpacking webmin (from webmin_1.580_all.deb) ...
Setting up webmin (1.580) ...
Webmin install complete. You can now login to xxxxxxxxxxxxxxxxxxx
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
To show what it looks like:

Source - Ubuntu Geek
add a comment |
Solved by installing webmin. Then used it to reset iptables. Seriously, a great tool for administering the firewall.
webmin told me 2 rules were in the iptables which it could not understand, so I save iprules to a file, did a reset and all the 3 PCs can share files.
A defacto firewall is running all the time using iptables. So they must be modified.
scott@scott-P5QC:~$ sudo dpkg -i webmin_1.580_all.deb
Selecting previously unselected package webmin.
(Reading database ... 229686 files and directories currently installed.)
Unpacking webmin (from webmin_1.580_all.deb) ...
Setting up webmin (1.580) ...
Webmin install complete. You can now login to xxxxxxxxxxxxxxxxxxx
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
To show what it looks like:

Source - Ubuntu Geek
Solved by installing webmin. Then used it to reset iptables. Seriously, a great tool for administering the firewall.
webmin told me 2 rules were in the iptables which it could not understand, so I save iprules to a file, did a reset and all the 3 PCs can share files.
A defacto firewall is running all the time using iptables. So they must be modified.
scott@scott-P5QC:~$ sudo dpkg -i webmin_1.580_all.deb
Selecting previously unselected package webmin.
(Reading database ... 229686 files and directories currently installed.)
Unpacking webmin (from webmin_1.580_all.deb) ...
Setting up webmin (1.580) ...
Webmin install complete. You can now login to xxxxxxxxxxxxxxxxxxx
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
To show what it looks like:

Source - Ubuntu Geek
edited 19 mins ago
Glorfindel
2853513
2853513
answered Jan 9 '13 at 12:55
ScottScott
213
213
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f237761%2fubuntu-as-router-2-nics-2-lans-outside-lan-can-not-connect-to-inside-lan%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