-   Linux - Networking (
-   -   linux as router/gateway/firewall to dsl-router (

sjoerdvvu 12-13-2005 01:34 PM

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?


abakali 12-15-2005 01:06 AM

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

wantsleeping 02-24-2006 11:56 PM

i think so !

All times are GMT -5. The time now is 03:45 AM.