ADSL thourgh hardware router to a linux box router

From: H. S. (g_reate_xcalibur_at_yahoo.com)
Date: 12/27/04


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



Relevant Pages

  • RE: new sdsl wan with existing adsl
    ... internet email etc on router 10.0.0.11 and second time for VPN on router ... or do i require second nic and run a connection to this. ... Microsoft CSS Online Newsgroup Support ... new sdsl wan with existing adsl ...
    (microsoft.public.windows.server.sbs)
  • Re: Ethernet config for net access query
    ... schedule made a call on the router, and the internal speaker was loud ... As Graham said its worth looking at a router, or may ponder if ADSL ... have to then enable the firewall rules to let you in to manage them to. ... Basically put one of those on an ADSL connection, ...
    (uk.comp.sys.mac)
  • Re: WiFi ADSL Modem Router thingy as a Router for a Cable Modem?
    ... >> I've Set up quite a few Systems for people who have an ADSL Broadband ... >> Internet Connection, using a normal, standard BT ADSL-Enabled Phone ... > The WAP without ADSL router has one ethernet port which connects to ... I thought that they (the ADSL Modem Router things) ...
    (uk.people.silversurfers)
  • Re: Losing Packets!
    ... line entry point) and router have been eliminated. ... Ping shows IP packet loss. ... You cannot be getting bad ADSL or you would likely be droppig the line. ... This show the connection speeds, ...
    (uk.telecom.broadband)
  • Re: Can you see anything not right here ?
    ... Modems (Dial Up or USb ADSL or whatever), ... IP address at the same time on both methods of connection. ... You can Access the Router Setup Page whether you are Online ... if that's using the same Account as your ADSL one. ...
    (uk.people.silversurfers)