I am getting an errant routing table entry, that I can't seem to
prevent. It happens *every* time pump is restarted. I believe what is
happening is that my DSL modem/router has DHCP server capability, and
it is causing the routing mess. I verified with tcpdump that pump is
getting answers from 2 servers. The modem can be set to either bridged
or routed. The routed mode has the DHCP capabilites on the LAN port.
Right now it is set to bridged, and AFAICT there are no options to
turn on/off any DHCP settings when in bridged mode. So I think the
modem is misbehaving here and should not be responding to DHCP
requests. But in any case, I am thinking ipchains should be effective
in stopping this, but so far it doesn't.

Configuration:

 LAN=192.168.10.0 on eth1
 WAN=eth0, dynamic IP via DHCP.
 eth0:0=192.168.10.10
 DSL modem=192.168.10.15

The first routing table is 'normal'. The first row is really eth0:0.
On the second table, eth0:0 is gone (I guess this is as expected??),
and there is a new entry for 192.168.8.0. Ipchains is apparently
blocking the IP connection, but still there is something going on.

[root@feenix /tmp]# route -n
Kernel IP routing table
Destination    Gateway       Genmask         Flags Metric Ref  Use Iface
192.168.10.15  0.0.0.0       255.255.255.255 UH    0      0      0 eth0
192.168.10.1   0.0.0.0       255.255.255.255 UH    0      0      0 eth1
192.168.10.0   0.0.0.0       255.255.255.0   U     0      0      0 eth1
216.78.196.0   0.0.0.0       255.255.252.0   U     0      0      0 eth0
127.0.0.0      0.0.0.0       255.0.0.0       U     0      0      0 lo
0.0.0.0        216.78.196.1  0.0.0.0         UG    0      0      0 eth0

[root@feenix /tmp]# pump -k
[root@feenix /tmp]# pump 

[root@feenix /tmp]# route -n
Kernel IP routing table
Destination    Gateway       Genmask         Flags Metric Ref  Use Iface
192.168.10.1   0.0.0.0       255.255.255.255 UH    0      0      0 eth1
192.168.10.0   0.0.0.0       255.255.255.0   U     0      0      0 eth1
216.78.196.0   0.0.0.0       255.255.252.0   U     0      0      0 eth0
192.168.8.0    0.0.0.0       255.255.252.0   U     0      0      0 eth0
127.0.0.0      0.0.0.0       255.0.0.0       U     0      0      0 lo
0.0.0.0        216.78.196.1  0.0.0.0         UG    0      0      0 eth0

Logs of transaction:

Aug 8 18:46:45 localhost kernel: Packet log: input DENY eth0 PROTO=17
 192.168.10.10:68 255.255.255.255:67 L=328 S=0x00 I=1003 F=0x0000 T=64
  (#4) 

Aug 8 18:46:45 localhost kernel: Packet log: input DENY eth0 PROTO=17
 192.168.10.10:68 255.255.255.255:67 L=576 S=0x00 I=1005 F=0x0000 T=64
  (#4) 


I don't guess this is a big problem, but I hate loose ends. Is
ipchains failing, or something I am missing?


-- 
Hal B
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
--



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to