[Server-devel] XS 0.5 Second Attempt at eth1

Jerry Vonau jvonau at shaw.ca
Thu Dec 4 11:59:38 EST 2008


Jerry Vonau wrote:
> Reuben K. Caron wrote:
>> I too am having problems with DHCP (and ejabberd) on XS 0.5.
>>
>> Let me detail my steps
>>
>> Appended upgradeany- ran default install
>> Restarted
>> NICs were swapped.
>> Ran xs-swapnics
>>
>> Check var/log/messages found (snipet):
>>
>> Dec  4 09:36:58 schoolserver1 dhcpd: Listening on
>> LPF/lanbond0/00:00:00:00:00:00/172.18.96.0/19
>> Dec  4 09:36:58 schoolserver1 dhcpd: Sending on  
>> LPF/lanbond0/00:00:00:00:00:00/172.18.96.0/19
>> ----
>>
>> Dec  4 09:06:24 schoolserver1 dhcpd: No subnet declaration for lanbond0
>> (172.18.96.1).
>> Dec  4 09:06:24 schoolserver1 dhcpd: ** Ignoring requests on lanbond0. 
>> If this is not what
>> Dec  4 09:06:24 schoolserver1 dhcpd:    you want, please write a subnet
>> declaration
>> Dec  4 09:06:24 schoolserver1 dhcpd:    in your dhcpd.conf file for the
>> network segment
>> Dec  4 09:06:24 schoolserver1 dhcpd:    to which interface lanbond0 is
>> attached. **
>>
>> Reviewed dhcpd-xs.conf file: It did not have a declaration for 172.18.96.*
>>
>> I reviewed /etc/sysconfig/olpc-scripts/dhcpd.conf.1 - It did not match
>> dhcpd-xs.conf
>>
>> I ran ./network-config 1
>> I ran ./domain-config xs4.org (i know it isn't xs4 but I'm maintaining
>> domain for posterity)
>>
>> Rebooted.
>>
>> dhcpd-xs.conf now has the declaration for 172.18.96
>>
>> DHCP is started but still does not hand out an IP.
>>
>> Below are ethtool outputs:
>>
>> [root at schoolserver1 log]# ethtool eth1
>> Settings for eth1:
>>     Supported ports: [ TP ]
>>     Supported link modes:   10baseT/Half 10baseT/Full
>>                             100baseT/Half 100baseT/Full
>>                             1000baseT/Half 1000baseT/Full
>>     Supports auto-negotiation: Yes
>>     Advertised link modes:  10baseT/Half 10baseT/Full
>>                             100baseT/Half 100baseT/Full
>>                             1000baseT/Half 1000baseT/Full
>>     Advertised auto-negotiation: Yes
>>     Speed: 100Mb/s
>>     Duplex: Full
>>     Port: Twisted Pair
>>     PHYAD: 1
>>     Transceiver: internal
>>     Auto-negotiation: on
>>     Supports Wake-on: g
>>     Wake-on: d
>>     Current message level: 0x000000ff (255)
>>     Link detected: yes
>>
> 
> OK, is starting to look like the 1000baseT nics are having issues with 
> bonding, can you try the fix I proposed to Anna.
> 
OK, I'm tired, all on one line at the bottom /etc/modprobe.d/xs_bonding:
options lanbond0 mode=active-backup arp_interval=1000 
arp_ip_target=<ip-of-AP>

Jerry


More information about the Server-devel mailing list