Problem connecting with ADSL modem [ was Re: Hello List ]

Erik Norgaard norgaard at locolomo.org
Wed Nov 10 09:54:07 PST 2004


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


More information about the freebsd-questions mailing list