Re: simple router

2008-08-05 Thread Alexander
Ok, I'll try crossover cable for 2pc connection, and brctl bridge for create same ip addresses in my eth1,2 devices, with wondershaper shaping and iptables nat. I think, it isn't difficult simple solution, because I no need configure my firewall on router, when I have DSL modem in router mode wit

Re: simple router

2008-08-05 Thread Cory Oldford
I recommend using the ppp daemon to handle the pppoe setup instead of the DSL modem. Most DSL modems can be put into bridge mode so the auth can be handled by an internal device(your debian firewall). This will allow you to have more control and therefore assist in troubleshooting issues. Thi

Re: Re: simple router

2008-08-05 Thread Alexander
Thanks for everybody, who are helping me, I've found my mistake, if I connect my local computer without switch, it isn't work, when I connect over switch everything works fine - shaping, routing. But, can I use my connections to router without switch, nic in local computer to nic in router onl

Re: simple router

2008-08-05 Thread Alex Samad
On Wed, Aug 06, 2008 at 12:18:21AM +0300, Alexander wrote: > On Tue, 2008-08-05 at 14:45 -0300, Ezequiel Larrarte wrote: > [snip] > is good enough for me. > DSL modem is working good, I have an internet connection on my eth0 > iface, but haven't nothing in my eth1 and eth2 ifaces, how to confi

Re: simple router

2008-08-05 Thread Wojciech Ziniewicz
2008/8/5 A n d i k a Triwidada <[EMAIL PROTECTED]>: > On Wed, Aug 6, 2008 at 1:59 AM, Alexander <[EMAIL PROTECTED]> wrote: >> I want create my debian home router: did you turned on ip forwarding ? -- Wojciech Ziniewicz Unix SEX :{look;gawk;find;sed;talk;grep;touch;finger;find;fl ex;unzip;head;t

Re: simple router

2008-08-05 Thread A n d i k a Triwidada
On Wed, Aug 6, 2008 at 1:59 AM, Alexander <[EMAIL PROTECTED]> wrote: > I want create my debian home router: > > |"dslmodem" wan ppp0|<-->|eth0<-->(eth1,eth2 - shaping router)|<---|"lan" > comp1,comp2| > > I've created some configurations: > -

Re: simple router

2008-08-05 Thread Alexander
On Tue, 2008-08-05 at 14:45 -0300, Ezequiel Larrarte wrote: > First, try a simple example: > eth0 - ur interface attached to ur dsl modem > address 10.0.0.1 > netmask 255.0.0.0.0 > network 10.0.0.0 > broadcast 10.255.255.255 > > eth1 - ur lan interface > address 192.168.1.1 > netmask 255.255.255.

Re: simple router

2008-08-05 Thread Ezequiel Larrarte
Alexander wrote: I want create my debian home router: |"dslmodem" wan ppp0|<-->|eth0<-->(eth1,eth2 - shaping router)|<---|"lan" comp1,comp2| I've created some configurations: 1. /etc/network/interfaces # This file de

Re: simple router

2008-08-05 Thread Ezequiel Larrarte
Alexander wrote: I want create my debian home router: |"dslmodem" wan ppp0|<-->|eth0<-->(eth1,eth2 - shaping router)|<---|"lan" comp1,comp2| I've created some configurations: 1. /etc/network/interfaces # This file de

Re: simple router

2008-08-05 Thread Shachar Or
On Tuesday 05 August 2008 21:59, Alexander wrote: > I want create my debian home router: > |"dslmodem" wan ppp0|<-->|eth0<-->(eth1,eth2 - shaping router)|<---|"lan" > | comp1,comp2| > > I've created some configurations: > > 1.

simple router

2008-08-05 Thread Alexander
I want create my debian home router: |"dslmodem" wan ppp0|<-->|eth0<-->(eth1,eth2 - shaping router)|<---|"lan" comp1,comp2| I've created some configurations: 1. /etc/network/interfaces # This file describes the network