[ale] linux routing problem
michael mcdermott
m at wroth.com
Thu Dec 2 07:22:52 EST 1999
I have a box that I was using for masquerading with ipfwadm that for
some reason just decided that it was going to stop working (was a rh5.2
box) something with the routing of packets from the 10.1 to the rest of
the universe just stopped working after a few months of no worries.
the routing tables all look correct to me (ie it was exactly the same as
it was before it stopped working).
i have since upgraded the box to rh6.0 since i had that cd sitting
around and replaced both network cards. i have also switched over to
ipchains and I still have the same routing problem, all my cable is good
since I can ping and telnet into other boxes on the same segment and
to/from the nameserver (also on this segment with a nearly identicle
routing table i can telnet/ping the rest of the universe) but not off
my segement with this one box, i have since junked the box for now and
turned my other computer into the masquerading box as an experiment and
am having the same problem.
about 30 minutes ago it just decided to start working again and then it
just stopped.
this is getting really really irritating, i feel like i am missing
something fairly obvious here.
(this is fairly basic right off the ipchains howto, i havent bothered to
go any further with it since i dont seem to have any kind of network
connection yet)
#echo 1 > /proc/sys/net/ipv4/ip_forward
#ipchains -P forward DENY
#ipchains -A forward -i eth1 -j MASQ
# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
xxx.xxx.xxx.220 0.0.0.0 255.255.255.255 UH 0 0 0
eth1
10.1.1.1 0.0.0.0 255.255.255.255 UH 0 0 0
eth0
xxx.xxx.xxx.192 0.0.0.0 255.255.255.224 U 0 0 0
eth1
10.1.1.0 0.0.0.0 255.255.255.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 xxx.xxx.xxx.193 0.0.0.0 UG 0 0 0
eth1
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:4B:10:F9:53
inet addr:10.1.1.1 Bcast:10.1.1.1 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:822 errors:0 dropped:0 overruns:0 frame:0
TX packets:324 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0xec00
eth1 Link encap:Ethernet HWaddr 00:10:5A:26:F3:A2
inet addr:xxx.xxx.xxx.220 Bcast:xxx.xxx.xxx.220
Mask:255.255.255.224 UP BROADCAST RUNNING MULTICAST
MTU:1500 Metric:1
RX packets:5597 errors:0 dropped:0 overruns:0 frame:0
TX packets:6362 errors:0 dropped:0 overruns:0 carrier:14
collisions:21 txqueuelen:100
Interrupt:11 Base address:0xe480
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:2808 errors:0 dropped:0 overruns:0 frame:0
TX packets:2808 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
--
Is that you John Wayne? Is this me?
More information about the Ale
mailing list