How do I automatically get the right default route?

kleptophobiac

[H]ardness Supreme
Joined
Sep 24, 2001
Messages
7,839
I have set up an OpenBSD 3.4 router, and everything works fine after I flush the routing table and add the correct default route. Is there some way to get this to set itself after acquiring an address from the ISP's DHCP server?

This is going to be a LAN party router, and I don't want to have to manually set this every time it boots, or whenever I move it to another location.

What can I do?
 

kleptophobiac

[H]ardness Supreme
Joined
Sep 24, 2001
Messages
7,839
great, I deleted my dhclient.conf and everything now functions perfectly. Go figure.
 
Top