Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 1998 10:40:01 -0600 
From:      Roger Hall <RHall@esigroup.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Network help
Message-ID:  <2C10B557AEBDD011872500A0C933CDDB4D8739@mail.esigroup.com>

next in thread | raw e-mail | index | archive | help
In /stand/sysinstall I configured the network with an IP address of
192.30.2.125 (which is an internal virtual lan), a gateway of
205.218.124.1 and Name Server 205.218.124.2. The 205 addresses are
public internet address.

In /etc/rc.conf: 
network_interfaces="ep0 sl0 lp0"
ifconfig_ep0="inet 192.30.2.125 netmask 255.255.255.0"
ifconfig_sl0="inet 192.30.2.125 netmask 255.255.255.0"
ifconfig_sl0="inet 192.30.2.125 netmask 255.255.255.0" (that's right,
two sl's)
ifconfig_lo0="inet 192.30.2.125 netmask 255.255.255.0"
<further down>
defaultrouter="205.218.124.1"

But netstat -r is very short:

localhost	localhost
192.30.2	link#2

I can ping any 192 address, but 205 is unreachable. Obviously there is
no route, but why, and how to fix? And isn't that route supposed to say
"192.30.2.0"?

When I try "route add default gw" as described on page 319 of the
complete Freebsd, I get:

route: bad address: gw

TIA!

Roger Hall
Webmaster
http://www.esigroup.com
501.975.0840.296


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2C10B557AEBDD011872500A0C933CDDB4D8739>