How can i modify ethernet interface for Asterisk?

I want Asterisk listen eth0 or eth0:0 or like this. How can i modify my Asterisk like this? Which file?
And normal situation asterisk listens which interface?All of interfaces in host PC?

You will have to specify what exactly you want listening on the interface. Asterisk has many IP based things in it (SIP, HTTP, AMI, IAX2, etc). Each of these have a configuration file where you can specify the IP address to bind on.

i use SIP and chan_sip module. I want Asterisk to listen eth0:0 interface.

chan_sip binds to the provided IP address using the “bindaddr” option in the general section.