[Voyage-linux] Post-install connection issues
Ryan Harden
(spam-protected)
Wed Jun 4 03:13:50 HKT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Try this:
# cat /proc/sys/net/ipv4/ip_forward
If that is 0 then...
# echo 1 > /proc/sys/net/ipv4/ip_forward
If that helps, you'll need to add it to a script that runs at boot. It
basically tells the box that it's okay to take packets from one
interface and send them along through another.
/Ryan
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
- --
Ryan M. Harden, BS, KC9IHX Office: 217-265-5192
CITES - Network Engineering Cell: 630-363-0365
2130 Digital Computer Lab Fax: 217-244-7089
1304 W. Springfield email: hardenrm at uiuc.edu
Urbana, IL 61801
University of Illinois - Urbana/Champaign
~ - All your Base -
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIRZfutuPckBBbXboRAgz9AJ91NY+R/QF9MG/wys1s0EecSPCg3ACeL0zS
+LC2pNZ1iCSrqPbYGeKANa4=
=DrbA
-----END PGP SIGNATURE-----
More information about the Voyage-linux
mailing list