Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2004 18:54:01 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        Ben Haysom <ben.haysom@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem connecting with ADSL modem [ was Re: Hello List ]
Message-ID:  <419255B9.1000804@locolomo.org>
In-Reply-To: <d014caa5041110091622574045@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>	 <41921FA1.8020701@locolomo.org> <d014caa5041110064710691ebb@mail.gmail.com>	 <419231FB.1070808@locolomo.org> <d014caa5041110091622574045@mail.gmail.com>

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

> 80.229.247.29 is my static IP and also my default gateway.
> Subnet Mask : 255.255.255.255
> 
> INTERNET
>     |
>     |
>    ISP
>     |default router: ip 80.229.247.79 
>     |
>     |
> ADSLmodem
>     |
>     |
>     |rl0: 80.229.247.79 (DHCP but static)
>    FBSD
>     |sis0: ip 192.168.0.2 (static)
>     |
> MYNETWORK

1st: There is a typo in the diagram, you can't have the same IP as your
ISP. If this is indeed the case then this might explain things such as
why your server say it's invalid. Where in the diagram is 80.229.247.29?

2nd: The default router is the address where you send your traffic to
hosts that are not directly on your network. If you set this to yourself
then all traffic you send to the Internet newer leave your box.

On your BSD box default router should be the ip of your ISP. This is
normally set automatically by dhclient, or provided by your ISP to type in.

Just jo eliminate any confusion, since your network config has been
changed by running 'dhclient rl0', provide output from the following
commands:

# ifconfig -a
# route -v get default
# ping <defaultrouter>
# arp -a

<defaultrouter> should be shown by the route command. ping will try to
ping the router, alternatively you can try 'arping <defaultrouter>'
which will work even if ping is blocked (if you have arping installed).

and also,

# grep dhclient /var/log/messages

(you may remove redundant information, but besure to include the last
entries).

Check that dhclient is running. Stop it and run 'dhclient rl0' again and
see if things are any different. If so, send the changes also.

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?419255B9.1000804>