Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 11:09:29 -0400
From:      "Dunn, George Jr" <dunng@uncw.edu>
To:        Julian Elischer <julian@freebsd.org>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   RE: networking perplexity
Message-ID:  <1BB45AE37908DF40B3C2FAB9665E09453D39D51541@uncwexmb1.dcs.uncw.edu>
In-Reply-To: <50180621.8040501@freebsd.org>
References:  <1BB45AE37908DF40B3C2FAB9665E09453D3A14E179@uncwexmb1.dcs.uncw.edu>, <50180621.8040501@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the reply... Sorry for the delay..

10gb0 - 192.168.33.0/24
10gb1 - 192.168.32.0/24
igb0  - 152.x.x.x/24
igb3 - 192.168.34.0/24

all routed out through 152.x.x.254 gateway

rc.conf (attempted, hangs on boot):
hostname=3D"fqdn (resolvable)"
ifconfig_igb3=3D"inet 192.168.34.2 netmask 255.255.255.0"
ifconfig_ix0=3D"inet 192.168.33.2 netmask 255.255.255.0"
ifconfig_ix1=3D"inet 192.168.32.2 netmask 255.255.255.0"
ifconfig_igb0=3D"inet 152.x.x.x netmask 255.255.255.0"
defaultrouter=3D"152.x.x.254"
sshd_enable=3D"YES"
firewall_enable=3D"NO"
#firewall_type=3D"open"

# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev=3D"NO"

# Local services
zfs_enable=3D"YES"
powerd_enable=3D"YES"

# Network services
sshd_enable=3D"YES"
samba_enable=3D"YES"

# NFS
rpcbind_enable=3D"YES"
nfs_server_enable=3D"YES"
mountd_enable=3D"YES"
mountd_flags=3D"-r"
rpc_lockd_enable=3D"YES"
rpc_statd_enable=3D"YES"

# Synchronise time
ntpdate_enable=3D"YES"
ntpdate_hosts=3D"timeserver (fqdn)"


The workaround that works for a minute I comment out the above ugb3 config =
line and add the following in /usr/local/etc/rc.d

!/bin/csh

ifconfig igb3 inet 192.68.34.2 netmask 255.255.255.0
/etc/rc.d/routing restart


Thanks again!
Eddie
________________________________________
From: Julian Elischer [julian@freebsd.org]
Sent: Tuesday, July 31, 2012 12:21 PM
To: Dunn, George Jr
Cc: freebsd-net@freebsd.org
Subject: Re: networking perplexity

On 7/31/12 7:21 AM, Dunn, George Jr wrote:
> Hi,
>
> I am running Freebsd 9 with all current updates and am having some seriou=
s issues with the networking/routing stack.
>
> I have a machine that has 2 - 10gb interfaces and 2 - 1gb interfaces that=
 I wish to configure.
> The desired effect is to have all interfaces except one of the 1Gb ports =
to be broadcast only private address spaces for running nfs.
> I have one public fully routable address.
> Trying to configure the interfaces with rc.conf I am able to get the 10gb=
 interfaces and the public working.
> However when I add in the third private address on the other 1 gb interfa=
ce the whole stack seems to freak. It will completely hang the boot usually=
 requiring a hard power off and single user mode to fsck to reboot.
>
> I tried to work around by placing a script in the new rc.local place to b=
ring up the last interface and fix the routing table. It will boot then but=
 shortly after (15-45 mins) I lose all connectivity again. I have tried dif=
ferent ports on the box as well as several different switches with the same=
 result so I don't think it's a hardware issue per se.

doesn't sound particularly hairy..

can you draw a quick diag,with numbers
and then show your config files?

>
> I really just need some input! Any takers?
>
> Thanks in advance!
>
> Eddie
>
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>
>





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