Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-02-2004, 06:16 PM   #1
LQ Newbie
Registered: Jan 2004
Posts: 9

Rep: Reputation: 0
Unhappy Can't get Debian routing working!

I am having a lot of trouble getting routing working on my Debian box.

x86 architecture
no X windows
2 ethernet cards. (both working under linux)
eth0 -> internet
eth1 -> dhcpd (working) for local network.
2.2 kernel

when I try to get ipchains up and running, I get the following message:

'ipchains: Protocol not available'

everything I've read has said to make sure that ipchains is compiled into the kernel. I do not know how to do this, although by default it should be on.

Once this is fixed, the box is completed. Any help would be appreciated.


Old 02-03-2004, 05:48 AM   #2
Registered: Feb 2004
Location: 50N 3E
Distribution: Gentoo
Posts: 64

Rep: Reputation: 15
you don't need ipchains (or the newer/better iptables) in your kernel or modules to do routing.

However, as soon as you want to do more than pure routing (select WHAT to route, i.e. firewalling) you need either iptables or ipchains.
Since you still have an old 2.2 kernel you'll have to go with ipchains.

first make sure that your box is in effect routing the trafic, and not just listening on both eths.
cat /proc/sys/net/ipv4/ip_forward
if it sais 0, you're not forwarding (routing). to correct this, do
echo 1 > /proc/sys/net/ipv4/ip_forward
And probably add this to your start-up scripts.

I can't help you with the ipchains setup (since I only know iptables)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
routing in debian kernelvn Linux - Networking 5 06-30-2005 03:42 AM
Simple Routing - not working jsinfcva Linux - Networking 5 12-15-2004 09:08 PM
IP Forwarding/Routing not working in Fedora 2 zeroGsa Linux - Networking 7 06-26-2004 04:16 AM
No Routing table in debian tbartolucci Linux - Networking 2 06-18-2004 10:20 AM
ip routing table. getting network cards working hamish Linux - Networking 2 11-30-2003 05:58 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration