Re: Dialup->Broadband. Changes? [Long]

From: Matt Mills (malozarpla_at_hotmail.com)
Date: 10/28/04


Date: 28 Oct 2004 06:49:17 GMT

Torfinn Ingolfsen <tingo@start.no> wrote in
news:41803725$1@news.broadpark.no:

> Matt Mills wrote:
>
>> I have the following relevant lines in my rc.conf:
>>
>> defaultrouter="192.168.0.5" # the ip address of the FreeBSD box
>
> Hmm, if this is on the FreeBSD box, this shold be the ip address of
> the (DSL) router.

OK, I will change this.

>> I didn't think I needed DHCP because I wanted to keep all the IP
>> addresses static, but that is how FreeBSD configured it, so *shrug*.
>> As
>
> You don't need DHCP if you don't want it. The (DSL) router will always
> have the ip address 192.168.1.1. Just configure your FreeBSD box with
> 192.168.1.2 and you are fine

Change my FreeBSD box's IP address to 192.168.1.2? Can you explain the
logic behind this? I thought I would need to keep it on the same subnet
as the rest of the LAN, otherwise how will it communicate.
 
>> far as I can see from the configuration of the router, the IP address
>> of it is 192.168.1.1. None of the Windows machines can ping this IP
>> address. The only thing they can do is resolve hostnames, because the
>> FreeBSD box runs pdnsd.
>
> How is the physical connection of your network?
> Is it something like this:
> DSL router <---> FreeBSD box <---> switch / hub <---> windows machines

Yes, I think that depicts it. The FreeBSD box has the router connected
to it. The FreeBSD box has another NIC which connects to a hub. All the
Windows boxes are connected to the hub.
 
> Also, you now have two subnets in your network:
> 192.168.1.0 which is the "transport" net between BSD gw and
> DSL router
> 192.168.0.0 whichis your "local LAN" net

OK.
 
> What ip addresses does the Windows machines have? Do they have the
> correct default gateway? (should be 192.168.0.5)

They all have a default gateway of 192.168.0.5, but won't this be wrong
if I change the IP address of the FreeBSD box to 192.168.1.2?

All the Windows boxes have an IP address like 192.168.0.x
 
> Hope this gives you a few pointers.

Well I'm about to leave for work, but hope to have another fiddle when I
get back. Thanks for the help!

-- 
Matt


Relevant Pages

  • Re: solaris
    ... >> router while I attempted to explain the router was ... >> of handling a CLI OS like FreeBSD? ... that these individuals would not be the target market ... > despite the fact that it should include a firewall. ...
    (freebsd-questions)
  • SSHD working in a funky fashion
    ... I have set up a desktop box with 3 dual port Intel NICs as a router, ... which function it seems to be performing just fine. ... I used to be able to ssh into the box from my Windows machines with no ... I'm not having this problem with my other FreeBSD 6.0 Release boxes, ...
    (freebsd-questions)
  • Re: unknown tcp connections to dawsonmail.com
    ... and external DSL connection. ... There are several Windoze boxes and my FreeBSD box. ... >different machines behind the DSL router? ...
    (freebsd-questions)
  • Re: Dialup->Broadband. Changes? [Long]
    ... As I just made very clear, I received a router, not a modem. ... which seemed to make the broadband connection work fine on the FreeBSD ... None of the Windows machines can ping this IP ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Dialup->Broadband. Changes? [Long]
    ... > 1) The first problem I encountered was that the FreeBSD box has no USB ... Do these cards work on FreeBSD? ... However I would suggest a router not a modem, so USB would not be needed. ... Buy a USB ADSL modem. ...
    (comp.unix.bsd.freebsd.misc)