Hi Doctor,
Honestly, I have no idea on what you to setup. But it sounds like
eth0 as internet outbound
eth1 as internal 192.168.1.0 network, dnsmasq provide DHCP lease for
100-110 range.
not sure what eth2 do.
If you want 192.168.1.0 to reach internet via eth0, you missed a NAT
rule. Please read /README. It mention a nat.sh script for setting up nat.
Regards,
Punky
doctor drew wrote:
Hello all,
I've just gotten Voyage 0.6.0 installed (I know, it's beta, but I
needed a newer kernel) and after getting the 2 eth ports to come up, I
can't get the thing to pass traffic. Here's my setup:
DSL using PPPoE coming in on eth0, eth1 connected to a trendnet
switch. Eth2 is configured to hand out ip addresses using dnsmasq.
/etc/network/interfaces:
auto
lo
iface lo inet
loopback
auto
dsl-provider
iface dsl-provider inet
ppp
pre-up /sbin/ifconfig eth0
up
provider
dsl-provider
auto eth0
auto
eth1
iface eth1 inet
static
address
192.168.1.1
netmask 255.255.255.0
Important part of /etc/dnsmasq.conf:
dhcp-range=eth1,192.168.1.100,192.168.1.110,4h
My current route table:
Destination Gateway Genmask Flags Metric Ref
Use Iface
217.0.116.203 * 255.255.255.255 UH 0 0
0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0
0 eth1
default * 0.0.0.0 U 0 0
0 ppp0
So with this, I can:
a) Ping anything on either interface with no problem from the Voyage
console.
b) Resolve ip addresses from the switch on eth1 side, but not recieve
traffic. (I'm about 75% sure that my pings are getting out, but the
replies arent getting back)
I've been fighting w/ this for a while now (adding routes, editing
routes, deleting routes, using all of google's resources), what am I
doing wrong? Did I miss a Voyage config step or something more
obvious that I should have known and will kick myself for later?
Thanks for any help!
Drew
------------------------------------------------------------------------
_______________________________________________
Voyage-linux mailing list
[email protected]
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
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux