[FUG-BR] Erro ao reiniciar as interfaces

Ricardo rs.freebsd em gmail.com
Domingo Abril 3 18:03:18 BRT 2011


João

Estou reiniciando as interfaces do seguinte modo

/etc/rc.d/netif restart && /etc/rc.d/routing restart

Att,

Ricardo

Em 3 de abril de 2011 00:59, Joao Rocha Braga Filho
<goffredo em gmail.com> escreveu:
> 2011/4/2 Ricardo <rs.freebsd em gmail.com>:
>> Paulo
>>
>> Segue abaixo o ifconfig, o que acebei descobrindo é que se comentar os
>> alias da interface re0 ao reiniciar as interfaces o erro não acontece,
>> mas se colocar novamente o erro volta.
>
> Acho que está tentado colocar os endereços que já estão na interface.
>
> Como está reiniciando a interface?
>
>
> João Rocha.
>
>>
>> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>        options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
>>        ether xx:xx:xx:xx:xx:xx
>>        inet 10.28.0.1 netmask 0xffffff00 broadcast 10.28.0.255
>>        inet 10.28.0.120 netmask 0xffffffff broadcast 10.28.0.120
>>        inet 10.28.0.215 netmask 0xffffffff broadcast 10.28.0.215
>>        inet 10.28.0.121 netmask 0xffffffff broadcast 10.28.0.121
>>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>>        status: active
>> re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>        options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
>>        ether xx:xx:xx:xx:xx:xx
>>        inet 10.10.2.1 netmask 0xffffff00 broadcast 10.10.2.255
>>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>>        status: active
>> re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>        options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
>>        ether xx:xx:xx:xx:xx:xx
>>        inet 10.28.11.1 netmask 0xffffff00 broadcast 10.28.11.255
>>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>>        status: active
>> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
>>        ether 00:30:48:2f:24:ba
>>        inet 200.xx.xx.130 netmask 0xffffffc0 broadcast 200.xx.xx.191
>>        inet 200.xx.xx.132 netmask 0xffffffff broadcast 200.xx.xx.132
>>        inet 200.xx.xx.141 netmask 0xffffffff broadcast 200.xx.xx.141
>>        inet 200.xx.xx.133 netmask 0xffffffff broadcast 200.xx.xx.133
>>        inet 200.xx.xx.136 netmask 0xffffffff broadcast 200.xx.xx.136
>>        inet 200.xx.xx.142 netmask 0xffffffff broadcast 200.xx.xx.142
>>        inet 200.xx.xx.143 netmask 0xffffffff broadcast 200.xx.xx.143
>>        inet 200.xx.xx.144 netmask 0xffffffff broadcast 200.xx.xx.144
>>        inet 200.xx.xx.145 netmask 0xffffffff broadcast 200.xx.xx.145
>>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>>        status: active
>> em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>        options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
>>        ether xx:xx:xx:xx:xx:xx
>>        inet 192.168.9.1 netmask 0xffffff00 broadcast 192.168.9.255
>>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>>        status: active
>>
>>
>> Em 2 de abril de 2011 22:28, Paulo Henrique BSD Brasil
>> <paulo.rddck em bsd.com.br> escreveu:
>>> Ricardo, encaminha um ifconfig sem paramentros por favor !!
>>> Att Paulo Henrique.
>>> Em 2/4/2011 18:58, Ricardo escreveu:
>>>> Boa Noite lista
>>>>
>>>> Estou com o seguinte problema ao reiniciar as placas do meu servidor
>>>> Freebsd 7.1 (Firewall) apresenta a seguinte mensagem abaixo, procurei
>>>> na net mas não encontrei algo sobre este erro, abaixo esta a
>>>> configuração das interfaces no rc.conf
>>>>
>>>> Desde já agradeço
>>>>
>>>> Att,
>>>>
>>>> Ricardo
>>>>
>>>> Stopping network
>>>> :ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>>>> ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>>>> ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>>>> ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>>>> ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>>>> ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>>>> ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>>>> ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>>>> ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>>>> ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>>>> ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
>>>>
>>>>
>>>> # Interfaces de Rede
>>>> ifconfig_em0="inet 200.X.X.130 netmask 255.255.255.192"
>>>> ifconfig_em0_alias0="inet 200.X.X.132 netmask 255.255.255.255"
>>>> ifconfig_em0_alias1="inet 200.X.X.141 netmask 255.255.255.255"
>>>> ifconfig_em0_alias2="inet 200.X.X.133 netmask 255.255.255.255"
>>>> ifconfig_em0_alias3="inet 200.X.X.136 netmask 255.255.255.255"
>>>> ifconfig_em0_alias4="inet 200.X.X.142 netmask 255.255.255.255"
>>>> ifconfig_em0_alias5="inet 200.X.X.143 netmask 255.255.255.255"
>>>> ifconfig_em0_alias6="inet 200.X.X.144 netmask 255.255.255.255"
>>>> ifconfig_em0_alias7="inet 200.X.X.145 netmask 255.255.255.255"
>>>> ifconfig_em1="inet 192.168.9.1  netmask 255.255.255.0"
>>>> ifconfig_re0="inet 10.28.0.1 netmask 255.255.255.0"
>>>> ifconfig_re0_alias0="inet 10.28.0.120 netmask 255.255.255.255"
>>>> ifconfig_re0_alias1="inet 10.28.0.215 netmask 255.255.255.255"
>>>> ifconfig_re0_alias2="inet 10.28.0.121 netmask 255.255.255.255"
>>>> ifconfig_re1="inet 10.10.2.1 netmask 255.255.255.0"
>>>> ifconfig_re2="inet 10.28.11.1 netmask 255.255.255.0"
>>>> -------------------------
>>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>>
>>> -------------------------
>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>>
>> -------------------------
>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>
>
>
>
> --
> "Sempre se apanha mais com as menores besteiras. Experiência própria."
>
> http://jgoffredo.blogspot.com
> goffredo em gmail.com
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


Mais detalhes sobre a lista de discussão freebsd