[Asterisk-Users] Multiple NICs on Asterisk box

Zoltan Szecsei zoltans at geograph.co.za
Thu Jul 14 01:25:58 MST 2005


James Oakley wrote:

>On Wednesday 13 July 2005 12:40 pm, Zoltan Szecsei wrote:
>  
>
>>Hi All,
>>Long time no chat ;-)
>>
>>Asterisk 1.0.9 (sometimes) won't authenticate IAX phones after re-boot
>>of SuSE 9.3 box
>>
>>I've traced the problem to be with the firewall and the fact that I have
>>2 NICs in the box. Now that I have opened port 4569 on both interfaces,
>>asterisk seems happy *but* does anyone know how to force SuSE 9.3 to
>>always bring up a specific NIC before the otherone?
>>
>>On reboot sometimes my onboard gigabit nic gets eth0 and sometimes the
>>pci 3COM gets eth0 and this causes havoc with another piece of SW I run.
>>    
>>
>
>Look at the ifcfg-* files under /etc/sysconfig/network. There should be one 
>for each of your interfaces. Add a persistent name to each of them like so:
>
>PERSISTENT_NAME='external'
>
>Call them whatever you want. Good choices are 'external', 'internal', etc.
>
>Now instead of eth0 and eth1 you have more logical names that will always 
>refer to the same interfaces no matter which order they came up in.
>
>Hope that helps,
>
>  
>
Thanks - I did notice this as I searched the archives before posting my 
question, but this wont help my other piece of SW that authenticates 
against the MAC address of the 1st NIC sensed  (see my last paragraph)  :-(
(now if macchager could be made to work reliably under SuSE 9.3, so that 
I can still use the nic for connections.......)

Zoltan

-- 

==================================
Geograph (Pty) Ltd
P.O. Box 31255
Tokai
7966
Tel:    +27-21-7018492
Fax:	+27-86-6115323
Mobile: +27-83-6004028
==================================





More information about the asterisk-users mailing list