Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

route table problems

Status
Not open for further replies.

salazar

Technical User
Aug 2, 2001
1
CA
hi, i have openbsd 2.9 installed on a p100. it is the server of my local network, and things like httpd, sendmail, etc. my isp (shawcable) requires that i use a dhcp client to get my ip number. recently (as in everything was fine before), a problem has formed, that i traced to my route table. when using a box from inside my lan to get to my ftp server, i get a socket error. as well, when trying to send a mail message, sendmail takes a painfully long time to send the message, but it _does_ get done. recieving email messages is done fine. i also notice that ssh sessions take a very long time to login from local machines.

at this point, when i check the route table:

[ryan@demongate ~]$ route show
Routing tables

Internet:
Destination Gateway Flags
default default U
default 24.66.170.1 UG
24.66.170.0 link#1 U
24.66.170.1 0:0:77:94:7f:58 UH
h24-66-170-24.du localhost UGH
localhost localhost UH

<very long pause>

192.168.1.0 link#2 U
192.168.1.1 0:0:e8:c0:f9:5a UH
192.168.1.32 0:aa:0:6b:17:8a UH
192.168.1.33 0:80:c8:2e:3f:fd UH
192.168.1.34 link#2 UH
192.168.1.255 link#2 UH

Internet6:
Destination Gateway Flags

<another very long pause>

::1 ::1 UH
fe80::%vr0 link#1 U
fe80::%ne1 link#2 U
fe80::%lo0 fe80::1%lo0 U
ff01:: ::1 U
ff02::%vr0 link#1 U
ff02::%ne1 link#2 U
ff02::%lo0 fe80::1%lo0 U

If i do a &quot;route flush&quot; it seems to fix all slowdowns and socket errors, and the route table shows right away. however my internet access goes down the drain and i need to run dhclient again (which in turn screws things up again) or manually

route add default 24.66.170.1

which also screws things up. i've checked the obvious things, the /etc/hosts file, which is fine, the hostname.if files, which are fine.

i've fiddled with the route table and dhclient for over 10 hours straight. anybody have any ideas?

- salazar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top