Date: Wed, 10 Nov 2004 14:47:39 +0000 From: Ben Haysom <ben.haysom@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Hello List Message-ID: <d014caa5041110064710691ebb@mail.gmail.com> In-Reply-To: <41921FA1.8020701@locolomo.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. That didn't work. I could ping my external IP 80.227.249.79 but not others. Error messages on first screen of main server saying that IP wasn't valid. Now I can't ssh across the internal network to it either.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d014caa5041110064710691ebb>