Alex,
Easiest way is to reserve an IP for the machine in your DHCP server
utilizing the servers MAC address.
Assuming your router is linux it would look like this:
host AsteriskServerName{
hardware ethernet 00:00:00:aa:aa:aa;
*fixed*-address 192.168.0.160;
}
Mike
Alex @ Kovasys Inc. wrote:
Hello
Just wondering if anyone can help:
I am trying to bind a local Linux machine to a fixed local IP address
(e.g. 192.168.0.160) -- so that it does not change an IP every time I
restart it.
Any idea how I can do it? Thanks.
--
Mike Ashton
Quality Track Intl
Ph: 647-722-2092 x 301
Cell: 416-527-4995
Fax: 416-352-6043
QTI CONFIDENTIAL AND PROPRIETARY INFORMATION
The contents of this material are confidential and proprietary to Quality Track
International, Inc.
and may not be reproduced, disclosed, distributed or used without the express
permission of an authorized representative of QTI.
Use for any purpose or in any manner other than that expressly authorized is
prohibited.
If you have received this communication in error, please immediately delete it
and all copies, and promptly notify the sender.
begin:vcard
fn:Mike Ashton
n:Ashton;Mike
org:Quality Track Intl
adr:;;63 Kenpark Ave;Brmpton;ON;L6Z 3L4;Canada
email;internet:[EMAIL PROTECTED]
title:CTO
tel;work:905-840-4995
tel;cell:416-527-4995
x-mozilla-html:FALSE
url:http://www.QualityTrack.com
version:2.1
end:vcard