Re: Firewall duplicate route table entries
Bernd,
Thank you for your reply.
I have included more information:
(We're talking about kernel 2.2.20 as included with Debian
woody)
> the output of ifconfig and route would be helpful.
Output of ifconfig :
eth0 Link encap:Ethernet HWaddr
00:A0:C9:96:D9:71
inet
addr:192.168.168.27 Bcast:192.168.168.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:0
errors:0 dropped:0 overruns:0 carrier:0
collisions:0
txqueuelen:100
RX bytes:0 (0.0
b) TX bytes:0 (0.0 b)
Interrupt:10 Base
address:0x2000
eth1 Link encap:Ethernet HWaddr
00:50:BF:D8:B1:E1
inet
addr:192.192.192.27 Bcast:192.192.192.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:0
errors:0 dropped:0 overruns:0 carrier:0
collisions:0
txqueuelen:100
RX bytes:0 (0.0
b) TX bytes:0 (0.0 b)
Interrupt:5 Base
address:0x7c00
lo Link encap:Local
Loopback
inet
addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK
RUNNING MTU:3924 Metric:1
RX packets:20
errors:0 dropped:0 overruns:0 frame:0
TX packets:20
errors:0 dropped:0 overruns:0 carrier:0
collisions:0
txqueuelen:0
RX bytes:1352 (1.3
KiB) TX bytes:1352 (1.3 KiB)
sl0 Link encap:Serial Line IP
inet
addr:10.11.11.10 P-t-P:10.0.0.10 Mask:255.255.255.255
UP POINTOPOINT
RUNNING NOARP 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:10
RX bytes:0 (0.0
b) TX bytes:0 (0.0 b)
Kernel IP routing table
Destination
Gateway
Genmask Flags Metric
Ref Use Iface
10.0.0.10
0.0.0.0 255.255.255.255
UH 1
0 0 sl0
192.168.168.0
0.0.0.0
255.255.255.0 U
0
0 0 eth0
192.168.168.0
0.0.0.0
255.255.255.0 U
0
0 0 eth0
192.192.192.0
0.0.0.0
255.255.255.0 U
0
0 0 eth1
192.192.192.0
0.0.0.0
255.255.255.0 U
0
0 0 eth1
127.0.0.0
0.0.0.0
255.0.0.0
U 0
0 0 lo
0.0.0.0
0.0.0.0
0.0.0.0
U 1
0 0 sl0
* I am not concerned with sl0 right now.
> It might also show a problem in your routing setup (wrong
ip/netmask
> settings on the interfaces). You need to remove them with a
"run route del" in interfaces file.
Forgive my ignorance, but I am not familiar with a "run"
command - woody does not recognise
"run" either... and, yes, when I removed the "route add
-net..." entries recommended by Tony Mancill's
Linux Routers (1st Ed.) I now have only one entry per interface
(...!) - online education appreciated -
You mention "automatic route table entries"...where are these
generated from, ie. which script/process?
What I am wondering now is where the automatic route table entries are
generated from in the first place.
Bernd proposes to treat the symptom by deleting extra entries, am I being
naive to try and treat the
cause rather than treating the symptom? If this is kernel reality then I
must accept...
If the kernel automatically adds route table entries, does it do so with
interfaces loaded as modules also?
Anyhow I have included ifconfig & route info - but I don't think that
my ip/netmask combination is faulty.
Thanks for your concern.
Regards,
Shango
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.489 / Virus Database: 288 - Release Date: 10/06/2003
Reply to: