[asterisk-users] Binding asterisk to two static IPs

georg at riseup.net georg at riseup.net
Thu Oct 13 10:53:30 CDT 2011


> If your networking equipment supports VLAN, you could add a virtual lan
> to the existing ethernet device.
>
> vconfig add eth0 42
>
> Then assign an address to eth0.42.  You can use eth0 for your endpoints
> and eth0.42 for your provider or whichever way you want it.
>
> You do then, of course, need to turn trunking onto the switch port that
> is connected to eth0 and enable VLAN 1 and 42. You will need to make it
> permanent via system config scripts.
> For RedHat based distros, this includes /etc/sysconfig/network and
> /etc/sysconfig/network-scripts/ifcfg-eth0.42 files.
>
> I have never tried this with your exact situation, but it works well for
> me in other projects.

Just tested this, doesn't work. Asterisk ist still replying using the
main-address associated to the NIC.

:/

Georg




More information about the asterisk-users mailing list