[Voyage-linux] Post-install connection issues
Dave Rush
(spam-protected)
Wed Jun 4 12:47:08 HKT 2008
Oh good, I'm relieved that it was that simple, thank you.
I read it here, not from any Voyage linux documentation.
http://www.enterprisenetworkingplanet.com/nethub/article.php/3700026
Thanks again!
On 6/3/08, Kim-man 'Punky' TSE <punkytse at punknix.com> wrote:
> Hi Dave,
>
> I think you did it wrong, if eth0 is for outside internet and eth1 for
> internal. If you look at the original example in
> /etc/network/interfaces, it look like below:
>
> #auto wlan0
> #iface wlan0 inet static
> # address 10.1.10.1
> # netmask 255.255.255.0
> # broadcast 10.1.10.255
> # up iwconfig wlan0 essid voyage mode Master
> # up nat.sh wlan0 eth0 "10.1.10.0/24"
>
> replace wlan0 with eth1, and of cource remove iwconfig line.
>
> Regards,
> Punky
>
> Dave Rush wrote:
>> So I have 050 installed on my alix 2.c3.
>>
>> The alix can get out just fine, and I can install things with apt-get.
>> Pinging
>> from the alix works. but any devices connected behind it are unable to get
>> out
>> to even the 192.168.1.0 network set up by the PP router, which dhcps the
>> alix.
>>
>> Everything on the router is default. All I've done is configure the
>> interfaces
>> by uncommenting them, and added the nat script on connection of eth0. Did
>> I do
>> that right, or is there something else that needs to be done to allow
>> access to
>> the outside world? I don't see ANY documentation on this, or anyone else
>> with
>> the same problem so I'm thinking that I've somehow screwed up the one line
>> of
>> code I've typed. ;)
>> This would be a good entry for the wiki, the post-install config.
>>
>> Thanks in advance.
>>
>> -------------
>> voyage:~# cat /etc/network/interfaces
>> # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
>> # /usr/share/doc/ifupdown/examples for more information.
>> auto lo
>> iface lo inet loopback
>>
>> auto eth0
>> iface eth0 inet dhcp
>> up nat.sh eth0 eth1 "10.1.20.0/24"
>> auto eth1
>> iface eth1 inet static
>> address 10.1.20.1
>> netmask 255.255.255.0
>> broadcast 10.1.20.255
>>
>> auto eth2
>> iface eth2 inet static
>> address 10.1.30.1
>> netmask 255.255.255.0
>> broadcast 10.1.30.255
>>
>>
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>
>
> --
> Regards,
> Punky
>
> Voyage Solutions (http://solution.voyage.hk)
> * Embedded Solutions and Systems
> - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
> - Network Engineering, Development Platform and Consultation
>
>
>
>
More information about the Voyage-linux
mailing list