Strange network issue in freebsd 8

Sherin George list at sheringeorge.co.cc
Sun Jan 24 03:01:18 UTC 2010


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 at 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
>
>


More information about the freebsd-questions mailing list