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

Re: Routing Problem



> Weird.
Yah! :)

> Firstly, can you ping hosts out on the
> 192.168.0. network?  
Yes, there is a computer at 192.168.0.16 that i am
able to ping.  

>Is your cabling okay?
It appears so.  The gateway computer (the one with the
ping problem) actually gets its ip address for eth0
(192.168.1.12 for the time being) from a dhcp server
on the school network ( 192.168.1.5 , aka the computer
i am trying to ping).

> are you using a crossover UTP or BNC
> or a hub/switch? Do they work?
I was using a crossover UTP (UTP- thats standard rj45
cat5 cable, right?). Just to make sure, though, i
tried with a couple regular cat5s, and a switch, but
still no luck. (same error as before).

The only other thing i could possibly think of is that
the ipfirewalling stuff is getting in the way of
sending packets?   I'm not sure, but in case it might
help, i thought i'd include output of `ipchians -L`:

Chain input (policy DENY):
target     prot opt     source               
destination           
ports
ACCEPT     all  ------  anywhere              anywhere
             n/a
ACCEPT     all  ------  localnet/24           anywhere
             n/a
DENY       all  ----l-  127.0.0.0/8           anywhere
             n/a
DENY       all  ----l-  server                anywhere
             n/a

Chain forward (policy DENY):
MASQ       all  ------  localnet              anywhere
             n/a

Chain output (policy DENY):
ACCEPT     all  ------  anywhere              anywhere
             n/a
ACCEPT     all  ------  anywhere             
localnet/24           n/a


Note: im not sure about this line (in the input
chain):
DENY       all  ----l-  server                anywhere
             n/a
but i tried removing it, and it seems to have no
effect anyway...

Well, thanks for all the help! :)
Peter Welte
p.s.- i'm kinda new to the mailing list, and not quite
sure if i should respond directly back to you, or the
whole lists, so i guess i'll send this msg to both. ;)


--- "C. Falconer" <criggie@ihug.co.nz> wrote:
> At 04:37 AM 8/12/00 -0700, you wrote:
> >##here is the out put of netstat -nr:
> >Kernel IP routing table
> >Destination  Gateway   Genmask  Flags   MSS Window
> irtt Iface
> >192.168.1.0  0.0.0.0  255.255.255.0  U    0 0 0
> eth0
> >192.168.0.0  0.0.0.0  255.255.255.0  U    0 0 0
> eth1
> 
> looks correct
> 
> >##In case it will help, here is output of ifconfig:
> >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:62 errors:0 dropped:0
> overruns:0 frame:0
> >           TX packets:62 errors:0 dropped:0
> overruns:0 carrier:0
> >           Collisions:0
> >
> >eth0      Link encap:Ethernet  HWaddr
> 00:20:35:22:86:45
> >           inet addr:192.168.1.12 
> Bcast:192.168.1.255 Mask:255.255.255.0
> >           UP BROADCAST NOTRAILERS RUNNING 
> MTU:1500 Metric:1
> >           RX packets:146 errors:0 dropped:0
> overruns:0 frame:0
> >           TX packets:6 errors:0 dropped:0
> overruns:0 carrier:0
> >           Collisions:0
> >           Interrupt:11 Base address:0xff80
> >
> >eth1      Link encap:Ethernet  HWaddr
> 00:A0:C9:0A:C3:FA
> >           inet addr:192.168.0.1 
> Bcast:192.168.0.255 Mask:255.255.255.0
> >           UP BROADCAST RUNNING MULTICAST  MTU:1500
> Metric:1
> >           RX packets:524 errors:0 dropped:0
> overruns:0 frame:0
> >           TX packets:604 errors:0 dropped:0
> overruns:0 carrier:0
> >           Collisions:4
> >           Interrupt:9 Base address:0xff40
> 
> That looks okay...
> 
> 
> >##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
> 
> No - just a clarification.  Thats you pinging the IP
> of eth0...
> 
> >##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
> 
> Weird.  Firstly, can you ping hosts out on the
> 192.168.0. network?  Is your 
> cabling okay?  are you using a crossover UTP or BNC
> or a hub/switch?  Do 
> they work?
> 
> 
> --
> Criggie
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Mail ? Free email you can access from anywhere!
http://mail.yahoo.com/



Reply to: