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

Routing Problem



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! 

##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



##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 


##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



##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





Thanks in advance! :)
Peter Welte


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



Reply to: