Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-13-2005, 12:34 PM   #1
LQ Newbie
Registered: Nov 2005
Location: the Netherlands
Distribution: Ubuntu, Mandrake, DSL
Posts: 24

Rep: Reputation: 15
linux as router/gateway/firewall to dsl-router


I set up a network like this:


eth0 dsl_router int
eth1 linux_router int to switch
eth0 linux_router ext to dsl_router gateway
eth0 box gateway

I statically assigned ip-addresses to the box and the linux router
both it´s networkcards.
When I ping from box to linux router ( and both
of them work.
Pinging from linux_router to box is ok.
But only when I use:
´ifconfig eth1 down ifconfig eth0´ up the linux_router is able to ping to dsl_router (or otherwise to linux box).
I can bring up both interfaces, but I am only able to ping through one of them depending on which one I bring up first.

With my linux box I can reach both cards on linux_router, but not my dsl_router.

I run Suse 10.0 on linux_router, within yast configuration I configured routing with default gateway (this is correct I think for it is the gateway for boxes), ip-forwarding on

For now I used the speedtouch for routing, I figured out I can upload a template for the
speedtouch so it acts as bidged ethernet device.

But with both of them routing I can´t connect a box to the speedtouch, it must be possible
I think, does anyone has an idea?

Is two routers not wise to choose, or doesn´t matter? (hard configuration or so)

Should I have a different network e.g. 10.0.1.x (or so) for int network?

My main questions: How to give the box internet through the linux_router and through the speedtouch dsl_router?

Are there important configurations wich I could have forgotten?

I stopped the firewall and tried the ping´s again but still didn´t work. Or does the firewall have to run with some adapted configuration?


Last edited by sjoerdvvu; 12-13-2005 at 12:39 PM.
Old 12-15-2005, 12:06 AM   #2
Registered: Dec 2005
Location: karachi
Distribution: RedHat
Posts: 75

Rep: Reputation: 15
change your router subnet or your LAN subnet .in case of using same subnet to your lan and router you may have configure bride-utility
Old 02-24-2006, 10:56 PM   #3
LQ Newbie
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
i think so !


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
Small Linux Router/firewall behind D-Link Hardware router dleidlein Linux - Networking 6 04-30-2007 05:12 AM
Which gateway in router-firewall setup? hussar Linux - Networking 4 12-11-2005 11:11 AM
Yikes! No one can get Internet thru Linux gateway/router/firewall/DHCP Avatar Linux - Networking 14 02-11-2004 08:50 PM
What programs should I use for DHCP, firewall, and a gateway/router? Godsguitarist Linux - Networking 2 10-17-2003 06:30 PM
DLink DSL router/firewall adenardo Linux - Networking 5 06-13-2003 01:39 AM

All times are GMT -5. The time now is 04:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration