Hello List

Erik Norgaard norgaard at locolomo.org
Wed Nov 10 06:03:26 PST 2004


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


More information about the freebsd-questions mailing list