From owner-freebsd-questions Mon Apr 15 14:10:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 1046237B421 for ; Mon, 15 Apr 2002 14:10:02 -0700 (PDT) Received: from socrates ([12.239.165.26]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020415211001.GSAC1083.rwcrmhc53.attbi.com@socrates> for ; Mon, 15 Apr 2002 21:10:01 +0000 Message-ID: <028701c1e4c1$ce03c860$32040101@socrates> From: "Charles Pelletier" Cc: References: <20020415173143.1292.qmail@web14404.mail.yahoo.com> <1018904235.1724.25.camel@turtle.lewiz.org> Subject: Re: ipv4 gateway Date: Mon, 15 Apr 2002 16:09:17 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > On Mon, 2002-04-15 at 17:31, milan nankov wrote: > > > > Hello, > > > > I receive the following error message when i try to set up the settings of my lancard my druging the freebsd setup: > > > > "Invalid ipv4 gataway address" (i receive by DHCP my host -> 212-116-134-198.evrocom.net > > > > domain -> evrocom.net > > > > *** gateway -> 212.116.135.1 > > > > name server -> 212.39.92.2 > > > > ip -> 212.116.134.198 > > > > mask -> 255.255.255.0 ) > > > > What is causing this error ? > > > > What's wrong with the gateway address(ip) ? as shown, nothing is wrong. but, i believe you might either have a typo somewhere or you set things up incorrectly. your /etc/rc.conf should have lines similar to these: gateway_enable="YES" hostname="JOBOB" ifconfig dc0 1.1.4.1 netmask 255.255.255.0 ifconfig_ed0="DHCP" ipf -Fa -f /etc/ipf.conf ipnat -f /etc/ipnat.conf ipmon -D /var/log/security kern_securelevel_enable="NO" nfs_reserved_port_only="NO" and you should have an /etc/resolv.conf search evrocom.net nameserver 212.39.92.2 also, your /etc/dhclient.conf should not have anything in it, usually nothing is needed. also, if you want to set up IPNAT'ing you need to configure that in your kernel config. also, it is highly possible that the card you have set up for internal usage was not picked up your installation. that also needs to be enabled in the kernel. ask and you shall receive. --charlie pelletier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message