[Asterisk-Users] very OT - basic newbie networking

Asterisk asterisk at dotr.com
Thu Dec 9 15:36:30 MST 2004


that's all helpful advice: see below:

Stewart Nelson wrote:
>>I have a * box with 2 nics in the following setup:
>>
>>Internet
>>|
>>192.168.5.253 (firewall)
>>|
>>192.168.5.xxx network (gw 192.168.5.253)
>>|
>>192.168.5.10 (* nic 1)
>>192.168.6.10 (* nic 2)
>>|
>>192.168.6.xxx network
>>
>>The netmask for both networks is 255.255.255.0
>>
>>The 192.168.6.xxx networks has a 48 port switch solely for the use of 
>>cicso 7940 phones, the 192.168.5.xxx is for the pc's (winxp) / servers 
>>(2003) etc.
>>
>>I want to be able to access the phones (telnet/web etc) from the .5.xxx 
>>network, and I want the phones to be able to access the .5.xxx network.
> 
> 
> 1. Make sure IP forwarding is on.

1. It is.

> 2. Turn off iptables (at least for testing).

2. It is off.

> 3. From a windows command prompt:
>    route add 192.168.6.0 mask 255.255.255.0 192.168.5.10

3. Already done that, thanks.

> 4. Try to ping 192.168.6.10 from Windows.  If it fails,
>    recheck 1 and 2 above.  If ok, try to ping a phone.
>    If that fails, make sure phone has 192.168.6.10 as
>    its default gw.  If ok, you should now be able to access
>    the phone's web server from the Windows box.

4. Can do. Works like a charm. Access to telnet / web server not a 
problem. So, 192.168.5.xx -> 192.168.6.xx works fine.

> 5. To avoid having to add a route to every Windows box,
>    add a static route to your firewall, specifying
>    that 192.168.6.0/24 is reached via the LAN interface
>    using gw 192.168.5.10 .

5. I will look into that tomorrow, most useful advice.

> 
> Good luck,

Thanks.

However, even though I've added the 192.168.6.10 as the gw for the the 
192.168.6.xx network, the phones cannot access the 192.168.5.xx network 
(or the internet).

> 
> Stewart
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 




More information about the asterisk-users mailing list