Hi Philip
that does the trick - thanks. I now have my phones connected directly to
the net5501.
One slight wrinkle which I have not yet resolved, is that whilst adding the
three INT lines and the bridge line to user.conf does indeed enable the use
of a hub, it prevents access to eth0, which means I cannot use the web tool,
or even ping the external interface (192.168.0.124) whilst the bridge is
enabled. If I go in via the serial interface and uncomment those four
settings and reboot, eth0 is available again.
Here is the network config with the bridge enabled:
----------------------------------------------------
coral-pbx ~ # brctl show
bridge name bridge id STP enabled interfaces
br1 8000.000024cb57ed no eth1
eth2
eth3
coral-pbx ~ #
----------------------------------------------------
coral-pbx ~ # route -e
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 br1
192.168.0.0 * 255.255.255.0 U 0 0 0
eth0
224.0.0.0 * 240.0.0.0 U 0 0 0 br1
----------------------------------------------------
coral-pbx ~ # ifconfig
br1 Link encap:Ethernet HWaddr 00:00:24:CB:57:ED
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1056 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:44352 (43.3 KiB)
eth0 Link encap:Ethernet HWaddr 00:00:24:CB:57:EC
inet addr:192.168.0.124 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:826 (826.0 B) TX bytes:188 (188.0 B)
Interrupt:11 Base address:0xe100
eth1 Link encap:Ethernet HWaddr 00:00:24:CB:57:ED
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:5 Base address:0xe200
eth2 Link encap:Ethernet HWaddr 00:00:24:CB:57:EE
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:9 Base address:0xe300
eth3 Link encap:Ethernet HWaddr 00:00:24:CB:57:EF
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:12 Base address:0xe400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:739 errors:0 dropped:0 overruns:0 frame:0
TX packets:739 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:407766 (398.2 KiB) TX bytes:407766 (398.2 KiB)
coral-pbx ~ #
----------------------------------------------------
Do I need to add a route between the interfaces, or is there some Astlinux
config that I am
missing.
Thanks
regards
Mart
----- Original Message -----
From: "Philip A. Prindeville" <[email protected]>
To: "AstLinux Users Mailing List" <[email protected]>
Sent: Saturday, July 04, 2009 6:36 PM
Subject: Re: [Astlinux-users] Enabling Astlinux/Soekris hub
> Ok, so:
>
> INTIF="br1"
> INTIP=192.168.1.1
> INTNM=255.255.255.0
>
> BRIDGE1="eth1 eth2 eth3"
>
> You can't plug in 4 phones, because you will always need an external
> interface...
>
> You could plug in 3 phones directly, or 2 phones and then can a switch
> off port eth3.
>
> -Philip
>
>
> Martin Rogers wrote:
>> Hi Philip
>>
>> thanks for your reply. I have a couple of further questions if that is
>> OK.
>>
>> 1. I assume these changes need to be made in /rtc/rc.conf?
>>
>> 2. I currently have eth0 bound the external interface which plugged into
>> the
>> old hub; i.e.
>>
>> EXTIF="eth0"
>> EXTIP="192.168.0.124"
>> EXTGW="192.168.0.1"
>> EXTNM="255.255.255.0"
>>
>> and none of the INT settings are currently being used
>>
>> INTIF=""
>> INTIP=""
>> INTNM="255.255.255.0"
>> INT2IF=""
>> INT2IP=""
>> INT2NM="255.255.255.0"
>> INT3IF=""
>> INT3IP=""
>> INT3NM="255.255.255.0"
>>
>> If I make the change you recommend, what should the EXT settings be set
>> to?
>>
>> 3. If your suggestion allows me to plug two voip phones in (using eth0
>> and
>> eth1) , and I wanted later to plug four phones in (using all four eth
>> ports); what settings would I need to make?
>>
>> Many thanks for your time.
>>
>> regards
>> Mart
>>
>> ----- Original Message -----
>> From: "Philip A. Prindeville" <[email protected]>
>> To: "AstLinux Users Mailing List" <[email protected]>
>> Sent: Friday, July 03, 2009 11:43 PM
>> Subject: Re: [Astlinux-users] Enabling Astlinux/Soekris hub
>>
>>
>>
>>> INTIF=br1
>>> BRIDGE1="eth0 eth1"
>>>
>>> And that's it.
>>>
>>>
>>> Martin Rogers wrote:
>>>
>>>> Hi
>>>>
>>>> I am using a Soekris net5501 with Astlinux 0.6.4.
>>>> My current configuration involves a TDM400 and two VOIP phones. The
>>>> net5501 and the two phones interconnect via a separate hub (the
>>>> net5501 connects via its eth0 port).
>>>>
>>>> What I would like to do is ensble the other eth ports on the net5501
>>>> and use it as the hub so that all I need to do is plug the two voip
>>>> phones directly into the net5501.
>>>>
>>>> I would be grateful for any suggestions on how this can be achieved.
>>>>
>>>> Thanks
>>>> Mart
>>>>
>>>>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> [email protected].
------------------------------------------------------------------------------
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].