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

Networking problems



Hi

I have problems networking, below I've listed output from relevant programs but when I ftp or telnet or rlogin the system fails. ftp just hangs and the 2 other comes with a no route error....

Any help would be appreciated since I can't get any further installing the system (I've installed the base system from disk and wan't to use the ftp method in dselect).

Karsten

PS: I've tried using the IP-address directly, so it's not a resolver problem.

ifconfig:
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0

eth0      Link encap:10Mbps Ethernet  HWaddr 00:20:AF:C8:2F:71
          inet addr:130.226.145.156  Bcast:130.226.145.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:5 errors:0 dropped:0 overruns:0
          Interrupt:10 Base address:0x300 

route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
localnet        *               255.255.255.0   U     0      0        1 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         130.226.145.1   0.0.0.0         UG    1      0        0 eth0

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
130.226.145.0   0.0.0.0         255.255.255.0   U     0      0        1 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         130.226.145.1   0.0.0.0         UG    1      0        0 eth0

netstat -i
Kernel Interface table
Iface   MTU Met  RX-OK RX-ERR RX-DRP RX-OVR  TX-OK TX-ERR TX-DRP TX-OVR Flags
lo     3584   0      0      0      0      0      0      0      0      0 BLRU
eth0   1500   0      0      0      0      0      8      0      0      0 BRU

/etc/init.d/network
#!	/bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
IPADDR=130.226.145.156
NETMASK=255.255.255.0
NETWORK=130.226.145.0
BROADCAST=130.226.145.255
GATEWAY=130.226.145.1
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route add -net ${NETWORK}
route add default gw ${GATEWAY} metric 1


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: