[Asterisk-Users] very OT - basic newbie networking

Stewart Nelson sn at scgroup.com
Thu Dec 9 13:16:06 MST 2004


> 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.
2. Turn off iptables (at least for testing).
3. From a windows command prompt:
   route add 192.168.6.0 mask 255.255.255.0 192.168.5.10
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.
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 .

Good luck,

Stewart




More information about the asterisk-users mailing list