ADSL thourgh hardware router to a linux box router
From: H. S. (g_reate_xcalibur_at_yahoo.com)
Date: 12/27/04
- Previous message: Michael Heiming: "Stats comp.os.linux.networking (last 7 days)"
- Next in thread: Robert Welz: "Re: ADSL thourgh hardware router to a linux box router"
- Reply: Robert Welz: "Re: ADSL thourgh hardware router to a linux box router"
- Reply: Michael Buchenrieder: "Re: ADSL thourgh hardware router to a linux box router"
- Reply: Clive Dove: "Re: ADSL thourgh hardware router to a linux box router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 26 Dec 2004 19:44:59 -0500
Hi,
Currently I have an ADSL connection whose CAT5 cable goes to my Linux
box running Debian and acting as a router. The CAT5 cable from the
second NIC of this computer routers goes to a switch to which my home
LAN computers are connected. The linux router is running iptables in
which internal interface INTIF is eth0 (which connects to the switch)
and external interface EXTIF is ppp0. The script does not depend on my
IP which I get from my ISP (new one for every connection).
I am considering experimenting by connecting the ADSL's CAT5 cable to
the WAN port of a hardware router (USR 8054) and connecting the
USR8054's one output (LAN) to the NIC of the linux router. Basically, I
am considering inserting the USR8054 router between the ADSL and the
linux router.
In this new scenario, will my current iptables work? Or, will I need to
make any changes? My router table has this:
> /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
w.y.x.z 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 w.y.x.z 0.0.0.0 UG 0 0 0 ppp0
where "w.x.y.z" is the IP I get from my ISP using PPPoE. As you can see,
my internal network is 192.168.0.abc. And eth1, the NIC currently
connected to the ADSL modem, is on the network 192.168.1.abc.
Thanks,
->HS
- Previous message: Michael Heiming: "Stats comp.os.linux.networking (last 7 days)"
- Next in thread: Robert Welz: "Re: ADSL thourgh hardware router to a linux box router"
- Reply: Robert Welz: "Re: ADSL thourgh hardware router to a linux box router"
- Reply: Michael Buchenrieder: "Re: ADSL thourgh hardware router to a linux box router"
- Reply: Clive Dove: "Re: ADSL thourgh hardware router to a linux box router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|