LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-02-2008, 05:50 AM   #1
Wynand1
Member
 
Registered: Mar 2004
Posts: 121

Rep: Reputation: 15
Arrow Easy Routing Question (Shorline & ADSL router)


Hi,

I've setup a machine with 2 network cards, setup Webmin and Shoreline firewall.

The one interface is 192.168.10.10 (the LAN side) and the other is 192.168.1.5 (the Internet side)

When I connect a computer with the following settings on the LAN side and a computer on the Internet side I can ping from the Lan computer to the internet computer without any problems.

Lan Computer
ip: 192.168.10.50
subnet: 255.255.255.0
gateway: 192.168.10.10

Internet Computer
ip: 192.168.1.50
subnet: 255.255.255.0
gateway: 192.168.1.5

But now , If I replace the internet computer with an ADSL router, The Lan computer cannot ping the ADSL router. Obviously a gateway problem. How do I get round this issue ? Has the answer anything to do with Masquerading? If so how must I configure Shoreline?
 
Old 09-02-2008, 11:11 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Its a firewalling and NAT issue, shorewall needs to allow the traffic between the two networks, and as the modem will not have a route back to the 192.168.10.0/24 network you need to NAT the traffic to 192.168.1.50 before it leaves internet computer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Accepting Shabang Scripts (Quick & Easy Question, Just Can't Find Answer) overbored Programming 3 03-24-2004 06:41 PM
DMZ and ADSL router question mazzo Linux - Networking 1 03-03-2004 02:36 PM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM
Configuring ADSL coonection using ADSL router... manu2004 Slackware 3 01-04-2004 04:42 PM
ADSL Router + Linux Router + LAN = HELP!!! linuxlois Linux - General 2 09-16-2003 08:24 AM

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

All times are GMT -5. The time now is 10:24 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