networking perplexity

Dunn, George Jr dunng at uncw.edu
Tue Aug 7 16:10:09 UTC 2012


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="fqdn (resolvable)"
ifconfig_igb3="inet 192.168.34.2 netmask 255.255.255.0"
ifconfig_ix0="inet 192.168.33.2 netmask 255.255.255.0"
ifconfig_ix1="inet 192.168.32.2 netmask 255.255.255.0"
ifconfig_igb0="inet 152.x.x.x netmask 255.255.255.0"
defaultrouter="152.x.x.254"
sshd_enable="YES"
firewall_enable="NO"
#firewall_type="open"

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

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

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

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

# Synchronise time
ntpdate_enable="YES"
ntpdate_hosts="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 at freebsd.org]
Sent: Tuesday, July 31, 2012 12:21 PM
To: Dunn, George Jr
Cc: freebsd-net at 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 serious 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 interface 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 bring 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 different 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
>




More information about the freebsd-net mailing list