Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2010 08:31:16 +0530
From:      Sherin George <list@sheringeorge.co.cc>
To:        freebsd-questions@freebsd.org
Subject:   Re: Strange network issue in freebsd 8
Message-ID:  <7f14551c1001231901u6e8d0e52y2c064b3d7fe216b8@mail.gmail.com>
In-Reply-To: <20100123180227.Y50932@familysquires.net>
References:  <7f14551c1001230122q155fadadscf1575f9795fa871@mail.gmail.com> <20100123180227.Y50932@familysquires.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

Thanks for the reply.

Please see the rc.conf file given below.

===========
myserver# cat /etc/rc.conf

defaultrouter="XXX.XXX.XXX.241"
hostname="myserver.net"
ifconfig_em0="inet XXX.XXX.XXX.242  netmask 255.255.255.248"
nfs_client_enable="YES"
nfs_server_enable="YES"
rpcbind_enable="YES"
sshd_enable="YES"

zfs mount -a

inetd_enable="YES"
==========

Note: I have replaced first three octets.

--
Regards,
Sherin


On Sun, Jan 24, 2010 at 4:39 AM, Michael L. Squires <mikes@siralan.org>wrote:

> I am using an "em0" card with 7.2-STABLE, no problems.
>
> My guess is that there is something wrong with the ifconfig commands in
> rc.conf for the em0 card.  What do they look like?
>
> Mine are (DHCP via a Comcast cable modem)
>
> network_interfaces="fxp0 bge0 lo0"
> hostname="familysquires.net"
> ifconfig_fxp0="DHCP"
> ifconfig_em0="inet 10.1.5.1  netmask 255.255.255.0"
> gateway_enable="YES"
> firewall_enable="YES"
> firewall_type="simple"
> natd_enable="YES"
> natd_interface="fxp0"
> natd_flags=""
> # other
>
> For a system inside the firewall with a fixed IP I have
>
> defaultrouter="10.1.5.1"
> ifconfig_em0="inet 10.1.5.160 netmask 255.255.255.0"
> inetd_enable="YES"
>
> (System 1 connects to outside via a cable modem (fxp0); the em0 interface
> connects to a gigabit switch.  System 2 is on the switch and uses System 1
> as its router).
>
> Mike Squires
>
>



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