Networking Forums

Networking Forums > Computer Networking > Linux Networking > Using a linux box as a router

Reply
Thread Tools Display Modes

Using a linux box as a router

 
 
LoneWolf
Guest
Posts: n/a

 
      01-01-2009, 03:58 PM
Hi,

I need to setup a box as a router, I have two internal networks one
10.0.0.0/8 and another 192.168.1.0/24 and to the internet i have 2
ADSL connections each one has one router, one of them is a cisco 800
series(i cant edit its config) and the other one is a thompson(cant
remember the model) the box has 4 NIC one for each internal network
and one for each router to the internet, what I need to do is to be
able to give internet access to both of the internal networks, the 192
only through the cisco router, and the 10 through both by selecting
packets with iptables, I tried this guide: http://linux-ip.net/html/adv-multi-internet.html
but I cant make it work.

I created the routing tables added the routes and the rules to route
with fwmark but its not working also added nat rules like in 10.2 on
the above link but its still not working any help will be apreciated.

thanks
 
Reply With Quote
 
 
 
 
David Schwartz
Guest
Posts: n/a

 
      01-01-2009, 05:08 PM
On Jan 1, 8:58*am, LoneWolf <lonewo...@gmail.com> wrote:
> Hi,
>
> I need to setup a box as a router, I have two internal networks one
> 10.0.0.0/8 and another 192.168.1.0/24 and to the internet i have 2
> ADSL connections each one has one router, one of them is a cisco 800
> series(i cant edit its config) and the other one is a thompson(cant
> remember the model) the box has 4 NIC one for each internal network
> and one for each router to the internet, what I need to do is to be
> able to give internet access to both of the internal networks, the 192
> only through the cisco router, and the 10 through both by selecting
> packets with iptables, I tried this guide:http://linux-ip.net/html/adv-multi-internet.html
> but I cant make it work.
>
> I created the routing tables added the routes and the rules to route
> with fwmark but its not working also added nat rules like in 10.2 on
> the above link but its still not working any help will be apreciated.
>
> thanks


Nobody's going to be able to help you when your entire problem
description consists of "it's not working" and "still not working".
What *specifically* doesn't work?

DS
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any Documentaion about How Linux Networking IP stack looklike between Linux PC (single NIC card) and Router with multiple Network interfaces (LAN and WAN)? santa19992000@yahoo.com Linux Networking 0 02-11-2007 09:19 PM
If I replace my existing Linksys box with Linux Router, how can I know what kind of Routing to be enabled on my Linux Box? santa19992000@yahoo.com Linux Networking 3 01-06-2005 01:18 PM
Noob linux questions. Vector Linux, tightvnc and a router tHatDudeUK Linux Networking 1 03-07-2004 03:18 PM
Linux box (ex-router) causing duplicates on Windows/Linux LAN Jamin Linux Networking 1 01-26-2004 12:08 PM
Linux Router/Firewall - Linux Client problem Fry Linux Networking 6 09-06-2003 02:25 AM



1 2 3 4 5 6 7 8 9 10 11