LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-13-2005, 12:34 PM   #1
sjoerdvvu
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


Hello,

I set up a network like this:

dsl_(speedtouch-router)-----linux_router-----switch-----box

eth0 dsl_router int 10.0.0.138
eth1 linux_router int 10.0.0.161 to switch
eth0 linux_router ext 10.0.0.151 to dsl_router gateway 10.0.0.138
eth0 box 10.0.0.150 gateway 10.0.0.161
netmasks 255.255.255.0

I statically assigned ip-addresses to the box and the linux router
both it´s networkcards.
When I ping from box to linux router (10.0.0.151 and 10.0.0.161) 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 10.0.0.161 (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?

Thanks!

Last edited by sjoerdvvu; 12-13-2005 at 12:39 PM.
 
Old 12-15-2005, 12:06 AM   #2
abakali
Member
 
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

http://www.debian.org/doc/manuals/se...dge-fw.en.html
 
Old 02-24-2006, 10:56 PM   #3
wantsleeping
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
i think so !
 
  


Reply



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

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

All times are GMT -5. The time now is 07:48 PM.

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