Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2004 15:03:13 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        Ben Haysom <ben.haysom@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Hello List
Message-ID:  <41921FA1.8020701@locolomo.org>
In-Reply-To: <d014caa504111005436233e66f@mail.gmail.com>
References:  <d014caa5041110014539e5e831@mail.gmail.com> <200411101123.51095.Emanuel.Strobl@gmx.net> <d014caa504111002346af72538@mail.gmail.com> <200411100700.12410.m.hauber@mchsi.com> <d014caa504111005201fb69ebb@mail.gmail.com>	 <419219AA.6010108@locolomo.org> <d014caa504111005436233e66f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ben Haysom wrote:

> default router??
> My ISP IP address is 80.229.247.29.

OK, you have configured your external interface with a static ip, and
from the above line it appears to be wrong. The above ip is? your
assigned ip? or default router? or?

Most ISP assign ip dynamically. Try running this command:

# dhclient rl0

(rl0 is your external interface right?).

This should configure your external interface according to the ISP. If
things works, then edit your rc.conf, set

ifconfig_rl0="DHCP"

and remove the "defaultrouter" line. You can tweak dhclient by editing
/etc/dhclient.conf

Your ISP should provide you with the following information if you are
assigned a static ip:

your ip and netmask
default router ip (sometimes default gateway)
list of dns servers

ignoring the dns-servers, it would draw a better picture of your network
if you recreate your diagram attaching the assigned ip to each interface:

  INTERNET
     |
     |
    ISP
     |default router: ip xx.xx.xx.xx
     |
     |
 ADSLmodem
     |
     |
     |rl0:  ip xx.xx.xx.xx (DHCP?)
    FBSD
     |sis0: ip 192.168.0.xx (static)
     |
 MYNETWORK

You may experience problems using your box as a router if the external
ip is assigned dynamically.

Cheers, Erik

-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41921FA1.8020701>