Re: D-Link DSL-300T

From: Uriah Heep (adrian)
Date: 02/25/05


Date: Fri, 25 Feb 2005 11:21:04 -0600

On 2005-02-17, Keve Nagy <no_spam@poliod.hu> wrote:
> Martin wrote:
>> Hi Keve,
>> I'm running a DSL-300T as a transparent bridge for my
>> ADSL connection. I've got FreeBSD 4.10 running as a gateway at home.
>> The set up was pretty much as in the FreeBSD Handbook for PPPoe.
>>
>> Regards,
>> Martin.
>
> Hi Martin,
> As far as I know, when you use the DSL-300T in bridge mode then the IP
> address the ISP assigns to you gets passed on to your FreeBSD machine
> connected to the device and does not get used by the modem. So in this
> configuration, how do you access the modem for configuration and
> maintenance?
> 1., Does it still have a private IP and you can connect to the device's
> web based configuration subsystem using that address?
> Or is it not possible to do configurations any more unless you reset the
> modem to the factory defaults somehow?
>
> 2., What do you get when you try to connect via http from outside of
> your network to port 80 of the IP address the ISP assigned to your
> connection? Do you get the configuration interface of the DSL-300T or
> the webserver listening on port 80 of your FreeBSD machine?
>
> Thanks!
>
> Keve

Strangely enough, I've been trying to do the same thing but couldn't get it
to work in bridge mode. While playing with it under Windows, we discovered
that if we set the 300T to normal PPPoA mode, with DHCP server on, then when
we connected a Windows machine to it then Windows got the external IP, and
a traceroute showed outgoing traffic was leaving via the internal IP of the
300T.

Trying this trick with BSD only partly worked - the interface on the BSD box
got the external IP along with the ISPs DNS server, plus a default route which
pointed to itself (external IP). Traffic would not go out or in.

In this instance, the client had paid for a fixed IP address, so I set things
up as follows:

Two NICs on the BSD box (4.11) one with a LAN IP, this IP became the gateway
for the LAN.

Second NIC had the static IP from the ISP, along with an alias on the same
network as the 300T. The 300T IP was set as the default gateway. Natd was set
up to use this interface for outgoing, as was the firewall.

Start it all up, and it works. LAN clients can browse the Internet, I can SSH
in to do admin stuff.

The next trick is to get this to work dynamically - something to override the
gateway set by the ISP and instead use the 300T address. It would be nice to
get it working properly as a bridge, but nothing I tried would work.

-Adrian



Relevant Pages

  • Re: Cannot setup ICS in Win2000
    ... > * I have followed every Guide that I can find to try and make a> internet connection from one computer to another. ... > - Intel PIII-550mhz ... > * The Ipconfig in CMD Shows for the Intel PIII-550> Windows 2000 IP Configuration ... Primarily the> Gateway is failed, But I have found no discriptions on how to use the> gateway. ...
    (microsoft.public.win2000.networking)
  • Re: Routing Problem
    ... Checked gateway on client is 132.149.2.75? ... This is my lan configuration.. ... On that time i can able to access the internet through mozilla. ... It gives "Connection timed Out" ...
    (comp.os.linux.security)
  • Re: D-Link DSL-300T
    ... > Hi Keve, ... > ADSL connection. ... I've got FreeBSD 4.10 running as a gateway at home. ... configuration, how do you access the modem for configuration and ...
    (comp.unix.bsd.freebsd.misc)
  • Can I assign multiple gateways for client machines to setup a failover internet connection?
    ... I have an existing internet connection which runs through the gateway ... LAN from the primary and plug it into the backup. ... configuration tab would this provide a basic failover system should the ...
    (microsoft.public.win2000.networking)
  • Re: Unable to establish internet connection w/server or desktops
    ... The default IP address of the router was 192.168.2.1 ... I entered the default gateway on the router as 192.168.2 which is the default gateways on the desktops. ... >> Windows IP Configuration ...
    (microsoft.public.windows.server.sbs)