2.1.68+(well 75 at least?) routing, etc... reject

Tuomas Heino (tbittih@xgw.fi)
Mon, 29 Dec 1997 22:38:50 +0200 (EET)


Hmm the reject routes make me ponder...
iproute
Kernel routing table
Prefix TOS Cl Gateway Flags MTU Window IRTT Iface
193.94.113.201 00 0 * ! 0 0 0 *
255.255.255.255 00 0 * 0 0 0 eth0
193.64.41.3 00 0 * 0 0 0 ppp0
10.1.16.4 00 0 * ! 0 0 0 *
10.1.16/20 00 0 * 0 0 0 eth0
default 00 0 10.1.31.254 G 0 0 0 eth0
default 00 0 * 0 0 0 ppp0

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
193.94.113.201 - 255.255.255.255 !H 0 - 0 -
255.255.255.255 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
193.64.41.3 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.1.16.4 - 255.255.255.255 !H 0 - 0 -
10.1.16.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0
0.0.0.0 10.1.31.254 0.0.0.0 G 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0

(I'm NOT using IP masquerading at the moment on these puters - something equivalent running on ISP's puters...)
tcpdump -i ppp0
22:19:34.983327 10.1.16.4.1058 > 207.200.73.34.www: S 4453034:4453034(0) win 8192 <mss 1460> (DF)
22:19:41.532614 10.1.16.4.1058 > 207.200.73.34.www: S 4453034:4453034(0) win 8192 <mss 1460> (DF)
22:19:51.590553 207.200.73.34.www > 10.1.16.4.1058: S 54208001:54208001(0) ack 4453035 win 8694 <mss 966> [tos 0x8]

That means 10.1.16.4 can do dns and some other stuff but it won't be able to do everything needed for http to work...
The reject route to that external host (193.94.113.201) works well... I think ;)

Also if I delete reject routes the programs won't notice that before that "optimization" has "timed out"

ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:89236 error:0 dropped:0 over:0 frame:0
TX packets:89236 error:0 dropped:0 over:0 carrier:0 coll:0

eth0 Link encap:Ethernet HWaddr 02:60:8C:7A:60:64
inet addr:10.1.16.2 Bcast:10.1.31.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:87615 error:0 dropped:0 over:0 frame:0
TX packets:96166 error:0 dropped:0 over:0 carrier:0 coll:1
Interrupt:5 Base address:0x280

eth0:gw Link encap:Ethernet HWaddr 02:60:8C:7A:60:64
inet addr:10.1.31.254 Bcast:10.1.31.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 error:0 dropped:0 over:0 frame:0
TX packets:0 error:0 dropped:0 over:0 carrier:0 coll:0
Interrupt:5 Base address:0x280

ppp0 Link encap:Point-to-Point Protocol
inet addr:10.1.16.2 P-t-P:193.64.41.3 Mask:255.255.255.255
UP POINTOPOINT RUNNING MTU:1006 Metric:1
RX packets:1994 error:0 dropped:0 over:0 frame:0
TX packets:2471 error:0 dropped:0 over:0 carrier:0 coll:0

Package: iproute
Version: 961225-2