[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Routing Problem



On Sat, Aug 12, 2000 at 04:37:50AM -0700, Peter Welte wrote
> hey there...
> 
> I have a linux computer that is supped to act as a
> gateway to a school network and the internet for some
> linux clients, but im having this problem right now
> where the gateway itself can't even ping another
> computer on the school network.  The gateway's ip
> address is 192.168.1.12 (er, that is eth0, which is
> connected to the school network) and the computer i am
> trying to ping is 192.168.1.5.  i cannot figure out
> what is wrong with my network setup, so if anyone out
> there could help me, i would greatly appreciate it! 
> 
[snip fairly normal looking ifconfig & route details]
> ##and here is me pinging an internal network comp:
> PING 192.168.1.12 (192.168.1.12): 56 data bytes
> 64 bytes from 192.168.1.12: icmp_seq=0 ttl=255
> time=2.6 ms
> 64 bytes from 192.168.1.12: icmp_seq=1 ttl=255
> time=1.5 ms
> 64 bytes from 192.168.1.12: icmp_seq=2 ttl=255
> time=1.5 ms
> 64 bytes from 192.168.1.12: icmp_seq=3 ttl=255
> time=1.5 ms
> 
> --- 192.168.1.12 ping statistics ---
> 4 packets transmitted, 4 packets received, 0% packet
> loss
> round-trip min/avg/max = 1.5/1.7/2.6 ms
> 

This is actually you pinging your own NIC according
to the ifconfig output you posted, so it proves little.

> 
> 
> ##And finally, here is me trying to ping the computer
> on the school network:
> PING 192.168.1.5 (192.168.1.5): 56 data bytes
> ping: sendto: Operation not permitted
> ping: wrote 192.168.1.5 64 chars, ret=-1
> ping: sendto: Operation not permitted
> ping: wrote 192.168.1.5 64 chars, ret=-1
> 
> --- 192.168.1.5 ping statistics ---
> 2 packets transmitted, 0 packets received, 100% packet
> loss
> 
> 

I'd check your ipchains/ipfwadm rules.

If you're running kernel 2.0.x, what does the output of
# ipfwadm -I -l -e
# ipfwadm -O -l -e
# ipfwadm -F -l -e

look like?

If you're running kernel 2.2.x, what does the output of
# ipchains -L -v

look like?


John P.
-- 
huiac@camtech.net.au
john@huiac.apana.org.au
http://www.mdt.net.au/~john Debian Linux admin & support:technical services



Reply to: