Click to See Complete Forum and Search --> : routing problems


BRT
02-26-2001, 01:43 PM
I'm trying to set up a Debian machine on an existing NT network. I have it showing up in DHCP manager on the NT box and it will ping external ip addresses, but won't ping the NT server which is also the gateway. I've messed around in linuxconf trying to fix the problem, but it's still not working. Another thing that's weirding me out is that it will ping different debian sites (ones used for apt-get) but apt-get won't update. It just sits there. Can someone help me w/ these routing problems...if that's the cause of this malfunctioning network.

triplehex
02-26-2001, 04:13 PM
let's see the routing table

BRT
02-26-2001, 10:53 PM
Thanx for your response. How do I go about showing you the routing table? What file is it?

Fandelem
02-26-2001, 11:45 PM
as root, type route

JBrian
02-27-2001, 04:53 AM
If he can ping outside of the gateway but not the gateway itself, wouldn't that imply that the gateway wasn't responding to icmp?
My guess is that its an issue with the server. What exactly is the error that you get when trying to ping the gateway?
~Jeff

[ 27 February 2001: Message edited by: JBrian ]

BRT
02-27-2001, 11:00 AM
When I ping the server's hostname it says "host unreachable"
when I ping the ip it just loses all packets. I can't ping any machines on the local network.

JBrian
02-27-2001, 03:11 PM
Can anybody else on the lan ping the gateway? I don't know jack about NT but thats where I'd start. One idea is to make sure that TCP/IP is the default binding for the interface that connects the debian machine. Another is to make sure that your efforts aren't impeded by some sort of security measures. Can the NT box ping the debian box? Are you running through a hub or straight to the nic?
Im just a lil' baby networking student, not some guru, so take my words lightly....
~Jeff

jumpedintothefire
02-27-2001, 10:53 PM
Sounds like you may not a have a route to your lan.

The default route was set by the dhcp server,
so it has a route to everything else but your local lan.

You can ping the inet but not the local lan right?

try:
route add -net (lanaddress) netmask 255.255.?.? dev eth?

Replace the missing info with stuff for your lan

BRT
02-28-2001, 12:23 PM
Thanx so much for ya'lls help. I'm able to ping the gateway from any of the machines on the internal network except for the Debian machine. I'm unable to ping the Debian machine, too, but the funny thing is I can ping external addresses from the Debian box. I checked my routing tables and they are wrong, but i don't know how to fix them. I've been setting things up right using linuxconf, but alas the routing tables don't change. I remember using linuxconf a while back and remember the program asking to change settings or ignore etc. This doesn't happen when I'm using it this time. I guess the problem is that linuxconf isnt' doing any thing. How else can I change my routing tables w/o linuxconf...or better yet, get linuxconf to work properly.

Radar
02-28-2001, 12:45 PM
http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=13&t=003686

man route will tell you what you need to know. I had little luck with linuxconf. When I used route, things started going into place. I had a debian box on our NT network going through a 3Com router to the outside world. I used it as the default gateway and the destination.

It's best to use CLI and edit config files yourself and mess around until you start seeing results.

----------edit----------
don't forget to check resolv.conf for the correct nameservers and search domain

[ 28 February 2001: Message edited by: Radar ]

Lorithar
03-01-2001, 05:16 PM
as to apt-get not going anywhere, that will likely be a problem with getting through the firewall .. (I presume there is one) ...which will likely be resolved when you can see the local network.