VLAN, virtual interface and routing question

I have a basic setup running good but I have some questions about the networking side of things.

My local subnet is 192.168.1.0 and freepbx is at 192.168.1.55 (eth0). I also created a vlan for my phones with the 10.10.10.0 subnet and freepbx is at 10.10.10.1 (eth0.500), DHCP server of freepbx is enabled for that subnet.

So I’m wondering, does freepbx is supposed to handle the routing for the 10.10.10.0 subnet? Right now freepbx can ping both subnets because it has a leg in each subnets. Can I use 10.10.10.1 as a gateway?

Thanks

Yes.

  • As long as the phones are on the same class - you don’t need a GW anyway.
    and your phones should not try and reach any other address then 10.10.10.1, but even if it did - the freepbx routing table would route it away according to its configuration.

Jonathan

I tried to ping a Google DNS from the freepbx cli like this ;

“ping -I eth0.500 8.8.8.8”

OUTPUT

PING 8.8.8.8 (8.8.8.8) from 10.10.10.1 eth0.500: 56(84) bytes of data.
^C
— 8.8.8.8 ping statistics —
13 packets transmitted, 0 received, 100% packet loss, time 12001ms

Am I missing something?

Yes.
What are you trying to do?
10.10.10.137 is calling who?
can you setup another phone on the same subnet (vlan) and see if an internal call is working?

Your sip trunk provider (i guess this is why you tried to ping google DNS…) IP - can the freepbx reach it?
does the 192.168.1.55 interface - is its GW is 192.168.1.254?
Is the freepbx default route goes to 192.168.1.254 GW?

Jonathan

192.168.1.55 has GW 192.168.1.254
Freepbx default GW is 192.168.1.254

Calls are fine. What I’m trying to confirm is that my phones can connect to the Internet to use XML apps.

I confirmed that the 10.10.10.0 DHCP offer includes the 10.10.10.1 as GW and DNS.

Right now I’m suspecting a switch configuration issue.

Can you ping other devices on 10.10.10.x from the PBX?

yes I can.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.