PDA

View Full Version : weird netstat -rn (confused)


projkt4
2005-05-05, 02:08 PM CDT
hey all, i installed this core3 box on a point top point network, its set up to be a fileserver and small scale apache server. i can see the page within the network but not outside. (also, this box cannot see the outside world) difficulty: point to point network with the sysadmin unable to tell me the dns server ip. i finally figgured it out but now i have this problem. i have drastically different netstat outputs from the windows machines on the network and the fedora box i just built. heres the outputs:

windows
-------------------------------------------------------------------------------------
dest mask gateway iface
------------------------------------------------------------------------------
0.0.0.0 0.0.0.0 169.254.0.254 169.254.0.6
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
169.254.0.0 255.255.0.0 169.254.0.6 127.254.0.6
169.254.0.6 255.255.255.255 127.0.0.1 127.0.0.1
169.254.255.255 255.255.255.255 169.254.0.6 127.254.0.6
224.0.0.0 224.0.0.0 169.254.0.6 127.254.0.6
255.255.255.255 169.254.0.254 169.254.0.6 127.254.0.6




core3
----------------------------------------------------------------
dest gateway genmask F iface
------------------------------------------------------------------------------
169.254.0.0 0.0.0.0 255.255.0.0 U eth0
169.254.0.0 0.0.0.0 255.255.0.0 U eth0
0.0.0.0 169.254.0.254 0.0.0.0 UG lo


any help would be appreciated. i just dont know how to change the routing tables in core3, or if that will even help me out here.

AndyGreen
2005-05-05, 02:18 PM CDT
The core3 routing table is looking fine.... if you assume that no interface has a valid IP. That being so nothing is wrong with the routing tables and you need to look further back up the chain.

What does

ifconfig -a

say? How did you set the IP, to be aquired via DHCP? Well it evidently didn't work. Also

cat /etc/sysconfig/networking/devices/ifcfg-eth0

is interesting.

projkt4
2005-05-05, 02:52 PM CDT
there is no dhcp server, the network administrator insists on having static ip's. therefore i set a static ip as the documentation directed. i thought i had set the ip tp169.254.0.254 and when pinging and directing webbrowsers to that ip i get a valid response.

currently i am not at the machine as i said i would be back once i had done the proper research. i feel somewhat over my head, but i still have to finish this setup. i found searching for the documentation pertaining to such a problem very difficult to find. if i were to blast the current network config. how would i go about starting from scratch?

AndyGreen
2005-05-05, 03:11 PM CDT
Get to root with

su -

then run

system-config-network

and see how you get on in there.

169.254.*.* is one of the few IP ranges you never want to set your network adapter to ;-) 192.168.*.* and 10.*.*.* are the usual suspects for local networks.

projkt4
2005-05-05, 03:31 PM CDT
i knew that the iprange that the net admin had set was weird, but he is pretty steadfast in his way of setting up the network. i couldnt convince him to use any other range. he read that point to point is the most secure for small buisiness like 3 years ago and has not been open to any other suggestions. this guy was convinced that i was a genious for using bash for everything i was doing. (i'm in no way a genious, i just like to see what is going on.)

i'' try using sytem-config-network, but i think thats what i ended up using last time and tried to set everything up through there. (note: i have been working in gentoo for the last six months and some of the differences in the two sytems is just downright confusing.)



thanks for all the help thus far.